Comparison
patch vs patch-ng vs unidiff2 vs whatthepatch
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.
Low maintenance activity. Last release 13 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install unidiff2A patch parsing and application library.
Low maintenance activity. Last release over 2 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install whatthepatchIn short
- patch looks abandoned: avoid it for new projects.
- patch-ng is the most used: 5.2M downloads a month, 3.2× more than whatthepatch.
- patch-ng also has the best Pythie’s Index (41).
- unidiff2 is growing fastest: downloads +268% over the last month.
- unidiff2 is the newcomer: first released Oct 2025.
Side by side
| Metric | patch | patch-ng | unidiff2 | whatthepatch |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | 41 |