skillfed

jsonpath-python

A lightweight and powerful JSONPath implementation for Python

jsonpath-python Permissive license MIT License Copyright (c) 2020 sean2077 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in… (full text in the JSON record) Active 49 v1.1.6 released

Install

jsonpath-python on PyPI

pip

pip install jsonpath-python

uv

uv add jsonpath-python

poetry

poetry add jsonpath-python

Package facts

License MIT License Copyright (c) 2020 sean2077 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in… (full text in the JSON record) (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 98 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: jsonpath_python-1.1.6-py3-none-any.whl

Keywords: extractor, json, jsonpath, parser, path

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: Markup

About jsonpath-python

from the package's own PyPI description — quoted content, verbatim

jsonpath-python

CI (image) codecov (image) PyPI version (image) Python versions (image) License (image)

A lightweight and powerful JSONPath implementation for Python.

Why jsonpath-python?

There are already several JSONPath libraries in Python, so why choose this one?

  1. Lightweight & Zero Dependency: Unlike jsonpath-ng which relies on complex AST parsing frameworks like ply, jsonpath-python is implemented with pure Python string parsing. It has zero third-party dependencies, making it incredibly easy to integrate into any environment.
  2. Simple & Pythonic: The implementation is...

Read as markdown · JSON record · Source repository · Homepage

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

Extracts, filters, sorts, and updates values in JSON data using JSONPath expressions, with zero runtime dependencies and pure Python parsing.

Installs with no runtime dependencies; actively maintained with last commit 2026-05-07 and recent release cycle.

MIT License permits unrestricted use, modification, and distribution in both open and closed projects.

Usage

pip install jsonpath-python
from jsonpath import JSONPath
result = JSONPath("$.book[*].price").parse(data)

Requires Python 3.8 or later.

Verdict: A lightweight, actively maintained JSONPath library with zero dependencies, MIT licensing, and no known vulnerabilities. Well-suited for straightforward JSON querying and manipulation in Python 3.8+.

Needs verification

  • Whether the library's non-standard JSONPath extensions (filtering, sorting, updating) align with your data manipulation needs versus strict RFC 9535 compliance.
  • Performance characteristics on large JSON structures compared to alternatives.
json path queryjsonpath extractorjson filteringjson data selectionxpath for jsonjson value extractionlightweight jsonpath

Similar packages