python-deepdiff
Port variant py311
Summary Deep difference and search of any object (3.11)
Package version 6.2.3
Homepage https://github.com/seperman/deepdiff
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants py310
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 07 JAN 2023, 04:18:24 UTC
Port created 07 JAN 2023, 04:18:24 UTC
Subpackage Descriptions
single # DeepDiff v 6.2.3 ![Downloads] ![Python Versions] ![License] [Build Status] [codecov] ## DeepDiff Overview - DeepDiff: Deep Difference of dictionaries, iterables, strings and other objects. It will recursively look for all the changes. - DeepSearch: Search for objects within other objects. - DeepHash: Hash any object based on their content. Tested on Python 3.7+ and PyPy3. - **[Documentation]** ## What is new? Please check the [ChangeLog] file for the detailed information. DeepDiff 6-2-0 - Major improvement in the diff report for lists when items are all hashable and the order of items is important. DeepDiff 6-1-0 - DeepDiff.affected_paths can be used to get the list of all paths where a change, addition, or deletion was reported for. - DeepDiff.affected_root_keys can be used to get the list of all paths where a change, addition, or deletion was reported for. - Bugfix: ValueError when using Decimal 0.x #339 by [Enric Pou] - Serialization of UUID DeepDiff 6-0-0 - [Exclude obj callback strict] parameter is added to DeepDiff by Mikhail Khviyuzov [mskhviyu]. - A fix for diffing using `iterable_compare_func` with nested objects by [dtorres-sf] who originally contributed this feature. Note: There are no breaking changes in DeepDiff 6 compared to the latest DeepDiff 5 releases. ## Installation ### Install from PyPi: `pip install deepdiff` If you want to use DeepDiff from commandline: `pip install "deepdiff[cli]"` ### Importing ```python >>> from deepdiff import DeepDiff # For Deep Difference of 2 objects >>> from deepdiff import grep, DeepSearch # For finding if item exists in an object >>> from deepdiff import DeepHash # For hashing objects based on their contents ``` Note: if you want to use DeepDiff via commandline, make sure to run `pip install "deepdiff[cli]"`. Then you can access the commands via: - DeepDiff - `$ deep diff --help` - Delta - `$ deep patch --help` - grep - `$ deep grep --help` - extract - `$ deep extract --help` # Deep Diff DeepDiff gets the difference of 2 objects. > - Please take a look at the [DeepDiff docs] > - The full documentation of all modules can be found on > - Tutorials and posts about DeepDiff can be found on ## A few Examples > Note: This is just a brief overview of what DeepDiff can do. Please visit for full documentation. ### List difference ignoring order or duplicates ```python >>> t1 = {1:1, 2:2, 3:3, 4:{"a":"hello", "b":[1, 2, 3]}} >>> t2 = {1:1, 2:2, 3:3, 4:{"a":"hello", "b":[1, 3, 2, 3]}} >>> ddiff = DeepDiff(t1, t2, ignore_order=True)
Configuration Switches (platform-specific settings discarded)
PY310 OFF Build using Python 3.10 PY311 ON Build using Python 3.11
Package Dependencies by Type
Build (only) python-pip:single:py311
autoselect-python:single:standard
Build and Runtime python311:single:standard
Runtime (only) python-ordered-set:single:py311
python-orjson:single:py311
Download groups
main mirror://PYPIWHL/a7/dd/85c0fa878b5cd8e5c128500729874c8622337490130d86e1d40e0ad04187
Distribution File Information
d83b06e043447d6770860a635abecb46e849b0494c43ced2ecafda7628c7ce72 73165 deepdiff-6.2.3-py3-none-any.whl
Ports that require python-deepdiff:py311
python-netbox-config-backup:py311 NetBox Configuration Backup (3.11)
python-netbox-network-importer:py311 Tool to import network into Netbox (3.11)