Comparison
patch vs patch-ng vs unidiff
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Library to parse and apply unified diffs
Likely abandoned. No release or commit for years (last release over 10 years ago).
$
pip install patchLibrary to parse and apply unified diffs.
Maintained. Last release 7 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install patch-ngUnified diff parsing/metadata extraction library.
Maintained. Last release 3 months ago, commits in 5 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install unidiffIn short
- patch looks abandoned: avoid it for new projects.
- unidiff is the most used: 31.1M downloads a month, 6.0× more than patch-ng.
- unidiff also has the best Pythie’s Index (59).
- patch-ng is growing fastest: downloads +11% over the last month.