Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Unified Diff Python Packages

Python packages with the GitHub topic unified-diff. Sorted by monthly downloads, with stars and forks.
romelium
mpatch

Applies diffs by context, not line numbers. Paste a diff from ChatGPT, Claude or Gemini and mpatch finds where each hunk belongs, even when git apply and patch reject it. If it can't be sure, it says what's needed. CLI, Rust, Python.

3K 24 3
255BITS
gptdiff

Natural-language code transformation as a Python library: generate_diff turns a plain-English goal into a unified diff, smartapply applies it resiliently. CLI included. Formerly gptdiff.

2K 5 1
xavierog
moulti

Moulti is a CLI-driven Terminal User Interface (TUI) displaying arbitrary outputs inside visual, collapsible blocks called steps.

1K 165 7
255BITS
patchling

Natural-language code transformation as a Python library: generate_diff turns a plain-English goal into a unified diff, smartapply applies it resiliently. CLI included. Formerly gptdiff.

850 5 1
Maksim-Burtsev
similar-rs

Rust-powered text diffing for Python: a fast drop-in replacement for difflib, powered by the similar crate

262 1 0
adam2go
purepatch

Apply unified diffs and fuzzy search/replace edits in pure Python - the patch engine for code agents. No git, no patch binary.

163 1 0
gexiro-global
patch-gate

Policy-gated application of untrusted unified diffs.

124 0 0
larz-scripter
larzdiff

Human-readable diffs of two values - dicts, lists, strings, zero third-party deps

88 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology