Package: deepdiff
DeepDiff v 6.7.1ModulesDeepDiff: 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.7+ and PyPy3.DocumentationWhat is new?Please check theChangeLogfile for the detailed information.DeepDiff 6-7-1Support for subtracting delta objects when iterable_compare_func is used.Better handling of force adding a delta to an object.Fix forCan't compare dicts with both single and double quotes in keysUpdated docs for Inconsistent Behavior with math_epsilon and ignore_order = TrueDeepDiff 6-7-0Delta can be subtracted from other objects now.verify_symmetry is deprecated. Use bidirectional instead.always_include_values flag in Delta can be enabled to include values in the delta for every change.Fix for Delta.addbreaks with esoteric dict keys.You can load a delta from the list of flat dictionaries.DeepDiff 6-6-1Fix forDeepDiff raises decimal exception when using significant digitsIntroducing group_by_sort_keyAdding group_by 2D. For examplegroup_by=['last_name', 'zip_code']InstallationInstall from PyPi:pip install deepdiffIf 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:yamltomli(python 3.10 and older) andtomli-wfor writingclevercsvfor more rubust CSV parsingorjsonfor speed and memory optimized parsingpydanticDocumentationhttps://zepworks.com/deepdiff/current/A message from Sep, the creator of DeepDiff👋 Hi there,Thank you for using DeepDiff!
As an engineer, I understand the frustration of wrestling withunruly datain pipelines.
That's why I developed a new tool -Qlusterto empower non-engineers to control and resolve data issues at scale autonomously andstop bugging the engineers! 🛠️If you are going through this pain now, I would love to give youearly accessto Qluster and get your feedback.ChangeLogPlease take a look at theCHANGELOGfile.Survey:mega:Please fill out ourfast 5-question surveyso that we can learn how & why you use DeepDiff, and what improvements we should make. Thank you! :dancers:ContributePlease make your PR against the dev branchPlease make sure that your PR has tests. Since DeepDiff is used in many sensitive data driven projects, we strive to maintain around 100% test coverage on the code.Please runpytest --cov=deepdiff --runslowto see the coverage report. Note that the--runslowflag will run some slow tests too. In most cases you only want to run the fast tests which so you wont add the--runslowflag.Or to see a more user friendly version, please run:pytest --cov=deepdiff --cov-report term-missing --runslow.Thank you!CitingHow to cite this library (APA style):Dehpour, S. (2023). DeepDiff (Version 6.7.1) [Software]. Available from https://github.com/seperman/deepdiff.How to cite this library (Chicago style):Dehpour, Sep. 2023. DeepDiff (version 6.7.1).AuthorsPlease take a look at theAUTHORSfile.