### Install DeepDiff from PyPi Source: https://zepworks.com/deepdiff/current Install the core DeepDiff package from PyPi. ```bash pip install deepdiff ``` -------------------------------- ### Install DeepDiff with CLI support Source: https://zepworks.com/deepdiff/current Install DeepDiff with command-line interface support using the 'cli' extra. ```bash pip install "deepdiff[cli]" ``` -------------------------------- ### Install DeepDiff with optimization extras Source: https://zepworks.com/deepdiff/current Install DeepDiff with optimization extras for improved performance in processes like JSON serialization. ```bash pip install "deepdiff[optimize]" ``` -------------------------------- ### Grep command-line help Source: https://zepworks.com/deepdiff/current Display help for the 'deep grep' command. ```bash $ deep grep --help ``` -------------------------------- ### DeepDiff command-line help Source: https://zepworks.com/deepdiff/current Display help for the 'deep diff' command. ```bash $ deep diff --help ``` -------------------------------- ### Extract command-line help Source: https://zepworks.com/deepdiff/current Display help for the 'deep extract' command. ```bash $ deep extract --help ``` -------------------------------- ### Delta command-line help Source: https://zepworks.com/deepdiff/current Display help for the 'deep patch' command. ```bash $ deep patch --help ``` -------------------------------- ### Import DeepDiff modules Source: https://zepworks.com/deepdiff/current Import the main DeepDiff classes and functions: DeepDiff, grep, DeepSearch, DeepHash, Delta, and extract. ```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 >>> from deepdiff import Delta # For creating delta of objects that can be applied later to other objects. >>> from deepdiff import extract # For extracting a path from an object ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.