Pythie
CategoriesTrending
An open index of Python tools.Pythie’s IndexLegal noticePrivacyData: PyPI (package metadata; download statistics under CC BY 4.0, via ClickHouse), deps.dev (CC BY 4.0), GitHub, OSV.

Comparison

patch vs unidiff vs unidiff2

Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.

patch1.16InactivePythie’s Index: 17

Library to parse and apply unified diffs

Likely abandoned. No release or commit for years (last release over 10 years ago).

$pip install patch
unidiff1.0.1ActivePythie’s Index: 59

Unified 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 unidiff
unidiff20.7.8MaintainedPythie’s Index: 30

Unified 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 unidiff2

In short

  • patch looks abandoned: avoid it for new projects.
  • unidiff is the most used: 31.1M downloads a month, 39× more than patch.
  • unidiff also has the best Pythie’s Index (59).
  • unidiff2 is growing fastest: downloads +268% over the last month.
  • unidiff2 is the newcomer: first released Oct 2025.

Side by side

Metricpatchunidiffunidiff2
Pythie’s IndexPythie’s Index: 17Pythie’s Index: 59Pythie’s Index: 30
VerdictLikely abandonedMaintainedLow maintenance activity
Downloads / month791.7K31.1M264.1K
Downloads, month over month-3%+3%+268%
GitHub stars1232861
Stars, last 7 days–––
Direct dependents211201
Last releaseFeb 13, 2016Sep 15, 2026Oct 30, 2025
Releases, 12 months020
Weeks with commits0 / 265 / 260 / 26
Recent contributors51118
First releaseMay 2015Dec 2014Oct 2025
Python versions–3.9 – 3.133.7 – 3.11
LicenseunknownMITMIT
Known vulnerabilitiesNoneNoneNone

Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.

Related comparisons

  • patch vs patch-ng
  • patch vs whatthepatch

Add to this comparison

  • + patch-ng
  • + whatthepatch