{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/4"}],"enrichment":{"capability":"Parses and queries JSON structures using JSONPath expressions, supporting arithmetic operators, binary comparisons, and AST manipulation for extracting, updating, or removing nodes.","skillfed_tags":["json-query","ast-manipulation"],"use_cases":["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."],"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.\n\nYou 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.","worth_installing":"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)\u2014suitable for stable production use but not for projects requiring active bug fixes or feature development."},"id":"bc-jsonpath-ng","links":{"html":"https://skillfed.io/packages/bc-jsonpath-ng","md":"https://skillfed.io/packages/bc-jsonpath-ng.md","pypi":"https://pypi.org/project/bc-jsonpath-ng/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-11-26","license_spdx":null,"license_treatment":"permissive","name":"bc-jsonpath-ng","python_support":"supports_current","summary":"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."},"popularity":{"monthly_downloads":4425449,"position":2305,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.6.1"}
