--- id: jsonpath-rw-ext version: "1.2.2" license: unclear license_treatment: permissive maintenance: abandoned --- # jsonpath-rw-ext — Extensions for JSONPath RW License: permissive · Maintenance: abandoned · Downloads: 1.4M/mo ## What it is and what it does jsonpath-rw-ext adds query and transformation extensions to the jsonpath-rw library, allowing you to extract, filter, sort, and perform arithmetic operations on JSON data using an extended JSONPath syntax. It provides shortcuts like len (get list length), sorted (return sorted lists), filter (select elements by condition), arithmetic operators (+, -, *, /), and string operations (sub for regex substitution, split for string splitting). You use it by importing the module and calling parse() or match() functions with JSONPath expressions that include these extensions. The package is intended as a staging ground for features proposed upstream to jsonpath-rw; those that are accepted upstream may eventually be removed from here. It has low install friction but is no longer actively maintained, with the last release in 2019. Use it for: - Extract and filter elements from nested JSON APIs using advanced query syntax beyond standard JSONPath. - Perform calculations across JSON array elements, such as summing or combining values from multiple fields. - Sort JSON objects by a field value or filter them by conditional expressions in a single query. - Transform JSON strings using regex substitution or splitting operations within a JSONPath expression. - Migrate from jsonpath-rw to a richer query language without rewriting your entire codebase. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Extends JSONPath RW with additional query operations: len, sorted, filter, arithmetic, sub, and split functions for querying and transforming JSON data. No—unless you are maintaining legacy code already using this package. The project is abandoned (last commit 2021-08-06, last release 2019-07-12) with no active maintenance or security updates. For new projects, use a maintained JSONPath library or consider alternatives like jsonpath-ng or jmespath that are actively developed and support modern Python versions. ## Install pip install jsonpath-rw-ext uv add jsonpath-rw-ext poetry add jsonpath-rw-ext ## Installing jsonpath-rw-ext Before you install: Low install friction with only two runtime dependencies (jsonpath-rw and pbr). However, the package is abandoned—last release was 2019-07-12 and last commit 2021-08-06—so no active maintenance or security updates should be expected. License in practice: Licensed under Apache (permissive), which allows commercial and private use with minimal restrictions, though you assume responsibility for any issues since the package is no longer maintained. Quickstart: pip install jsonpath-rw-ext import jsonpath_rw_ext as jp result = jp.match('$.cow[*]', {'cow': ['foo', 'bar']}) print(result) # ['foo', 'bar'] Verify before relying: - Whether the package works reliably with modern Python versions beyond 3.4, given its age and lack of recent testing. - Compatibility with current versions of the jsonpath-rw dependency and whether breaking changes have occurred upstream. ## Package facts - License: not declared (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 1.4M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags jsonpath extensions, json query filtering, json path arithmetic, json data extraction, jsonpath rw extensions, json sorting and filtering, json path operations, json-querying, abandoned [View on SkillFed](https://skillfed.io/packages/jsonpath-rw-ext) · [View on PyPI](https://pypi.org/project/jsonpath-rw-ext/)