Comparison
jsonpath vs jsonpath-ng vs jsonpath-python 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-ngA lightweight and powerful JSONPath implementation for Python
Maintained. Last release 7 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install jsonpath-pythonJSONPath, 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, 4.7× more than jsonpath-python.
- Maintenance is comparable: jsonpath-ng 78, python-jsonpath 77, jsonpath-python 45 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-python | python-jsonpath |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | Pythie’s Index: 78 | Pythie’s Index: 45 | Pythie’s Index: 77 |
| Verdict | Slowing down | Actively maintained | Maintained | Actively maintained |
| Downloads / month | 598.7K | 59.1M | 12.7M | 2.6M |
| Downloads, month over month | -43% | +3% | -2% | +33% |
| GitHub stars | – | 739 | 50 | 81 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 125 | 644 | 141 | 35 |
| Last release | Aug 24, 2023 | Nov 4, 2026 | May 7, 2026 | Nov 22, 2026 |
| Releases, 12 months | 0 | 10 | 2 | 6 |
| Weeks with commits | – | 10 / 26 | 0 / 26 | 9 / 26 |
| Recent contributors | – | 2 | 4 | 6 |
| First release | Jan 2017 | Mar 2017 | Jan 2021 | Mar 2023 |
| Python versions | – | 3.11 – 3.15 | 3.8 – 3.13 | 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.