$npx skillfedfor your agent

datadiff

DataDiff is a library to provide human-readable diffs of python data structures.

With conditionsPyPI Python ModulesReleased Aug 2023101.2K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — datadiff-2.2.0-py2.py3-none-any.whl
v2.2.0 · released 2023-08-27

Yes, if you need readable diffs for test debugging and don't require active maintenance. The package is stable, has no dependencies, and works for its stated purpose. However, avoid it if you need ongoing support or compatibility assurance with current Python versions.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with no runtime dependencies.
  • Package is abandoned (last release 1083 days ago, status marked abandoned), so no active maintenance or bug fixes should be expected.

License · maintenance · safety

permissive license (permissive) — Licensed under Apache License 2.0 (permissive), so you can use, modify, and distribute freely with minimal restrictions.

last release 2023-08-27 (1083 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 101,179 downloads/mo, #12,957 on PyPI

Verify before relying

pip install datadiff

from datadiff import diff
a = {'foo': 1, 'bar': 2}
b = {'foo': 1, 'bar': 4}
print(diff(a, b))
  • Whether the package works reliably on modern Python versions given its abandoned status
  • Whether there are known compatibility issues with current testing frameworks or data structures
Same gist for agents: .md · .json

What it is and what it does

DataDiff is a utility library that compares Python data structures and outputs the differences in a unified diff format, similar to what you'd see comparing text files. It recursively diffs dictionaries and sequences, and has special handling for multi-line strings. The library also provides drop-in replacements for test assertions (like `assert_equal`) that display a data diff when the assertion fails, making it easier to spot what actually differs in complex nested structures during test failures.

The package has no runtime dependencies and installs cleanly. However, it has been abandoned with no active maintenance, so it should be considered stable but not actively developed. It was originally designed to support Python 2.6 through Python 3, though current compatibility with recent Python versions is untested.

Use it for

  • Debugging test failures by displaying a clear diff of expected vs. actual data structures in assertions
  • Comparing complex nested dictionaries or lists to quickly identify which fields or elements changed
  • Generating human-readable output when validating API responses or configuration objects in tests
  • Inspecting differences in large data structures without manually walking through nested levels

Worth the install?

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

With conditions

Yes, if you need readable diffs for test debugging and don't require active maintenance.

The package is stable, has no dependencies, and works for its stated purpose. However, avoid it if you need ongoing support or compatibility assurance with current Python versions.

Install

datadiff on PyPI

Before you install

Low install friction with no runtime dependencies. Package is abandoned (last release 1083 days ago, status marked abandoned), so no active maintenance or bug fixes should be expected.

License in practice

Licensed under Apache License 2.0 (permissive), so you can use, modify, and distribute freely with minimal restrictions.

Quickstart

pip install datadiff

from datadiff import diff
a = {'foo': 1, 'bar': 2}
b = {'foo': 1, 'bar': 4}
print(diff(a, b))

Verify before relying

  • Whether the package works reliably on modern Python versions given its abandoned status
  • Whether there are known compatibility issues with current testing frameworks or data structures

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,083 days since the last release
First released
Downloads101,179 / month, #12,957 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python Modules

Evidence: datadiff-2.2.0-py2.py3-none-any.whl

Tags

Capabilities
python data structure diffdict list comparison outputtest assertion diff displayreadable data structure diffnested data comparisonunified diff for python objects
Topics
testing-utilitiesdata-comparison
PyPI keywords
datadiff

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 › “python data structure diff”

  • datadiffGenerates human-readable diffs of Python data structures (dicts,…
  • recursive-diffRecursively compares two Python data structures and reports their…
  • pyjsonCompares the similarity between two JSON files and reports structural…

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

More Python Modules 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
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
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also dictdiffer · xmldiff · munge · recursive-diff · fast-diff-match-patch · deepdiff6 · json-delta · pytest-icdiff · json-diff · csv-diff