Comparison
jsonpath vs jsonpath-ng vs jsonpath-rust-bindings vs python-jsonpath
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
An 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 jsonpathA 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-ngLow maintenance activity. Last release 12 months ago. Weaker on commit activity and recent releases.
pip install jsonpath-rust-bindingsJSONPath, 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
- jsonpath is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- jsonpath-ng is the most used: 59.1M downloads a month, 23× more than python-jsonpath.
- Maintenance is comparable: jsonpath-ng 78, python-jsonpath 77, jsonpath-rust-bindings 37 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 | jsonpath | jsonpath-ng | jsonpath-rust-bindings | python-jsonpath |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | 78 |