diff options
Diffstat (limited to '.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info')
9 files changed, 322 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/AUTHORS.md b/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/AUTHORS.md new file mode 100644 index 00000000..1f8fe5c9 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/AUTHORS.md @@ -0,0 +1,74 @@ +# Authors + +Authors in order of the timeline of their contributions: + +- [Sep Dehpour (Seperman)](http://www.zepworks.com) +- [Victor Hahn Castell](http://hahncastell.de) for the tree view and major contributions: +- [nfvs](https://github.com/nfvs) for Travis-CI setup script. +- [brbsix](https://github.com/brbsix) for initial Py3 porting. +- [WangFenjin](https://github.com/WangFenjin) for unicode support. +- [timoilya](https://github.com/timoilya) for comparing list of sets when ignoring order. +- [Bernhard10](https://github.com/Bernhard10) for significant digits comparison. +- [b-jazz](https://github.com/b-jazz) for PEP257 cleanup, Standardize on full names, fixing line endings. +- [finnhughes](https://github.com/finnhughes) for fixing __slots__ +- [moloney](https://github.com/moloney) for Unicode vs. Bytes default +- [serv-inc](https://github.com/serv-inc) for adding help(deepdiff) +- [movermeyer](https://github.com/movermeyer) for updating docs +- [maxrothman](https://github.com/maxrothman) for search in inherited class attributes +- [maxrothman](https://github.com/maxrothman) for search for types/objects +- [MartyHub](https://github.com/MartyHub) for exclude regex paths +- [sreecodeslayer](https://github.com/sreecodeslayer) for DeepSearch match_string +- Brian Maissy [brianmaissy](https://github.com/) for weakref fix, enum tests +- Bartosz Borowik [boba-2](https://github.com/boba-2) for Exclude types fix when ignoring order +- Brian Maissy [brianmaissy](https://github.com/brianmaissy) for fixing classes which inherit from classes with slots didn't have all of their slots compared +- Juan Soler [Soleronline](https://github.com/Soleronline) for adding ignore_type_number +- [mthaddon](https://github.com/mthaddon) for adding timedelta diffing support +- [Necrophagos](https://github.com/Necrophagos) for Hashing of the number 1 vs. True +- [gaal-dev](https://github.com/gaal-dev) for adding exclude_obj_callback +- Ivan Piskunov [van-ess0](https://github.com/van-ess0) for deprecation warning enhancement. +- Michał Karaś [MKaras93](https://github.com/MKaras93) for the pretty view +- Christian Kothe [chkothe](https://github.com/chkothe) for the basic support for diffing numpy arrays +- [Timothy](https://github.com/timson) for truncate_datetime +- [d0b3rm4n](https://github.com/d0b3rm4n) for bugfix to not apply format to non numbers. +- [MyrikLD](https://github.com/MyrikLD) for Bug Fix NoneType in ignore type groups +- Stian Jensen [stianjensen](https://github.com/stianjensen) for improving ignoring of NoneType in diff +- Florian Klien [flowolf](https://github.com/flowolf) for adding math_epsilon +- Tim Klein [timjklein36](https://github.com/timjklein36) for retaining the order of multiple dictionary items added via Delta. +- Wilhelm Schürmann[wbsch](https://github.com/wbsch) for fixing the typo with yml files. +- [lyz-code](https://github.com/lyz-code) for adding support for regular expressions in DeepSearch and strict_checking feature in DeepSearch. +- [dtorres-sf](https://github.com/dtorres-sf) for adding the option for custom compare function +- Tony Wang [Tony-Wang](https://github.com/Tony-Wang) for bugfix: verbose_level==0 should disable values_changes. +- Sun Ao [eggachecat](https://github.com/eggachecat) for adding custom operators. +- Sun Ao [eggachecat](https://github.com/eggachecat) for adding ignore_order_func. +- [SlavaSkvortsov](https://github.com/SlavaSkvortsov) for fixing unprocessed key error. +- Håvard Thom [havardthom](https://github.com/havardthom) for adding UUID support. +- Dhanvantari Tilak [Dhanvantari](https://github.com/Dhanvantari) for Bug-Fix: `TypeError in _get_numbers_distance() when ignore_order = True`. +- Yael Mintz [yaelmi3](https://github.com/yaelmi3) for detailed pretty print when verbose_level=2. +- Mikhail Khviyuzov [mskhviyu](https://github.com/mskhviyu) for Exclude obj callback strict. +- [dtorres-sf](https://github.com/dtorres-sf) for the fix for diffing using iterable_compare_func with nested objects. +- [Enric Pou](https://github.com/epou) for bug fix of ValueError when using Decimal 0.x +- [Uwe Fladrich](https://github.com/uwefladrich) for fixing bug when diff'ing non-sequence iterables +- [Michal Ozery-Flato](https://github.com/michalozeryflato) for setting equal_nan=ignore_nan_inequality in the call for np.array_equal +- [martin-kokos](https://github.com/martin-kokos) for using Pytest's tmp_path fixture instead of /tmp/ +- Håvard Thom [havardthom](https://github.com/havardthom) for adding include_obj_callback and include_obj_callback_strict. +- [Noam Gottlieb](https://github.com/noamgot) for fixing a corner case where numpy's `np.float32` nans are not ignored when using `ignore_nan_equality`. +- [maggelus](https://github.com/maggelus) for the bugfix deephash for paths. +- [maggelus](https://github.com/maggelus) for the bugfix deephash compiled regex. +- [martin-kokos](https://github.com/martin-kokos) for fixing the tests dependent on toml. +- [kor4ik](https://github.com/kor4ik) for the bugfix for `include_paths` for nested dictionaries. +- [martin-kokos](https://github.com/martin-kokos) for using tomli and tomli-w for dealing with tomli files. +- [Alex Sauer-Budge](https://github.com/amsb) for the bugfix for `datetime.date`. +- [William Jamieson](https://github.com/WilliamJamieson) for [NumPy 2.0 compatibility](https://github.com/seperman/deepdiff/pull/422) +- [Leo Sin](https://github.com/leoslf) for Supporting Python 3.12 in the build process +- [sf-tcalhoun](https://github.com/sf-tcalhoun) for fixing "Instantiating a Delta with a flat_dict_list unexpectedly mutates the flat_dict_list" +- [dtorres-sf](https://github.com/dtorres-sf) for fixing iterable moved items when iterable_compare_func is used. +- [Florian Finkernagel](https://github.com/TyberiusPrime) for pandas and polars support. +- Mathis Chenuet [artemisart](https://github.com/artemisart) for fixing slots classes comparison and PR review. +- Sherjeel Shabih [sherjeelshabih](https://github.com/sherjeelshabih) for fixing the issue where the key deep_distance is not returned when both compared items are equal #510 +- [Aaron D. Marasco](https://github.com/AaronDMarasco) for adding `prefix` option to `pretty()` +- [Juergen Skrotzky](https://github.com/Jorgen-VikingGod) for adding empty `py.typed` +- [Mate Valko](https://github.com/vmatt) for fixing the issue so we lower only if clean_key is instance of str via #504 +- [jlaba](https://github.com/jlaba) for fixing #493 include_paths, when only certain keys are included via #499 +- [Doron Behar](https://github.com/doronbehar) for fixing DeepHash for numpy booleans via #496 +- [Aaron D. Marasco](https://github.com/AaronDMarasco) for adding print() options which allows a user-defined string (or callback function) to prefix every output when using the pretty() call. +- [David Hotham](https://github.com/dimbleby) for relaxing orderly-set dependency via #486 diff --git a/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/INSTALLER new file mode 100644 index 00000000..a1b589e3 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/LICENSE new file mode 100644 index 00000000..e09c3d78 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/LICENSE @@ -0,0 +1,23 @@ +The MIT License (MIT) + +Copyright (c) 2014 - 2021 Sep Dehpour (Seperman) and contributors +www.zepworks.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/METADATA b/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/METADATA new file mode 100644 index 00000000..8db5f2f5 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/METADATA @@ -0,0 +1,172 @@ +Metadata-Version: 2.2 +Name: deepdiff +Version: 8.4.2 +Summary: Deep Difference and Search of any Python object/data. Recreate objects by adding adding deltas to each other. +Home-page: https://github.com/seperman/deepdiff +Download-URL: https://github.com/seperman/deepdiff/tarball/master +Author: Seperman +Author-email: sep@zepworks.com +License: MIT +Classifier: Intended Audience :: Developers +Classifier: Operating System :: OS Independent +Classifier: Topic :: Software Development +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 +Classifier: Programming Language :: Python :: 3.13 +Classifier: Programming Language :: Python :: Implementation :: PyPy +Classifier: Development Status :: 5 - Production/Stable +Classifier: License :: OSI Approved :: MIT License +Requires-Python: >=3.8 +Description-Content-Type: text/markdown +License-File: LICENSE +License-File: AUTHORS.md +Requires-Dist: orderly-set<6,>=5.3.0 +Provides-Extra: cli +Requires-Dist: click==8.1.8; extra == "cli" +Requires-Dist: pyyaml==6.0.2; extra == "cli" +Provides-Extra: optimize +Requires-Dist: orjson; extra == "optimize" +Dynamic: author +Dynamic: author-email +Dynamic: classifier +Dynamic: description +Dynamic: description-content-type +Dynamic: download-url +Dynamic: home-page +Dynamic: license +Dynamic: provides-extra +Dynamic: requires-dist +Dynamic: requires-python +Dynamic: summary + +# DeepDiff v 8.4.2 + + + + +[](https://github.com/seperman/deepdiff/actions) +[](https://codecov.io/gh/seperman/deepdiff) + +## Modules + +- [DeepDiff](https://zepworks.com/deepdiff/current/diff.html): Deep Difference of dictionaries, iterables, strings, and ANY other object. +- [DeepSearch](https://zepworks.com/deepdiff/current/dsearch.html): Search for objects within other objects. +- [DeepHash](https://zepworks.com/deepdiff/current/deephash.html): Hash any object based on their content. +- [Delta](https://zepworks.com/deepdiff/current/delta.html): Store the difference of objects and apply them to other objects. +- [Extract](https://zepworks.com/deepdiff/current/extract.html): Extract an item from a nested Python object using its path. +- [commandline](https://zepworks.com/deepdiff/current/commandline.html): Use DeepDiff from commandline. + +Tested on Python 3.8+ and PyPy3. + +- **[Documentation](https://zepworks.com/deepdiff/8.4.2/)** + +## What is new? + +Please check the [ChangeLog](CHANGELOG.md) file for the detailed information. + +DeepDiff 8-4-2 + +- fixes the type hints for the base +- fixes summarize so if json dumps fails, we can still get a repr of the results +- adds ipaddress support + +DeepDiff 8-4-1 + +- Adding BaseOperatorPlus base class for custom operators +- default_timezone can be passed now to set your default timezone to something other than UTC. +- New summarization algorithm that produces valid json +- Better type hint support +- Breaking change in DeepHash where we raise Exception instead of logging if we can't hash a value. +- Added the log_stacktrace parameter to DeepDiff. When True, it will log the stacktrace along with the error. + +DeepDiff 8-3-0 + +- Fixed some static typing issues +- Added the summarize module for better repr of nested values + +DeepDiff 8-2-0 + +- Small optimizations so we don't load functions that are not needed +- Updated the minimum version of Orderly-set +- Normalize all datetimes into UTC. Assume timezone naive datetimes are UTC. + +DeepDiff 8-1-0 + +- Removing deprecated lines from setup.py +- Added `prefix` option to `pretty()` +- Fixes hashing of numpy boolean values. +- Fixes __slots__ comparison when the attribute doesn't exist. +- Relaxing orderly-set reqs +- Added Python 3.13 support +- Only lower if clean_key is instance of str #504 +- Fixes issue where the key deep_distance is not returned when both compared items are equal #510 +- Fixes exclude_paths fails to work in certain cases +- exclude_paths fails to work #509 +- Fixes to_json() method chokes on standard json.dumps() kwargs such as sort_keys +- to_dict() method chokes on standard json.dumps() kwargs #490 +- Fixes accessing the affected_root_keys property on the diff object returned by DeepDiff fails when one of the dicts is empty +- Fixes accessing the affected_root_keys property on the diff object returned by DeepDiff fails when one of the dicts is empty #508 + + +## 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](https://pypi.org/project/PyYAML/) +- [tomli](https://pypi.org/project/tomli/) (python 3.10 and older) and [tomli-w](https://pypi.org/project/tomli-w/) for writing +- [clevercsv](https://pypi.org/project/clevercsv/) for more rubust CSV parsing +- [orjson](https://pypi.org/project/orjson/) for speed and memory optimized parsing +- [pydantic](https://pypi.org/project/pydantic/) + + +# Documentation + +<https://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 with **unruly data** in pipelines. +> That's why I developed a new tool - [Qluster](https://qluster.ai/solution) to empower non-engineers to control and resolve data issues at scale autonomously and **stop bugging the engineers**! 🛠️ +> +> If you are going through this pain now, I would love to give you [early access](https://www.qluster.ai/try-qluster) to Qluster and get your feedback. + + +# ChangeLog + +Please take a look at the [CHANGELOG](CHANGELOG.md) file. + +# Survey + +:mega: **Please fill out our [fast 5-question survey](https://forms.gle/E6qXexcgjoKnSzjB8)** so that we can learn how & why you use DeepDiff, and what improvements we should make. Thank you! :dancers: + +# Contribute + +1. Please make your PR against the dev branch +2. Please 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 run `pytest --cov=deepdiff --runslow` to see the coverage report. Note that the `--runslow` flag will run some slow tests too. In most cases you only want to run the fast tests which so you wont add the `--runslow` flag. + +Or to see a more user friendly version, please run: `pytest --cov=deepdiff --cov-report term-missing --runslow`. + +Thank you! + +# Authors + +Please take a look at the [AUTHORS](AUTHORS.md) file. diff --git a/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/RECORD b/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/RECORD new file mode 100644 index 00000000..a17c9bcc --- /dev/null +++ b/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/RECORD @@ -0,0 +1,43 @@ +../../../bin/deep,sha256=oTYi60qhydJYaP33admBsqgFdleL14nDhZV2ipcshAE,250
+deepdiff-8.4.2.dist-info/AUTHORS.md,sha256=3PptFXXQ6PXvc53cvFOp7Zy9MT_Q53hym-YbYCNKGfg,6864
+deepdiff-8.4.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
+deepdiff-8.4.2.dist-info/LICENSE,sha256=ZOUZCfc6wokcBQdcAnAY_I2fn4gsYF81Rhvvffgv7uo,1131
+deepdiff-8.4.2.dist-info/METADATA,sha256=rvFJJi9aNEMeW0j83ALtEntQENQbGD2kAqcO7ozeCF4,7075
+deepdiff-8.4.2.dist-info/RECORD,,
+deepdiff-8.4.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
+deepdiff-8.4.2.dist-info/entry_points.txt,sha256=-bmFH0tZ3sXq4v-uZenHHKEGOh9vndhUZXnyJmdXcbY,47
+deepdiff-8.4.2.dist-info/top_level.txt,sha256=TpeU1A-wkHdVKl7w7s6XJHuZH4is5WCaGXlFGDmJSRg,9
+deepdiff-8.4.2.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
+deepdiff/__init__.py,sha256=gz2fsKtZHvZ-EWHHA62Fd8ri5i-nnM0GiX3d8CL1Maw,478
+deepdiff/__pycache__/__init__.cpython-312.pyc,,
+deepdiff/__pycache__/anyset.cpython-312.pyc,,
+deepdiff/__pycache__/base.cpython-312.pyc,,
+deepdiff/__pycache__/commands.cpython-312.pyc,,
+deepdiff/__pycache__/deephash.cpython-312.pyc,,
+deepdiff/__pycache__/delta.cpython-312.pyc,,
+deepdiff/__pycache__/diff.cpython-312.pyc,,
+deepdiff/__pycache__/distance.cpython-312.pyc,,
+deepdiff/__pycache__/helper.cpython-312.pyc,,
+deepdiff/__pycache__/lfucache.cpython-312.pyc,,
+deepdiff/__pycache__/model.cpython-312.pyc,,
+deepdiff/__pycache__/operator.cpython-312.pyc,,
+deepdiff/__pycache__/path.cpython-312.pyc,,
+deepdiff/__pycache__/search.cpython-312.pyc,,
+deepdiff/__pycache__/serialization.cpython-312.pyc,,
+deepdiff/__pycache__/summarize.cpython-312.pyc,,
+deepdiff/anyset.py,sha256=zNsTSktMQBvCUVND1yTm9aW6lmna1YzKbArLfYYzJjo,1979
+deepdiff/base.py,sha256=mwV5oeprLOezwuzjWxCuK5osg0iun4mS4aqQ0dmWqY0,2163
+deepdiff/commands.py,sha256=iptzTdcJk4aTnLEl07hqBp5sw_kgqddJy6o6e33Q_8I,10038
+deepdiff/deephash.py,sha256=lygbqXyH4hHnoyQhLuVehRXlOcPWRzMP1K7gcLIxwes,24433
+deepdiff/delta.py,sha256=5LcTTnSeOZ9tC3_XjKiSouwmG0IbpsfVm2VJQ7l7krg,56813
+deepdiff/diff.py,sha256=6dEbrVAsQbZWQz-FAOhkbmP_sSHCMj68RVevV_gOZI0,90505
+deepdiff/distance.py,sha256=KDr6H8tiVpBHoF2nzHgdJq32rxmklW6vHXazL3lrenk,13738
+deepdiff/helper.py,sha256=cj3WbRPaqsxEPbtS5CcTlpvpgNC-D_GYF-5KYVlUMyA,24662
+deepdiff/lfucache.py,sha256=LC2DCQbSbbQmIBX0wsIn5zhD_Ul4JKrjT3fDSpYd2gA,7113
+deepdiff/model.py,sha256=KXK7FE5ttuJX6QMkWAbaDZ2PEFFmTJpT8FZsN-iEAWk,41537
+deepdiff/operator.py,sha256=5uZglscXUybNe9rVPzQhrqzCCf4nTM_e-Z84NlX5ZM8,2416
+deepdiff/path.py,sha256=_45990vRQx0ZOW3rabkEATBDS36SeVIqh8Qns7cDwu8,10361
+deepdiff/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+deepdiff/search.py,sha256=Ky83pWiLw-jw6jzilGebsoZvyjbdNy6E4yfVek3aOvA,12513
+deepdiff/serialization.py,sha256=OMypP0zPzXQ8DB04p6Q69GHA3p4a3UseI7bACX5lxqc,25291
+deepdiff/summarize.py,sha256=lsoMieCPxfrYQQYMYKofT2pKIrBVsNzrweVPGNjVRdc,5627
diff --git a/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/WHEEL new file mode 100644 index 00000000..505164bc --- /dev/null +++ b/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/WHEEL @@ -0,0 +1,5 @@ +Wheel-Version: 1.0 +Generator: setuptools (75.8.0) +Root-Is-Purelib: true +Tag: py3-none-any + diff --git a/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/entry_points.txt b/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/entry_points.txt new file mode 100644 index 00000000..e5d27af5 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/entry_points.txt @@ -0,0 +1,2 @@ +[console_scripts] +deep = deepdiff.commands:cli diff --git a/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/top_level.txt new file mode 100644 index 00000000..084ef599 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/top_level.txt @@ -0,0 +1 @@ +deepdiff diff --git a/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/zip-safe b/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/zip-safe new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/deepdiff-8.4.2.dist-info/zip-safe @@ -0,0 +1 @@ + |