Comparison
dpath vs jsonpath-ng vs objectpath vs python-jsonpath
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 objectpathJSONPath, JSON Pointer and JSON Patch for Python.
Actively maintained. Last release 8 days ago, commits in 9 of the last 26 weeks. A safe choice.
pip install python-jsonpathIn short
- objectpath looks abandoned: avoid it for new projects.
- jsonpath-ng is the most used: 59.1M downloads a month, 5.7× more than dpath.
- Maintenance is comparable: jsonpath-ng 78, python-jsonpath 77, dpath 20 on Pythie’s Index.
- python-jsonpath is growing fastest: downloads +33% over the last month.
- Safe default for a new project: jsonpath-ng.
Side by side
| Metric | dpath | jsonpath-ng | objectpath | python-jsonpath |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 20 | Pythie’s Index: 78 | Pythie’s Index: 19 | Pythie’s Index: 77 |
| Verdict | Low maintenance activity | Actively maintained | Likely abandoned | Actively maintained |
| Downloads / month | 10.4M | 59.1M | 162.6K | 2.6M |
| Downloads, month over month | +7% | +3% | -7% | +33% |
| GitHub stars | 628 | 739 | – | 81 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 105 | 644 | 29 | 35 |
| Last release | Jun 12, 2024 | Nov 4, 2026 | Nov 27, 2018 | Nov 22, 2026 |
| Releases, 12 months | 0 | 10 | 0 | 6 |
| Weeks with commits | 3 / 26 | 10 / 26 | – | 9 / 26 |
| Recent contributors | 7 | 2 | – | 6 |
| First release | May 2013 | Mar 2017 | Feb 2014 | Mar 2023 |
| Python versions | 3.7 – 3.12 | 3.11 – 3.15 | – | 3.8 – 3.15 |
| License | MIT | Apache-2.0 | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.