Comparison
patch-ng vs unidiff2
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.
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 unidiff2In short
- patch-ng is the most used: 5.2M downloads a month, 20× more than unidiff2.
- 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-ng | unidiff2 |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 41 | Pythie’s Index: 30 |
| Verdict | Maintained | Low maintenance activity |
| Downloads / month | 5.2M | 264.1K |
| Downloads, month over month | +11% | +268% |
| GitHub stars | 41 | 1 |
| Stars, last 7 days | – | – |
| Direct dependents | 26 | 1 |
| Last release | Apr 23, 2026 | Oct 30, 2025 |
| Releases, 12 months | 1 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 |
| Recent contributors | 11 | 18 |
| First release | Oct 2019 | Oct 2025 |
| Python versions | 3.6 – 3.8 | 3.7 – 3.11 |
| 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.