Skip to content

DeepDiff

DeepDiff is a Python library I created for deep comparison of any Python object. With 70M+ monthly downloads from PyPI, it’s widely used for testing, data validation, and change tracking.

The library includes:

  • DeepDiff — deep difference of 2 objects, with support for distance calculation
  • DeepSearch — search for objects within other objects
  • DeepHash — hash any object based on its content, even if not natively hashable in Python
  • Delta — construct and apply deltas based on deep diffs
  • Extract — extract items from nested objects using paths

Links

Documentation by Version