Pythie
CategoriesTrending
An open index of Python tools.Pythie’s IndexLegal noticePrivacyData: PyPI (package metadata; download statistics under CC BY 4.0, via ClickHouse), deps.dev (CC BY 4.0), GitHub, OSV.

Comparison

jsonpath vs jsonpath-ng

Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.

jsonpath0.82.2StalePythie’s Index: 27

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 jsonpath
jsonpath-ng1.16.0ActivePythie’s Index: 78

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.

Actively maintained. Last release 4 weeks ago, commits in 10 of the last 26 weeks. A safe choice.

$pip install jsonpath-ng

In 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, 99× more than jsonpath.
  • jsonpath-ng also has the best Pythie’s Index (78).
  • Safe default for a new project: jsonpath-ng.

Side by side

Metricjsonpathjsonpath-ng
Pythie’s IndexPythie’s Index: 27Pythie’s Index: 78
VerdictSlowing downActively maintained
Downloads / month598.7K59.1M
Downloads, month over month-43%+3%
GitHub stars–739
Stars, last 7 days––
Direct dependents125644
Last releaseAug 24, 2023Nov 4, 2026
Releases, 12 months010
Weeks with commits–10 / 26
Recent contributors–2
First releaseJan 2017Mar 2017
Python versions–3.11 – 3.15
LicenseMITApache-2.0
Known vulnerabilitiesNoneNone

Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.

Related comparisons

  • jsonpath vs jmespath
  • jsonpath vs jsonpath-python
  • jsonpath vs jsonpath-rust-bindings
  • jsonpath vs objectpath
  • jsonpath-ng vs bc-jsonpath-ng
  • jsonpath-ng vs jsonpath-rw
  • jsonpath-ng vs python-jsonpath

Add to this comparison

  • + jmespath
  • + jsonpath-python
  • + jsonpath-rust-bindings
  • + objectpath
  • + bc-jsonpath-ng
  • + jsonpath-rw
  • + python-jsonpath