deepdiff
deepdiff copied to clipboard
DeepDiff: Deep Difference and search of any Python object/data. DeepHash: Hash of any object based on its contents. Delta: Use deltas to reconstruct objects by adding deltas together.
With Python 3.11, Enum members have a `_sort_order` attribute that shows up in the hashes. Update the tests to pass if it's present (but also still if it's not present,...
Bumps [numpy](https://github.com/numpy/numpy) from 1.21.2 to 1.22.0. Release notes Sourced from numpy's releases. v1.22.0 NumPy 1.22.0 Release Notes NumPy 1.22.0 is a big release featuring the work of 153 contributors spread...
Please checkout the [F.A.Q](https://zepworks.com/deepdiff/current/faq.html) page before creating a bug ticket to make sure it is not already addressed. Searched FAQ for issues containing word "Recursion" but found none. **Describe the...
Please checkout the [F.A.Q](https://zepworks.com/deepdiff/current/faq.html) page before creating a bug ticket to make sure it is not already addressed. **Describe the bug** Can't install the latest version of the package because...
[x] Please checkout the [F.A.Q](https://zepworks.com/deepdiff/current/faq.html) page before creating a bug ticket to make sure it is not already addressed. **Describe the bug** UUID appears to be detecting a type change....
``` platform freebsd13 -- Python 3.8.13, pytest-7.1.2, pluggy-1.0.0 rootdir: /disk-samsung/freebsd-ports/devel/py-deepdiff/work-py38/deepdiff-5.8.1, configfile: pytest.ini plugins: forked-1.4.0, hypothesis-6.46.3, xdist-2.5.0, cov-2.9.0, rerunfailures-10.1, anyio-3.6.1, requests-mock-1.9.3, asyncio-0.18.3, flaky-3.7.0, trio-0.7.0, mock-1.10.4 asyncio: mode=legacy collected 689 items tests/test_anyset.py...
Hi! Thanks for this great lib! I happened to get a bug on a custom case when I compare dictionaries where key is the dataclass(simplified example below). The output of...
**Is your feature request related to a problem? Please describe.** I am using DeepHash to hash an object with multiple nested objects which I can then compare against at a...
This program is really great and saving my day also i want to know all the keys and their values which are mathching also then its complete Like we have...
``` def func(obj, path): return True if isinstance(obj, int) else False t1 = {"x": "12"} t2 = {"x": 1} print(DeepDiff(t1, t2, exclude_obj_callback=func)) ``` return `{}` func returns True only for...