Comparison
bc-jsonpath-ng vs dpath vs jsonpath-rw vs objectpath
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A final implementation of JSONPath for Python that aims to be standard compliant, including arithmetic and binary comparison operators and providing clear AST for metaprogramming.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install bc-jsonpath-ngFilesystem-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 robust and significantly extended implementation of JSONPath for Python, with a clear AST for metaprogramming.
Low maintenance activity. Last release over 11 years ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install jsonpath-rwThe 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
- bc-jsonpath-ng 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, 2.1× more than bc-jsonpath-ng.
- Maintenance is comparable: dpath 20, jsonpath-rw 19 on Pythie’s Index.
Side by side
| Metric | bc-jsonpath-ng | dpath | jsonpath-rw | objectpath |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | 20 |