Skip to main content

mini-jq 🚀

A lightweight, zero-dependency command-line utility written in pure Python designed to query, filter, and transform JSON data from standard input or files using a simplified dot-notation query language.

Installation

pip install .

Usage

Query JSON data directly from a file or via standard input:

cat data.json | mjq "users[?age > 18].name"

Or pass a file argument:

mjq "store.books[0].title" data.json

Features

  • Path Navigation: Traverse nested dictionaries and lists (.store.owner, books[0].title).
  • Array Slicing & Projections: Map fields across lists (books[*].title).
  • Conditional Filtering: Filter lists using comparison operators (users[?age > 18]).
  • Flexible Output: Pretty-printed output by default, or compact minified JSON via -c / --compact.

Metadata

Release files for mini-jq 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mini-jq 0.1.0
File Size Uploaded Provenance Actions
mini_jq-0.1.0.tar.gz 3.9 kB Without provenance Details for mini_jq-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mini-jq 0.1.0
File Interpreter ABI Platform Actions
mini_jq-0.1.0-py3-none-any.whl Python 3 none any Details for mini_jq-0.1.0-py3-none-any.whl

Total release size: 8.9 kB

Release files / mini_jq-0.1.0.tar.gz

Download URL mini_jq-0.1.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
060228dc077c6ef61ef3738790268f1416647a5a30f8c2c50002eb751959ba40
BLAKE2b-256 checksum
How to use checksums
43cf8230894101f9a9919123789407198e9372df0150c7286fd7d2d9a99a73c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / mini_jq-0.1.0-py3-none-any.whl

Download URL mini_jq-0.1.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af74e98d65e3a6e7e15a4973a827a93919cef16a8cd0124700abba370c55d1fd
BLAKE2b-256 checksum
How to use checksums
9d4024815a1f2c9441dd098fd54969e5a27dd51f47c322dc2d9d0984a9e5b0e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for mini-jq 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page