# diff-match-patch (Python) — card for AI agents

Google's diff, match and patch algorithms for Python.

Category: Utilities · PyPI package `diff-match-patch` · latest version 20241021 (checked 2026-11-01)
Install: `pip install diff-match-patch`
License: Apache-2.0 (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 42.0 (#2911 of all tools, 313 of 408 in its category)
- Downloads last week: 1,567,465 (as of 2026-11-24), +23.3% over 4 weeks
- GitHub stars: 59 (as of 2026-11-24)
- Last push: 2025-01-01

## Often used with
attrs 97.2%, Click 97.2%, Jinja2 97.2%, jsonschema 97.2%, MarkupSafe 97.2%, NumPy 97.2%

## Links
- AgentGid page: https://agentgid.com/tools/diff-match-patch-pypi/
- Repository: https://github.com/diff-match-patch-python/diff-match-patch

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
