Comparison
jsonpatch vs jsonpath-ng vs pyjsonpatch vs python-jsonpath
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Apply JSON-Patches (RFC 6902)
Actively maintained. Last release 11 days ago, commits in 9 of the last 26 weeks. A safe choice.
pip install jsonpatchA 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 Python implementation of JSON Pointer and JSON Patch
Low maintenance activity. Last release 21 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install pyjsonpatchJSONPath, 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
- jsonpatch is the most used: 139.6M downloads a month, 2.4× more than jsonpath-ng.
- Maintenance is comparable: jsonpatch 84, jsonpath-ng 78, python-jsonpath 77, pyjsonpatch 22 on Pythie’s Index.
- python-jsonpath is growing fastest: downloads +33% over the last month.
- pyjsonpatch is the newcomer: first released Dec 2024.
- Safe default for a new project: jsonpatch.
Side by side
| Metric | jsonpatch | jsonpath-ng | pyjsonpatch | python-jsonpath |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 84 | 78 |