Skip to main content

jlkit

A JSONL-native command-line toolkit. jq is a per-line expression language and jless/jnv are viewers — none give ergonomic dataset-level operations on newline-delimited JSON, the format every LLM / eval / log / data pipeline emits. jlkit does.

Everything streams: it never loads the whole file and it tolerates malformed lines (reporting them by number where that matters).

Status: beta (v0.1.0). All seven subcommands work; PyPI release imminent.

Install

uvx jlkit --help      # or: pipx install jlkit

Usage

jlkit head -n 20 data.jsonl
cat data.jsonl.gz | jlkit tail 5
jlkit select id,user.name,ts events.jsonl

# keep records matching a safe predicate (no eval): ==,!=,<,<=,>,>=,
# exists, contains, and/or/not, parens, dotted paths
jlkit filter 'status == "error" and retries > 3' logs.jsonl
jlkit filter 'user.name contains "bot" or not active' events.jsonl

# per-field presence %, null %, observed types, numeric min/max/mean/stddev,
# string cardinality (nested keys shown as dotted paths)
jlkit stats data.jsonl

# infer a JSON Schema (draft 2020-12) over a full pass
jlkit schema data.jsonl > schema.json

# report malformed lines (and, with --schema, non-conforming records) by
# 1-indexed line number; exits non-zero on any failure — CI-friendly
jlkit validate data.jsonl
jlkit validate --schema schema.json data.jsonl

--limit N stops after N input records; every command reads stdin or a file arg and handles .gz transparently.

Development

python -m venv .venv && .venv/bin/pip install pytest
.venv/bin/python -m pytest -q

License

MIT

Metadata

Release files for jlkit 0.1.1

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

Source distribution (sdist)

Source distribution for jlkit 0.1.1
File Size Uploaded Provenance
jlkit-0.1.1.tar.gz 11.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for jlkit 0.1.1
File Interpreter ABI Platform
jlkit-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 22.2 kB

Release files / jlkit-0.1.1.tar.gz

Download URL jlkit-0.1.1.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
dc0165e333b1d26575e9d6b370fa4fe683ab64a23d6ee910f3029b21aafdc04f
BLAKE2b-256 checksum
How to use checksums
74679d570194bf8135a8f823a8f7b1d6fa9cc7215a8358b1088e6fc3d9f827d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / jlkit-0.1.1-py3-none-any.whl

Download URL jlkit-0.1.1-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c70f34d0b12f05133c048948d918208224e609f65c864e46372dd808302597b
BLAKE2b-256 checksum
How to use checksums
1163a8d932e054a9618199ea9e51ee20b9a95181cb8e7ebf73f27843801da501
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for jlkit 0.1.1

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.1 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