jsonquerylang
A lightweight, flexible, and expandable JSON query language
Decision gist · record as of 2026-08-14
Yes, if you need a lightweight, permissive-licensed JSON query tool and can tolerate aging maintenance. The low install friction, lack of security issues, and broad Python version support make it a reasonable choice for filtering and transforming JSON. However, verify that the query syntax and custom function API meet your needs before committing to it in production, and be prepared for slower issue resolution.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction—pure Python wheel with a single runtime dependency (regex).
- Last release was 248 days ago; maintenance status is aging, so expect slower response to issues.
License · maintenance · safety
ISC (permissive) — ISC license is permissive and poses no restrictions on commercial or private use, modification, or redistribution.
last release 2025-12-09 (248 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 204,998 downloads/mo, #9,594 on PyPI
Alternatives
Verify before relying
pip install jsonquerylang
from jsonquerylang import jsonquery
data = {"friends": [{"name": "Chris", "age": 23, "city": "New York"}]}
result = jsonquery(data, '.friends | filter(.city == "New York") | pick(.name, .age)')
print(result)- Whether custom operators and functions are stable and well-documented for production use.
- Performance characteristics when querying large JSON structures or deeply nested data.
- Community adoption and real-world usage patterns beyond the top-15000 popularity tier.
What it is and what it does
jsonquerylang is a Python implementation of JSON Query, a domain-specific language for extracting and transforming JSON data. It lets you write queries that navigate JSON structures, filter arrays, sort results, and pick specific fields—similar to how you might use jq on the command line, but as a Python library. Queries can be written in a readable text syntax (e.g., `.friends | filter(.city == "New York")`) or as JSON arrays, and the library compiles them into executable functions.
The package depends only on regex and installs as a pure Python wheel, making it lightweight. It supports Python 3.7 through 3.13 and includes an API for compiling queries for reuse, parsing text queries into JSON form, and extending the language with custom functions and operators. The last release was 248 days ago and maintenance is aging, so updates may be infrequent.
Use it for
- Extract and filter nested JSON API responses before passing them to downstream processing.
- Transform JSON configuration files by selecting specific fields and applying conditional logic.
- Sort and aggregate array data within JSON structures without writing imperative loops.
- Build reusable query templates by compiling queries once and executing them against multiple datasets.
- Implement custom query logic by adding domain-specific functions to the query language.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need a lightweight, permissive-licensed JSON query tool and can tolerate aging maintenance.
The low install friction, lack of security issues, and broad Python version support make it a reasonable choice for filtering and transforming JSON. However, verify that the query syntax and custom function API meet your needs before committing to it in production, and be prepared for slower issue resolution.
Install
jsonquerylang on PyPI
Before you install
Low install friction—pure Python wheel with a single runtime dependency (regex). Last release was 248 days ago; maintenance status is aging, so expect slower response to issues.
License in practice
ISC license is permissive and poses no restrictions on commercial or private use, modification, or redistribution.
Quickstart
pip install jsonquerylang
from jsonquerylang import jsonquery
data = {"friends": [{"name": "Chris", "age": 23, "city": "New York"}]}
result = jsonquery(data, '.friends | filter(.city == "New York") | pick(.name, .age)')
print(result)
Verify before relying
- Whether custom operators and functions are stable and well-documented for production use.
- Performance characteristics when querying large JSON structures or deeply nested data.
- Community adoption and real-world usage patterns beyond the top-15000 popularity tier.
Package facts
| License | ISC permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageregex |
| Maintenance | Aging 248 days since the last release |
| First released | |
| Downloads | 204,998 / month, #9,594 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: ISC License (ISCL)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: jsonquerylang-2.1.0-py3-none-any.whl
Tags
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 › “filter and transform json”
- jsonquerylangExecutes queries against JSON data using a specialized query…
- pandocfiltersProvides Python utilities for writing pandoc filters that transform…
- jsonpath-rw-extExtends JSONPath RW with additional query operations: len, sorted,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Text Processing packages
A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.
pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.
Install it if you need to parse text or define grammars programmatically.
fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.
Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.
Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.
RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.
Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.
tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.
Install it if your project requires CSS tokenization or syntax manipulation.
See also mongo-query-match · jsonpath-python · sqlalchemy-filters · fix-busted-json · jsonslicer · json-flatten · python-jsonpath · jsonpath-rw-ext · zipcodes · trustcall