$npx skillfedfor your agent

jq

jq is a lightweight and flexible JSON processor.

Worth itPyPI Text ProcessingReleased Jul 20267.0M downloads / moBSD-2-ClausePlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — jq-1.12.0-cp310-cp310-macosx_10_9_x86_64.whl · jq-1.12.0-cp310-cp310-macosx_11_0_arm64.whl · jq-1.12.0-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
v1.12.0 · released 2026-07-10 · Python >=3.8

Yes. jq is actively maintained, has no known vulnerabilities, runs on current Python versions, and offers prebuilt wheels for common platforms. Install friction is moderate but manageable. Use it if you need jq's query language in Python; if you only need basic JSON manipulation, the standard library json module may suffice.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • If no prebuilt wheel is available, building from source requires autoconf, libtool, a C compiler, and Python development headers.
  • Medium install friction: prebuilt wheels exist for Python 3.8–3.14 on Linux, macOS, and Windows, but fallback source builds require autoconf, libtool, a C compiler, and Python headers.
  • Set JQPY_USE_SYSTEM_LIBS=1 to use system libjq instead of building it.

License · maintenance · safety

BSD-2-Clause (permissive) — BSD-2-Clause is permissive; you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2026-07-10 (35 days) · last repo commit 2026-07-10 · 452 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 7,021,577 downloads/mo, #1,798 on PyPI

Verify before relying

pip install jq

import jq

result = jq.compile(".+5").input_value(42).first()
assert result == 47
  • Whether jq 1.8.2 is the latest upstream version or if newer versions are available
  • Performance characteristics compared to other JSON query libraries in Python
  • Whether PyPy support is actively tested or only declared
Same gist for agents: .md · .json

What it is and what it does

jq is a Python wrapper around the jq JSON query language (version 1.8.2), letting you write jq programs in Python and apply them to JSON data. It compiles a jq program string into an executable object, then chains input methods (input_value, input_values, input_text) to supply data and output methods (first, all, text, iter) to retrieve results. The package handles both parsed JSON values and raw JSON text, supports multiple outputs per query, and allows passing variables into programs via the args parameter.

The main use case is querying and transforming JSON structures using jq's expressive filter syntax without shelling out to the jq command-line tool. It has no runtime dependencies beyond the compiled jq library itself, and prebuilt wheels cover most common platforms and Python versions, though building from source on unsupported platforms requires a C toolchain.

Use it for

  • Extract and transform JSON data in data pipelines using jq's filter syntax instead of manual dict manipulation.
  • Parse streaming JSON text (newline-delimited or slurped) and apply complex queries in a single call.
  • Integrate jq programs written for command-line use into Python applications without subprocess overhead.
  • Filter and reshape nested JSON structures with jq's array/object operators and built-in functions.
  • Build JSON query tools that accept jq program strings as user input and execute them safely.

Worth the install?

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

Worth it

Yes.

jq is actively maintained, has no known vulnerabilities, runs on current Python versions, and offers prebuilt wheels for common platforms. Install friction is moderate but manageable. Use it if you need jq's query language in Python; if you only need basic JSON manipulation, the standard library json module may suffice.

Install

jq on PyPI

Before you install

Medium install friction: prebuilt wheels exist for Python 3.8–3.14 on Linux, macOS, and Windows, but fallback source builds require autoconf, libtool, a C compiler, and Python headers. Set JQPY_USE_SYSTEM_LIBS=1 to use system libjq instead of building it.

If no prebuilt wheel is available, building from source requires autoconf, libtool, a C compiler, and Python development headers.

License in practice

BSD-2-Clause is permissive; you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install jq

import jq

result = jq.compile(".+5").input_value(42).first()
assert result == 47

Verify before relying

  • Whether jq 1.8.2 is the latest upstream version or if newer versions are available
  • Performance characteristics compared to other JSON query libraries in Python
  • Whether PyPy support is actively tested or only declared

Package facts

LicenseBSD-2-Clause permissive
Python supportSupports the current Python release >=3.8
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 35 days since the last release
Last repo commit
First released
Downloads7,021,577 / month, #1,798 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 :: DevelopersProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Evidence: jq-1.12.0-cp310-cp310-macosx_10_9_x86_64.whl; jq-1.12.0-cp310-cp310-macosx_11_0_arm64.whl; jq-1.12.0-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl; jq-1.12.0-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl; jq-1.12.0-cp310-cp310-musllinux_1_2_aarch64.whl; jq-1.12.0-cp310-cp310-musllinux_1_2_x86_64.whl; jq-1.12.0-cp310-cp310-win_amd64.whl; jq-1.12.0-cp311-cp311-macosx_10_9_x86_64.whl; jq-1.12.0-cp311-cp311-macosx_11_0_arm64.whl; jq-1.12.0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl; jq-1.12.0-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl; jq-1.12.0-cp311-cp311-musllinux_1_2_aarch64.whl; jq-1.12.0-cp311-cp311-musllinux_1_2_x86_64.whl; jq-1.12.0-cp311-cp311-win_amd64.whl; jq-1.12.0-cp312-cp312-macosx_10_13_x86_64.whl; jq-1.12.0-cp312-cp312-macosx_11_0_arm64.whl; jq-1.12.0-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl; jq-1.12.0-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl; jq-1.12.0-cp312-cp312-musllinux_1_2_aarch64.whl; jq-1.12.0-cp312-cp312-musllinux_1_2_x86_64.whl

Tags

Capabilities
jq json processor pythonjson query language pythonjq bindingsjson filtering pythonjq program execution
Topics
json-querydata-transformation

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 › “jq json processor python”

  • jqPython bindings for jq 1.8.2 that let you compile and execute jq…
  • yqyq is a command-line processor that applies jq filters to YAML, XML,…
  • jcConverts output from popular CLI tools, file-types, and strings into…

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

More Text Processing packages

regex Worth it
PyPI · Python Modules · released Jul 2026

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.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyparsing Worth it
PyPI · Text Processing · released Jan 2026

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.

MITpure Python · 3.9+
412.7Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

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.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
RapidFuzz Worth it
PyPI · Text Processing · released Apr 2026

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.

MITcompiled wheel · 3.10+
184.2Mdownloads / mo
tinycss2 Worth it
PyPI · Text Processing · released Nov 2025

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.

BSD-3-Clausepure Python · 3.10+
113.2Mdownloads / mo

See also yq · jsonpath-rfc9535 · mongo-query-match · json-stream · jsonschema-rs · injective-py · bc-jsonpath-ng · postal · pycups · jsonquerylang