Comparison
deepcomparer vs deepdiff vs prettydiff vs pyjson
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Deep compare python structures like dictionaries, lists and iterables.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install deepcomparerDeep Difference and Search of any Python object/data. Recreate objects by adding deltas to each other.
Maintained. Last release 12 days ago, commits in 10 of the last 26 weeks. Weaker on issue handling and contributor spread.
pip install deepdiffPretty JSON data diffs
Low maintenance activity. Last release over 5 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install prettydiffCompare the similarities between two JSONs.
Low maintenance activity. Last release over 3 years ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install pyjsonIn short
- deepcomparer is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- deepdiff is the most used: 61.8M downloads a month, 703× more than prettydiff.
- deepdiff also has the best Pythie’s Index (70).
- Safe default for a new project: deepdiff.
Side by side
| Metric | deepcomparer | deepdiff | prettydiff | pyjson |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 18 | 70 |