Comparison
jmespath vs jsonpath vs jsonpath-python vs python-jsonpath
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
JSON Matching Expressions
Low maintenance activity. Last release 10 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install jmespathAn 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 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.
- jmespath is the most used: 631.2M downloads a month, 50× more than jsonpath-python.
- python-jsonpath is better maintained: Pythie’s Index 77 against 35.
- python-jsonpath is growing fastest: downloads +33% over the last month.
Side by side
| Metric | jmespath | jsonpath | jsonpath-python | python-jsonpath |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 35 | 27 |