Skip to main content

jsift

Python bindings for jsift, a blisteringly fast JSONL search engine written in Zig. A SIMD search over the raw bytes skips every line that can't match, and a validating JSON parser decides the rest exactly. It is 20–60x faster than jq, and the results are exact.

pip install jsift

The search runs in-process in native code, with the GIL released. Nothing runs as a subprocess.

import jsift

# Matching lines, parsed
jsift.search("level eq error AND status gte 500", file="app.jsonl")
# -> [{"level": "error", "status": 503, ...}, ...]

# Count only
jsift.count("level eq error", file="app.jsonl")          # -> 1234

# Pull out fields, or aggregate
jsift.select("service,latency_ms WHERE status eq 200", file="app.jsonl")
jsift.search("SELECT service,avg:latency_ms WHERE status eq 200", file="app.jsonl")

# Data already in memory (bytes or str)
jsift.search("user.id in 1,2,3", data=b'{"user": {"id": 2}}\n')

# Raw matching lines without parsing them (fastest)
jsift.search_lines("level eq error", file="app.jsonl", limit=100)

# Byte-level matching only: faster, approximate
jsift.count("level eq error", file="app.jsonl", fast=True)

# Low level: exactly the CLI's output, in any format
jsift.run("SELECT name,age", file="people.jsonl", format="csv", header=True).output

A query is a string, split the way a shell splits a command line, or a list of tokens. The language is the same as the CLI's:

Operators eq, neq, gt, lt, gte, lte, has, exists, in
Logic AND, OR (AND binds tighter), NOT before a condition
Paths user.id for nested keys, a\.b for a literal dot
Types auto-detected; force with s: (string), n: (number), b:true
Aggregations count:f, sum:f, min:f, max:f, avg:f

An invalid query, or a file that can't be read, raises jsift.JsiftError.

Wheels are available for Linux (x86_64 and aarch64, glibc and musl) and macOS (arm64 and x86_64). They work on every Python version from 3.9 up.

Metadata

Release files for jsift 3.0.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 jsift 3.0.0
File Size Uploaded Provenance Actions
jsift-3.0.0.tar.gz 78.7 kB With provenance Details for jsift-3.0.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for jsift 3.0.0
File Actions
jsift-3.0.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for jsift-3.0.0-py3-none-musllinux_1_2_x86_64.whl
jsift-3.0.0-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for jsift-3.0.0-py3-none-musllinux_1_2_aarch64.whl
jsift-3.0.0-py3-none-manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for jsift-3.0.0-py3-none-manylinux_2_17_x86_64.whl
jsift-3.0.0-py3-none-manylinux_2_17_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for jsift-3.0.0-py3-none-manylinux_2_17_aarch64.whl
jsift-3.0.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for jsift-3.0.0-py3-none-macosx_11_0_x86_64.whl
jsift-3.0.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for jsift-3.0.0-py3-none-macosx_11_0_arm64.whl

Total release size: 1.2 MB

Release files / jsift-3.0.0.tar.gz

Download URL jsift-3.0.0.tar.gz
Size 78.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8587882100a5535c179a67bd8f62177f9d598215c78228906a5ce7477ccbdcf5
BLAKE2b-256 checksum
How to use checksums
de2276c040397469a0ac49b6c76be475eabadedf780e646cd23d4b700de29f29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / jsift-3.0.0-py3-none-musllinux_1_2_x86_64.whl

Download URL jsift-3.0.0-py3-none-musllinux_1_2_x86_64.whl
Size 201.0 kB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
f7cdbe9cfbfcefe142874d6aaab0a03538735f2d6dae3d9e9dd0a7ae8b89f8a2
BLAKE2b-256 checksum
How to use checksums
e327fe557e5a436cd2f4263e9158978b2808017b1aae69cb838f693ae4d14853
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / jsift-3.0.0-py3-none-musllinux_1_2_aarch64.whl

Download URL jsift-3.0.0-py3-none-musllinux_1_2_aarch64.whl
Size 192.7 kB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
1193d3a1642a3ea9be0ee2a9c70c0b0409fbd2b25270f4e9d8c580b8470e6e9a
BLAKE2b-256 checksum
How to use checksums
8b609623bec82dc25beb273c1ae078b0330a28caacb5b7cc1cebe7a9f21d8422
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / jsift-3.0.0-py3-none-manylinux_2_17_x86_64.whl

Download URL jsift-3.0.0-py3-none-manylinux_2_17_x86_64.whl
Size 202.6 kB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
f51a26a24c55309bd1c1486cb8dc6454cad3b8aedf412ffae872c12dc15578bb
BLAKE2b-256 checksum
How to use checksums
84ab16b359da2b80c13eb3aa1ad7156c0fa3381dd89878bb494ed290e47b80f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / jsift-3.0.0-py3-none-manylinux_2_17_aarch64.whl

Download URL jsift-3.0.0-py3-none-manylinux_2_17_aarch64.whl
Size 194.7 kB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
d9e087c3f60c61854d425ba4419639d1503e22608b4109626398de5df48a9377
BLAKE2b-256 checksum
How to use checksums
d7e08c9294cc715d399734ef78cc1bf6db0a7f48df742a07a0771e0415bc25a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / jsift-3.0.0-py3-none-macosx_11_0_x86_64.whl

Download URL jsift-3.0.0-py3-none-macosx_11_0_x86_64.whl
Size 180.8 kB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
4ed944f72d329d5621b31d4c69de6ef6f832cfa7efcdd20c30060f267884d55d
BLAKE2b-256 checksum
How to use checksums
1eb5996cee0a01a17be144ed779baf4e55a05f7436159fc274227bd2c1b3bce3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / jsift-3.0.0-py3-none-macosx_11_0_arm64.whl

Download URL jsift-3.0.0-py3-none-macosx_11_0_arm64.whl
Size 168.7 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3a1338b17c55af3cefc03b9ab66bc0e9348aca39167051c580f3ff0ded64fd6f
BLAKE2b-256 checksum
How to use checksums
7ad1524fe2c68bf6e81cb65a59a7b5df41fee57dd71e773527911fd29c9e717d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for jsift 3.0.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.

Full provenance

All 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for jsift-3.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

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.

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