$npx skillfedfor your agent

dictdiffer

Dictdiffer is a library that helps you to diff and patch dictionaries.

Worth itPyPI UtilitiesReleased Jul 20269.3M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — dictdiffer-0.10.0-py3-none-any.whl
v0.10.0 · released 2026-07-16 · Python >=3.7

Yes. Dictdiffer is actively maintained, has no dependencies, installs cleanly, carries a permissive MIT license, and solves a real problem with a stable API. It's in the top 5000 packages by download volume and has no known vulnerabilities. Install it if you need to diff or patch dictionaries.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.7 or later.
  • Low friction: pure Python wheel with no runtime dependencies.
  • Active maintenance—last release 29 days ago, repository not archived, and 849 stars indicate steady use.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2026-07-16 (29 days) · last repo commit 2026-07-16 · 849 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 9,288,516 downloads/mo, #1,549 on PyPI

Verify before relying

pip install dictdiffer

from dictdiffer import diff, patch

old = {'a': 'x', 'b': 'y'}
new = {'a': 'x', 'b': 'z', 'c': 'w'}

changes = list(diff(old, new))
patched = patch(changes, old)
  • Whether the package handles deeply nested dictionaries or has performance limits on large structures.
  • Whether patch application is reversible or supports conflict resolution in concurrent scenarios.
  • Specific behavior when diffing or patching lists or other non-dict collection types.
Same gist for agents: .md · .json

What it is and what it does

Dictdiffer is a utility library for computing structural differences between Python dictionaries and applying those differences as patches. It identifies what keys were added, removed, or changed between two dicts and can reconstruct one dict from another by replaying those changes. The library has no external runtime dependencies and works as a pure Python module.

Typical use cases include tracking configuration changes, auditing data mutations, implementing undo/redo logic, or syncing state between systems. It's particularly useful when you need to log or transmit only the delta between two versions rather than the full state.

Use it for

  • Track configuration file changes by diffing before and after versions to log only what changed.
  • Implement undo/redo functionality by storing diffs and replaying them forward or backward.
  • Audit data mutations in applications by capturing diffs of object state at key points.
  • Sync state between systems by transmitting only the delta rather than full snapshots.
  • Compare API responses or database records to detect and report structural changes.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Dictdiffer is actively maintained, has no dependencies, installs cleanly, carries a permissive MIT license, and solves a real problem with a stable API. It's in the top 5000 packages by download volume and has no known vulnerabilities. Install it if you need to diff or patch dictionaries.

Install

dictdiffer on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies. Active maintenance—last release 29 days ago, repository not archived, and 849 stars indicate steady use.

Requires Python 3.7 or later.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install dictdiffer

from dictdiffer import diff, patch

old = {'a': 'x', 'b': 'y'}
new = {'a': 'x', 'b': 'z', 'c': 'w'}

changes = list(diff(old, new))
patched = patch(changes, old)

Verify before relying

  • Whether the package handles deeply nested dictionaries or has performance limits on large structures.
  • Whether patch application is reversible or supports conflict resolution in concurrent scenarios.
  • Specific behavior when diffing or patching lists or other non-dict collection types.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 29 days since the last release
Last repo commit
First released
Downloads9,288,516 / month, #1,549 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Utilities

Evidence: dictdiffer-0.10.0-py3-none-any.whl

Tags

Capabilities
dictionary diff and patchcompare python dictsdict change detectiondictionary comparison libraryapply dict patchesfind dict differencesnested dictionary diff
Topics
data-comparisonstate-tracking

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “dictionary diff and patch”

  • dictdifferDictdiffer computes and applies diffs and patches to Python…
  • json-merge-patchMerges JSON objects according to RFC 7386 and generates minimal…
  • patchParses and applies unified diff patches to files, with automatic…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also datadiff · jsondiff · diff-match-patch · fast-diff-match-patch · recursive-diff · patch · daff · whatthepatch · diff-parser · xmldiff