Registry / serialization / jsonpath-rust-bindings

jsonpath-rust-bindings

JSON →
library1.1.1pypypi✓ verified 80d ago

Python bindings for the high-performance `jsonpath-rust` library, enabling fast JSONPath querying of Python dictionaries. It's currently at version 1.1.1 and has a relatively stable release cadence, focusing on minor updates and bug fixes.

pip install jsonpath-rust-bindings
INSTALL
IMPORT
SIG · JSONPATH-RUST-BIND
J
jsonpath-rust-bindings
serializationpythonv1.1.1
Install
1.7s avg
Import
Disk
18MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.1.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 20.5MB
glibc
py 3.103.910 runs
installs and imports cleanly · install 1.7s · import 0.000s · 21MB
18MB installed
● package 18MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Finder
from jsonpath_rust_bindings import Finder
from jsonpath_rust_bindings import JsonPath
JsonPathResult
from jsonpath_rust_bindings import JsonPathResult
jsonpath_rust_bindings
import jsonpath_rust_bindings

Parses a JSONPath expression and applies it to a Python dictionary, returning matching elements.

from jsonpath_rust import JsonPath data = { "store": { "book": [ { "category": "reference", "author": "Nigel Rees", "title": "Sayings of the Century", "price": 8.95 }, { "category": "fiction", "author": "Evelyn Waugh", "title": "Sword of Honour", "price": 12.99 } ], "bicycle": { "color": "red", "price": 19.95 } } } jsonpath = JsonPath.parse('$.store.book[*].author') result = jsonpath.find(data) print(result)
Debug
Known issues
breakingThe API for parsing and querying JSONPaths changed significantly in version 1.0.0. Module-level functions like `jsonpath_rust.parse()` and `jsonpath_rust.select()` were removed.
fix
Migrate to using the `JsonPath` class methods: `JsonPath.parse(path_string)` followed by `jsonpath_object.find(data)`.
affects: >=1.0.0
gotchaEnsure your JSONPath syntax adheres strictly to the `jsonpath-rust` implementation. It may differ subtly from other JSONPath engines or custom implementations, especially concerning advanced features or edge cases.
fix
Consult the JSONPath specification that `jsonpath-rust` aims to follow or test your paths thoroughly with the library to ensure compatibility.
affects: All
gotchaWhile highly performant due to Rust, querying extremely large or deeply nested JSON documents repeatedly may still incur performance costs within Python's object model.
fix
Profile your application to identify bottlenecks. For static JSONPaths, parse them once using `JsonPath.parse()` and reuse the `JsonPath` object across multiple queries.
affects: All
Upgrade
Version history
1.1.1latest on PyPI · released Nov 16, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Resources
jsonpath-rust-bindings — pip install jsonpath-rust-bindings · libregistry