--- id: objectpath version: "0.6.1" license: MIT License license_treatment: permissive maintenance: abandoned --- # objectpath — The agile query language for semi-structured data. #JSON License: permissive · Maintenance: abandoned · Downloads: 282.9K/mo ## What it is and what it does ObjectPath is a query language designed to search and extract data from nested JSON documents. It combines ideas from XPath, JSONPath, and SQL to provide a more expressive alternative to simple path-based selectors, supporting arithmetic calculations, comparisons, boolean logic, and built-in functions. You create a Tree object from a JSON structure and execute queries against it using ObjectPath's query syntax. The package is mature but abandoned: the last release was in 2018, and the original maintainer explicitly stated they no longer maintain it and are not accepting pull requests. While it has no runtime dependencies and installs easily, using it in new projects carries the risk of encountering unpatched bugs or incompatibilities with newer Python versions, since there is no active support or development. Use it for: - Extract specific fields from deeply nested JSON API responses without manual traversal - Query large JSON documents with complex filtering conditions that simple path selectors cannot express - Perform calculations or comparisons on JSON data as part of a query (e.g., find all records where a nested value exceeds a threshold) - Migrate XPath-based XML processing logic to work with JSON documents using familiar syntax ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. ObjectPath is a query language for finding and extracting data from nested JSON documents using a syntax similar to XPath but with SQL-like expressiveness, arithmetic, and built-in functions. No, unless you are maintaining legacy code that already depends on ObjectPath. The package is abandoned (last release 2018, no maintenance since), with the maintainer explicitly not accepting contributions. For new projects, use actively maintained alternatives like jsonpath-ng or jmespath that provide similar functionality with ongoing support and Python version compatibility. ## Install pip install objectpath uv add objectpath poetry add objectpath ## Installing objectpath Before you install: Installation is straightforward with no runtime dependencies, but the package has been abandoned since 2018 with no maintenance activity. The maintainer explicitly stated they no longer code in Python and are not accepting pull requests, making this a legacy tool with no active support. License in practice: Licensed under MIT (permissive), so you can use, modify, and distribute ObjectPath freely in commercial and private projects without restriction, though the lack of active maintenance means no legal updates are forthcoming. Quickstart: pip install objectpath from objectpath import Tree tree = Tree({"a": 1}) result = tree.execute("$.a") print(result) # Output: 1 Verify before relying: - Whether ObjectPath works reliably with modern Python versions (3.9+) given no releases since 2018 - Current state of the JavaScript implementation mentioned as 'in beta' - Whether the query language syntax and performance remain suitable for contemporary JSON workloads ## Package facts - License: MIT License (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 282.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags JSON query language, XPath for JSON, nested JSON extraction, JSONPath alternative, query semi-structured data, JSON document search, tree traversal query, query-language, legacy-unmaintained [View on SkillFed](https://skillfed.io/packages/objectpath) · [View on PyPI](https://pypi.org/project/objectpath/)