deepdiff6
Deep Difference and Search of any Python object/data. Recreate objects by adding adding deltas to each other.
Decision gist · record as of 2026-08-14
Yes. DeepDiff is a mature, well-maintained library (active status, recent commits, 2520 stars) with permissive MIT licensing, low install friction, and no known vulnerabilities. It solves a common problem—deep object comparison—with a flexible API and multiple output views. Suitable for testing, validation, and debugging workflows.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction; single runtime dependency (ordered-set).
- Active maintenance with recent commits and 2520 repository stars.
- Tested on Python 3.7+ and PyPy3.
License · maintenance · safety
MIT (permissive) — MIT license (permissive); you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2022-09-04 (1440 days) · last repo commit 2026-08-04 · 2,520 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 278,165 downloads/mo, #8,135 on PyPI
Alternatives
Verify before relying
pip install deepdiff6
from deepdiff import DeepDiff
t1 = {1: 1, 2: 2, 3: 3}
t2 = {1: 1, 2: 4, 3: 3}
ddiff = DeepDiff(t1, t2)
print(ddiff)- Whether the package is still published under 'deepdiff6' on PyPI or has reverted to 'deepdiff' name post-v6
- Current status of the CLI extras (deepdiff6[cli]) and whether all documented commands are functional
What it is and what it does
DeepDiff is a library for detecting structural differences between Python objects at any depth. It recursively traverses dictionaries, lists, and other iterables to report all changes—additions, removals, and value modifications—with detailed path information. The package includes two companion tools: DeepSearch for locating objects within nested structures, and DeepHash for generating content-based hashes of arbitrary Python objects.
The library is commonly used in testing, data validation, configuration comparison, and debugging. It supports flexible comparison modes (ignoring order, excluding types or paths, using regex patterns, handling floating-point precision) and offers both text and tree views of results. A command-line interface is available via the [cli] extra, exposing diff, patch, grep, and extract commands.
Use it for
- Unit testing: assert that two complex data structures are identical or detect specific changes between versions
- Configuration validation: compare expected vs. actual configuration objects to identify mismatches
- API response testing: verify that JSON responses match expected schemas, ignoring order when appropriate
- Data migration auditing: track what changed when transforming or updating nested data structures
- Debugging: quickly identify which fields or nested values differ between two object states
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
DeepDiff is a mature, well-maintained library (active status, recent commits, 2520 stars) with permissive MIT licensing, low install friction, and no known vulnerabilities. It solves a common problem—deep object comparison—with a flexible API and multiple output views. Suitable for testing, validation, and debugging workflows.
Install
deepdiff6 on PyPI
Before you install
Low install friction; single runtime dependency (ordered-set). Active maintenance with recent commits and 2520 repository stars. Tested on Python 3.7+ and PyPy3.
License in practice
MIT license (permissive); you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install deepdiff6
from deepdiff import DeepDiff
t1 = {1: 1, 2: 2, 3: 3}
t2 = {1: 1, 2: 4, 3: 3}
ddiff = DeepDiff(t1, t2)
print(ddiff)
Verify before relying
- Whether the package is still published under 'deepdiff6' on PyPI or has reverted to 'deepdiff' name post-v6
- Current status of the CLI extras (deepdiff6[cli]) and whether all documented commands are functional
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageordered-set |
| Maintenance | Actively maintained 1,440 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 278,165 / month, #8,135 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: PyPyTopic :: Software Development |
Evidence: deepdiff6-6.2.0-py3-none-any.whl
Tags
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 › “deep object comparison”
- deepdiff6DeepDiff recursively compares two Python objects—dictionaries, lists,…
- recursive-diffRecursively compares two Python data structures and reports their…
- deepdiffDeepDiff compares dictionaries, iterables, strings, and arbitrary…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also deepdiff · recursive-diff · dirsync · dictdiffer · datadiff · jsoncomparison · pytest-deepassert · hydraters · jsondiff · json-diff