Comparison
dpath vs jsonpath vs objectpath
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 dpathAn XPath for JSON
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install jsonpathThe agile query language for semi-structured data. #JSON
Likely abandoned. No release or commit for years (last release over 8 years ago).
$
pip install objectpathIn short
- jsonpath is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- objectpath looks abandoned: avoid it for new projects.
- dpath is the most used: 10.4M downloads a month, 17× more than jsonpath.
- dpath also has the best Pythie’s Index (20).
Side by side
| Metric | dpath | jsonpath | objectpath |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 20 | Pythie’s Index: 27 | Pythie’s Index: 19 |
| Verdict | Low maintenance activity | Slowing down | Likely abandoned |
| Downloads / month | 10.4M | 598.7K | 162.6K |
| Downloads, month over month | +7% | -43% | -7% |
| GitHub stars | 628 | – | – |
| Stars, last 7 days | – | – | – |
| Direct dependents | 105 | 125 | 29 |
| Last release | Jun 12, 2024 | Aug 24, 2023 | Nov 27, 2018 |
| Releases, 12 months | 0 | 0 | 0 |
| Weeks with commits | 3 / 26 | – | – |
| Recent contributors | 7 | – | – |
| First release | May 2013 | Jan 2017 | Feb 2014 |
| Python versions | 3.7 – 3.12 | – | – |
| License | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.