Catalog PyPI
PACKAGE EXPLORERView in registry

aero-jmespath

PyPI

Native JMESPath engine for Python — Aero-compiled kernel with jsonpath-ng compatibility

aerojsonjsonpathnativequery
Versions collected1
Direct dependencies0From release 0.4.0
Last observed20 Oct, 20:47 UTC

README

Version 0.4.0 documentation

aero-jsonpath

Native JSONPath engine for Python, powered by an Aero-compiled kernel.

Why

jsonpath-ng is the standard Python JSONPath library, but its pure-Python evaluator can be slow on large documents with complex queries (filters, descendants). aero-jsonpath provides a drop-in native kernel that handles the common JSONPath subset 2–6× faster on filter/descendant workloads.

Performance

Benchmark: 2000-book document, full pipeline (parse JSON → evaluate JSONPath → serialize result).

Expressionaero (q/s)jsonpath-ng (q/s)Speedup
$.store.book[*].title3231921.69×
$..author261445.98×
$..book[?(@.isbn)]144373.90×
$.store.book[?(@.price < 10)].title2821631.73×
$.store.book[?(@.price < 15 & @.category == 'fiction')].title2781102.54×
$..book[0,1,2].title191513.77×

Install

pip install aero-jsonpath

Usage

import json
from aero_jsonpath import search

data = {"store": {"book": [{"title": "A", "price": 8.95}, {"title": "B", "price": 12.99}]}}

# search returns a list of matched values
results = search("$.store.book[?(@.price < 10)].title", json.dumps(data))
# → ["A"]

Supported JSONPath subset

  • $ root, @ current
  • .field, ['field'], [*], .*
  • [index], [0,1] multi-index
  • [start:end:step] slice
  • .. descendant
  • where / wherenot
  • | union, & intersect
  • [?(expr)] filter with == != < <= > >= and existence checks

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.4.010 Oct 20260

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
sereincin/aero-jsonpath

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:47 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:caef52394c6f556c0a5ebf198f1a8e36ad21a0e25a481b22061c7f256b5a75fc