Comparison
bc-jsonpath-ng vs jmespath vs jq vs 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-ngJSON 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 jmespathjq is a lightweight and flexible JSON processor.
Maintained. Last release 6 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install jqAn 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 jsonpathIn short
- bc-jsonpath-ng is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- jsonpath is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- jmespath is the most used: 623.8M downloads a month, 85× more than jq.
- jq is better maintained: Pythie’s Index 52 against 35.
- jq is growing fastest: downloads +19% over the last month.
Side by side
| Metric | bc-jsonpath-ng | jmespath | jq | jsonpath |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | 35 |