Comparison
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.
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
- 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-ng | unidiff |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 41 | Pythie’s Index: 59 |
| Verdict | Maintained | Maintained |
| Downloads / month | 5.2M | 31.1M |
| Downloads, month over month | +11% | +3% |
| GitHub stars | 41 | 286 |
| Stars, last 7 days | – | – |
| Direct dependents | 26 | 120 |
| Last release | Apr 23, 2026 | Sep 15, 2026 |
| Releases, 12 months | 1 | 2 |
| Weeks with commits | 0 / 26 | 5 / 26 |
| Recent contributors | 11 | 11 |
| First release | Oct 2019 | Dec 2014 |
| Python versions | 3.6 – 3.8 | 3.9 – 3.13 |
| License | MIT | MIT |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.