python-deepdiff
Port variant v15
Summary Deep difference and search of any object (3.15)
Package version 9.2.1
Homepage https://zepworks.com/deepdiff/
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v14
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 23 NOV 2026, 05:55:02 UTC
Port created 08 JAN 2023, 04:18:24 UTC
Subpackage Descriptions
single # DeepDiff v 9.2.1 ![Downloads] ![Python Versions] ![License] [Build Status] [codecov] **DeepDiff is part of [Qluster].** Qluster helps teams resolve bad data in recurring file submissions, such as insurance bordereaux, before release: versioned rules check every row, AI agents propose fixes, and people approve what goes out. See [DeepDiff and Qluster] for when it fits. ## Modules - [DeepDiff]: Deep Difference of dictionaries, iterables, strings, and ANY other object. - [DeepSearch]: Search for objects within other objects. - [DeepHash]: Hash any object based on their content. - [Delta]: Store the difference of objects and apply them to other objects. - [Extract]: Extract an item from a nested Python object using its path. - [commandline]: Use DeepDiff from commandline. Tested on Python 3.11+ and PyPy3. - **[Documentation]** ## What is new? Please check the [ChangeLog] file for the detailed information. DeepDiff 9-2-0 - Added `iterable_match_keys` to match list items by key per path, e.g. `{"root['orders']": "order_id", "root['orders'][*]['lines']": ("sku", "warehouse")}`. Inserted, removed and reordered records are reported per record at real list indexes, and `Delta` round-trips (#664) - Support for Python 3.15 - Dropping support for Python 3.10, which reached end-of-life in October 2026 - Fixed `iterable_compare_func` dropping an added item whose content equals an item that was already matched, e.g. `[{"id": 1}]` vs `[{"id": 1}, {"id": 1}]` returned `{}` (#665) - Fixed missing type changes between equal-comparing items inside ordered iterables, e.g. `DeepDiff([2], [2.0])` now reports the `int` → `float` change like `DeepDiff(2, 2.0)` already does (#605) thanks to @Sanjays2402 - Fixed `truncate_datetime` crashing on non-truncatable types: it now applies only to `datetime.datetime` and `datetime.time` objects, so `datetime.date`, `timedelta` and `np.datetime64` values are compared exactly instead of raising `AttributeError` thanks to @SAY-5 and @Sanjays2402 - Fixed `number_to_string` producing an invalid string such as `1.0+-1.0j` for complex numbers with a negative imaginary part, which crashed e.g. `DeepHash(1-1j, significant_digits=3)` (#551) thanks to @koriyoshi2041 and @Sanjays2402 - Fixed Delta JSON round-trip crashing with `TypeError` when orjson is not installed, for list diffs that use iterable opcodes thanks to @chuenchen309 - Fixed `_dict_from_slots` dropping a parent-declared mangled `__slots__` attribute for a subclass instance (#506) thanks to @uttam12331 - The `deep` command now exits with an actionable message (`pip install "deepdiff[cli]"`) instead of a `ModuleNotFoundError` traceback when the `cli` extra is not installed (#594) thanks to @uttam12331 - Fixed typos in docstrings and comments thanks to @Labib-Bin-Salam - Updated dependencies, and switched release tooling from bump2version to bump-my-version ## Installation ### Install from PyPi: `pip install deepdiff` If you want to use DeepDiff from commandline: `pip install "deepdiff[cli]"` If you want to improve the performance of DeepDiff with certain functionalities such as improved json serialization: `pip install "deepdiff[optimize]"` Install optional packages: - [yaml] - [tomli-w] for writing - [clevercsv] for more robust CSV parsing - [orjson] for speed and memory optimized parsing - [pydantic] # DeepDiff and Qluster DeepDiff is maintained by the team behind [Qluster]. DeepDiff compares, searches and hashes Python objects. Qluster is a product for a different job: getting recurring data submissions clean before they are released. **What Qluster does.** Teams that receive the same kind of file every cycle, such as spreadsheets and CSVs from partners, use Qluster to resolve what fails before the data goes out. Senders keep emailing files as they do today. Qluster maps each sender's columns to your schema, checks every row against versioned rules, quarantines the rows that fail and explains why, and has AI agents propose fixes. Your team approves what gets released, and every change is logged. Approved fixes become reusable mappings and rules,
Configuration Switches (platform-specific settings discarded)
PY314 OFF Build using Python 3.14 PY315 ON Build using Python 3.15
Package Dependencies by Type
Build (only) python315:dev:std
python-pip:single:v15
autoselect-python:single:std
Build and Runtime python315:primary:std
Runtime (only) python-cachebox:single:v15
python-orderly-set:single:v15
Download groups
main mirror://PYPIWHL/d6/44/baa39e4928d5e16c925d1c4c33f0e9c86462c24869afa27000b8b6d49176
Distribution File Information
d96257cc07065bd6355153ec5643a3258802717ae8476ec711fb81cd069d8e5c 201457 python-src/deepdiff-9.2.1-py3-none-any.whl
Ports that require python-deepdiff:v15
python-netbox-config-backup:v15 NetBox Switch Configuration Backup Plugin (3.15)
python-netbox-network-importer:v15 Tool to import network into Netbox (3.15)