$npx skillfedfor your agent

bc-jsonpath-ng

A final implementation of JSONPath for Python that aims to be standard compliant, including arithmetic and binary comparison operators and providing clear AST for metaprogramming.

With conditionsPyPI Python ModulesReleased Nov 20234.4M downloads / moApache License 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — bc_jsonpath_ng-1.6.1-py3-none-any.whl
v1.6.1 · released 2023-11-26 · Python >=3.8 · 2 runtime deps: ply, decorator

Yes, if you need standards-compliant JSONPath with arithmetic and comparison operators. The low install friction, permissive license, and zero security issues make it safe to add. However, note that maintenance is dormant (last commit Feb 2024, no releases for 992 days)—suitable for stable production use but not for projects requiring active bug fixes or feature development.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later.
  • Low install friction with only two runtime dependencies (ply and decorator).
  • Maintenance is dormant—last commit was 2024-02-05 and no releases for 992 days—but the package is marked Production/Stable and has seen no security issues.

License · maintenance · safety

Apache License 2.0 (permissive) — Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions; suitable for most projects.

last release 2023-11-26 (992 days) · last repo commit 2024-02-05 · 9 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,425,449 downloads/mo, #2,305 on PyPI

Verify before relying

pip install bc-jsonpath-ng

from bc_jsonpath_ng import parse

jsonpath_expr = parse('foo[*].baz')
matches = jsonpath_expr.find({'foo': [{'baz': 1}, {'baz': 2}]})
values = [match.value for match in matches]
  • Whether the dormant maintenance status (last commit Feb 2024) affects real-world reliability or if the stable API is sufficient for production use.
  • Performance characteristics when querying very large JSON documents or deeply nested structures.
  • Real-world usage patterns and whether the AST manipulation features (update/remove nodes) are actively used.
Same gist for agents: .md · .json

What it is and what it does

bc-jsonpath-ng is a JSONPath implementation for Python that provides a full language implementation rather than regex-based matching. It parses JSONPath expressions into first-class AST objects, making them easy to analyze, transform, and extend. The library supports standard JSONPath syntax plus extensions like arithmetic operators, binary comparisons, named operators, and the ability to update or remove nodes in the matched tree.

You use it by parsing a JSONPath string or building expressions programmatically, then calling find() on a JSON-like Python dict to extract matching values. The library returns match objects that preserve full path information, enabling automatic ID generation and parent traversal. It depends on ply and decorator for parsing and function decoration.

Use it for

  • Extract specific fields from nested JSON APIs or configuration files using a single expression.
  • Validate or filter JSON documents by matching against multiple conditions with operators.
  • Build tools that transform JSON structures by updating or removing matched nodes via the AST API.
  • Generate automatic unique identifiers for JSON data elements that lack them, using path information.
  • Parse and analyze JSONPath expressions themselves for query optimization or documentation.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need standards-compliant JSONPath with arithmetic and comparison operators.

The low install friction, permissive license, and zero security issues make it safe to add. However, note that maintenance is dormant (last commit Feb 2024, no releases for 992 days)—suitable for stable production use but not for projects requiring active bug fixes or feature development.

Install

bc-jsonpath-ng on PyPI

Before you install

Low install friction with only two runtime dependencies (ply and decorator). Maintenance is dormant—last commit was 2024-02-05 and no releases for 992 days—but the package is marked Production/Stable and has seen no security issues.

Requires Python 3.8 or later.

License in practice

Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install bc-jsonpath-ng

from bc_jsonpath_ng import parse

jsonpath_expr = parse('foo[*].baz')
matches = jsonpath_expr.find({'foo': [{'baz': 1}, {'baz': 2}]})
values = [match.value for match in matches]

Verify before relying

  • Whether the dormant maintenance status (last commit Feb 2024) affects real-world reliability or if the stable API is sufficient for production use.
  • Performance characteristics when querying very large JSON documents or deeply nested structures.
  • Real-world usage patterns and whether the AST manipulation features (update/remove nodes) are actively used.

Package facts

LicenseApache License 2.0 permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
plydecorator
MaintenanceDormant 992 days since the last release
Last repo commit
First released
Downloads4,425,449 / month, #2,305 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: bc_jsonpath_ng-1.6.1-py3-none-any.whl

Tags

Capabilities
json query languagejsonpath parserextract json datajson tree traversaljson filtering and selectionjson path expressionsquery json documents
Topics
json-queryast-manipulation

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 › “json filtering and selection”

  • bc-jsonpath-ngParses and queries JSON structures using JSONPath expressions,…
  • jsonquerylangExecutes queries against JSON data using a specialized query…
  • pytest-regexA pytest plugin that selects tests to run using Python regular…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also jsonpath-ng · jsonpath-python · jsonpath-rw · jsonpath-rw-ext · jmespath · jsonpath · jsonpath-rfc9535 · objectpath · python-jsonpath · robotframework-jsonlibrary