jsonpath-python
A lightweight and powerful JSONPath implementation for Python
Install
jsonpath-python on PyPI
pip
pip install jsonpath-pythonuv
uv add jsonpath-pythonpoetry
poetry add jsonpath-pythonPackage 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
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?
- Lightweight & Zero Dependency: Unlike
jsonpath-ngwhich relies on complex AST parsing frameworks likeply,jsonpath-pythonis implemented with pure Python string parsing. It has zero third-party dependencies, making it incredibly easy to integrate into any environment. - 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.
Similar packages
permissive · top 1,000 on PyPI
pyprojpermissive · top 1,000 on PyPI
boolean.pypermissive · top 1,000 on PyPI
openapi-pydanticpermissive · top 1,000 on PyPI
lxmlpermissive · top 1,000 on PyPI
cssselectpermissive · top 1,000 on PyPI
genai-pricespermissive · top 1,000 on PyPI
setuptools-scmpermissive · top 1,000 on PyPI
cssselect2permissive · top 1,000 on PyPI
jsonschemapermissive · top 100 on PyPI