$npx skillfedfor your agent

gron

Python library to grep JSON.

With conditionsPyPI UtilitiesReleased Aug 2024514.1K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — gron-1.4.0-py3-none-any.whl
v1.4.0 · released 2024-08-24 · Python >=3.10

Yes, if you work with JSON on the command line and want to leverage Unix text tools for searching and filtering. The package is stable, has no dependencies, and installs easily. The dormant maintenance status is not a concern for a mature, single-purpose tool with no external dependencies, but verify that the feature set meets your needs—it is primarily a CLI tool, not a general-purpose JSON library.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low friction install with no runtime dependencies.
  • Maintenance is dormant (last commit 2024-11-25, no activity for 720 days), but the package is marked Production/Stable and has received a recent release.

License · maintenance · safety

permissive license (permissive) — MIT License permits unrestricted use, modification, and distribution with only attribution and liability disclaimer required—no restrictions on commercial or private use.

last release 2024-08-24 (720 days) · last repo commit 2024-11-25 · 17 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 514,095 downloads/mo, #6,240 on PyPI

Verify before relying

pip install gron

# Command-line usage:
gron input.json

# Or pipe JSON to stdin:
cat data.json | gron
  • Whether the package provides a Python API for programmatic use or is primarily a CLI tool.
  • Performance characteristics when handling large JSON files.
  • Exact feature parity with the original Go implementation of gron.
Same gist for agents: .md · .json

What it is and what it does

Gron is a Python implementation of the original gron tool that converts JSON into a line-oriented, grep-friendly format. Each line represents one value assignment with its complete path, making it straightforward to search, filter, and analyze JSON data using standard Unix tools like grep, awk, and sed.

The tool reads JSON from a file or stdin and outputs each field and value as a separate line in the form `json.path.to.field = value;`, with array indices shown as `[n]`. This transformation makes JSON data searchable without needing specialized JSON query tools, and the output can be piped back through gron's reverse function to reconstruct the original JSON. It requires Python 3.10 or later and has no external runtime dependencies.

Use it for

  • Search for specific keys or values in large JSON files using grep patterns.
  • Extract particular fields from complex nested JSON structures via command-line filters.
  • Debug API responses by viewing JSON in a line-by-line format that's easier to scan.
  • Combine JSON queries with Unix text processing tools (grep, awk, sed) in shell pipelines.
  • Convert JSON to a format suitable for version control diffs or line-based analysis.

Worth the install?

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

With conditions

Yes, if you work with JSON on the command line and want to leverage Unix text tools for searching and filtering.

The package is stable, has no dependencies, and installs easily. The dormant maintenance status is not a concern for a mature, single-purpose tool with no external dependencies, but verify that the feature set meets your needs—it is primarily a CLI tool, not a general-purpose JSON library.

Install

gron on PyPI

Before you install

Low friction install with no runtime dependencies. Maintenance is dormant (last commit 2024-11-25, no activity for 720 days), but the package is marked Production/Stable and has received a recent release.

Requires Python 3.10 or later.

License in practice

MIT License permits unrestricted use, modification, and distribution with only attribution and liability disclaimer required—no restrictions on commercial or private use.

Quickstart

pip install gron

# Command-line usage:
gron input.json

# Or pipe JSON to stdin:
cat data.json | gron

Verify before relying

  • Whether the package provides a Python API for programmatic use or is primarily a CLI tool.
  • Performance characteristics when handling large JSON files.
  • Exact feature parity with the original Go implementation of gron.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceDormant 720 days since the last release
Last repo commit
First released
Downloads514,095 / month, #6,240 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 :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3

Evidence: gron-1.4.0-py3-none-any.whl

Tags

Capabilities
grep jsonjson line by linejson search tooljson to text formatflatten json for grepjson query command linejson path extraction
Topics
json-clitext-processing

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 › “grep json”

  • gronTransforms JSON into grep-able line-by-line output, where each line…
  • tensor-grepA high-performance grep-compatible command-line search tool with…
  • ripgrepProvides a Python interface to ripgrep (rg), a fast regex-based line…

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

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also parquet · pandocfilters · JSON_minify · jsonlines · ast-grep-cli · grep-ast · tensor-grep · bash · ripgrep · igittigitt