Comparison
patch vs patch-ng vs unidiff 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.
Maintained. Last release 3 months ago, commits in 5 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install unidiffA 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.
- 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.
Side by side
| Metric | patch | patch-ng | unidiff | whatthepatch |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | Pythie’s Index: 41 | Pythie’s Index: 59 | Pythie’s Index: 20 |
| Verdict | Likely abandoned | Maintained | Maintained | Low maintenance activity |
| Downloads / month | 791.7K | 5.2M | 31.1M | 1.6M |
| Downloads, month over month | -3% | +11% | +3% | -13% |
| GitHub stars | 123 | 41 | 286 | 77 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 21 | 26 | 120 | 25 |
| Last release | Feb 13, 2016 | Apr 23, 2026 | Sep 15, 2026 | Nov 16, 2024 |
| Releases, 12 months | 0 | 1 | 2 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 | 5 / 26 | 0 / 26 |
| Recent contributors | 5 | 11 | 11 | 14 |
| First release | May 2015 | Oct 2019 | Dec 2014 | Dec 2012 |
| Python versions | – | 3.6 – 3.8 | 3.9 – 3.13 | 3.9 – 3.13 |
| License | unknown | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.