Comparison
bc-jsonpath-ng vs jsonpath-rfc9535 vs objectpath vs python-jsonpath
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-ngRFC 9535 - JSONPath: Query Expressions for JSON in Python
Actively maintained. Last release 8 days ago, commits in 7 of the last 26 weeks. A safe choice.
pip install jsonpath-rfc9535The 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
- 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.
- python-jsonpath is the most used: 2.6M downloads a month.
- Maintenance is comparable: python-jsonpath 77, jsonpath-rfc9535 72 on Pythie’s Index.
- python-jsonpath is growing fastest: downloads +33% over the last month.
- Safe default for a new project: python-jsonpath.
Side by side
| Metric | bc-jsonpath-ng | jsonpath-rfc9535 | objectpath | python-jsonpath |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | 72 |