Comparison
dpath vs jsonpath-ng vs objectpath vs pathable
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Filesystem-like pathing and searching for dictionaries
Low maintenance activity. Last release over 2 years ago, commits in 3 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install dpathA final implementation of JSONPath for Python that aims to be standard compliant, including arithmetic and binary comparison operators and providing clear AST for metaprogramming.
Actively maintained. Last release 4 weeks ago, commits in 10 of the last 26 weeks. A safe choice.
pip install jsonpath-ngThe agile query language for semi-structured data. #JSON
Likely abandoned. No release or commit for years (last release over 8 years ago).
pip install objectpathObject-oriented paths
Maintained. Last release 6 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install pathableIn short
- objectpath looks abandoned: avoid it for new projects.
- pathable is the most used: 92.3M downloads a month, 1.6× more than jsonpath-ng.
- jsonpath-ng is better maintained: Pythie’s Index 78 against 47.
- pathable is growing fastest: downloads +24% over the last month.
Side by side
| Metric | dpath | jsonpath-ng | objectpath | pathable |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 20 | 78 |