python-jsonpath
JSONPath, JSON Pointer and JSON Patch for Python.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has zero known vulnerabilities, carries a permissive MIT license, installs with no dependencies, and implements a standards-based API (RFC 9535) that is well-documented. It is suitable for production use in any Python project that needs to query or manipulate JSON data.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure Python wheel with no runtime dependencies.
- Actively maintained with a recent release; last commit 2026-07-28.
License · maintenance · safety
MIT (permissive) — MIT license (permissive); you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2026-07-07 (38 days) · last repo commit 2026-07-28 · 77 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,497,050 downloads/mo, #3,835 on PyPI
Alternatives
Verify before relying
pip install python-jsonpath
import jsonpath
data = {"users": [{"name": "Sue", "score": 100}, {"name": "John", "score": 86}]}
result = jsonpath.findall("$.users[?@.score < 100].name", data)
print(result) # ['John']What it is and what it does
Python JSONPath is a query engine that extracts data from JSON structures using JSONPath expressions. It implements the RFC 9535 standard and is tested against the JSONPath Compliance Test Suite, making it suitable for applications that need standards-compliant path-based JSON navigation. The package also bundles RFC 6901 JSON Pointer (for direct reference resolution) and RFC 6902 JSON Patch (for applying structured modifications to JSON objects).
The library has no external runtime dependencies and supports Python 3.8 through 3.14 on both CPython and PyPy. It is designed as a general-purpose tool for developers who need to query, reference, or patch JSON data programmatically—typical use cases include API response filtering, configuration file manipulation, and data transformation pipelines.
Use it for
- Extract matching records from a JSON API response using filter expressions like $.users[?@.status == 'active']
- Navigate deeply nested JSON structures with JSON Pointer to retrieve or validate specific field values
- Apply a series of add, remove, copy, or test operations to JSON objects using JSON Patch
- Build data transformation pipelines that select and modify JSON documents in bulk
- Validate JSON structure compliance by combining JSONPath queries with test assertions
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has zero known vulnerabilities, carries a permissive MIT license, installs with no dependencies, and implements a standards-based API (RFC 9535) that is well-documented. It is suitable for production use in any Python project that needs to query or manipulate JSON data.
Install
python-jsonpath on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Actively maintained with a recent release; last commit 2026-07-28.
License in practice
MIT license (permissive); you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install python-jsonpath
import jsonpath
data = {"users": [{"name": "Sue", "score": 100}, {"name": "John", "score": 86}]}
result = jsonpath.findall("$.users[?@.score < 100].name", data)
print(result) # ['John']
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 38 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,497,050 / month, #3,835 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: python_jsonpath-2.2.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “jsonpath query engine”
- python-jsonpathImplements RFC 9535-compliant JSONPath query evaluation, plus RFC…
- jsonpath-pythonExtracts, filters, sorts, and updates values in JSON data using…
- jsonpath-rfc9535Queries JSON data using RFC 9535 JSONPath expressions, returning…
Give your agent the search over MCP, or paste the wish link into any chat.
More Text Processing packages
A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.
pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.
Install it if you need to parse text or define grammars programmatically.
fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.
Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.
Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.
RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.
Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.
tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.
Install it if your project requires CSS tokenization or syntax manipulation.
See also jsonpatch · jsonpath-rfc9535 · jsonpointer · jsonpath-python · jsonpath-ng · jsonpath-rw-ext · bc-jsonpath-ng · jschon · jsonpath-rw · json-spec