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, a validating JSON parser decides the rest exactly, and large inputs are scanned on
all cores. It is 85–200x faster than jaq on 8 cores (20–65x on one), 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. Large inputs are scanned on one thread per CPU, up to 8; pass threads= to
any function to change that (threads=1 for one). The result is the same either way.
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, parentheses: (a eq 1 OR b eq 2) AND c exists |
| 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, per group with GROUP BY 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.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jsift-3.1.0.tar.gz | 101.5 kB | With provenance | Details for jsift-3.1.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| jsift-3.1.0-py3-none-musllinux_1_2_x86_64.whl | Python 3 | none | Linux musl 1.2+ x86-64 | Details for jsift-3.1.0-py3-none-musllinux_1_2_x86_64.whl |
| jsift-3.1.0-py3-none-musllinux_1_2_aarch64.whl | Python 3 | none | Linux musl 1.2+ ARM64 | Details for jsift-3.1.0-py3-none-musllinux_1_2_aarch64.whl |
| jsift-3.1.0-py3-none-manylinux_2_17_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details for jsift-3.1.0-py3-none-manylinux_2_17_x86_64.whl |
| jsift-3.1.0-py3-none-manylinux_2_17_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details for jsift-3.1.0-py3-none-manylinux_2_17_aarch64.whl |
| jsift-3.1.0-py3-none-macosx_11_0_x86_64.whl | Python 3 | none | macOS 11.0+ x86-64 | Details for jsift-3.1.0-py3-none-macosx_11_0_x86_64.whl |
| jsift-3.1.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for jsift-3.1.0-py3-none-macosx_11_0_arm64.whl |
Total release size: 1.4 MB
Release files / jsift-3.1.0.tar.gz
| Download URL | jsift-3.1.0.tar.gz |
|---|---|
| Size | 101.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d97346c855e50b6ec15e46060d077b811252176541a429230e1dcf21e3d608d
|
|
BLAKE2b-256 checksum How to use checksums |
834b8dc287122e2029c48bed38378882fec21df352cf8c114c07504327ff13c2
|
| 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 26, 2026.
Transparency logRelease files / jsift-3.1.0-py3-none-musllinux_1_2_x86_64.whl
| Download URL | jsift-3.1.0-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 225.2 kB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
bba524a4e89a0533395aebedd9967fc0ad9bca007f59f374658dbb3c8274102c
|
|
BLAKE2b-256 checksum How to use checksums |
918419710be1f11900e7a353e9efd0f853772889a72709dd26d7a49af5a04abf
|
| 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 26, 2026.
Transparency logRelease files / jsift-3.1.0-py3-none-musllinux_1_2_aarch64.whl
| Download URL | jsift-3.1.0-py3-none-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 214.3 kB |
| Tags | Linux musl 1.2+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
fe1c4a33398b6dcd8c8db918a22e48e23bf5552c214307ae9c961e51b2e2b09f
|
|
BLAKE2b-256 checksum How to use checksums |
6f771cca41b1f3d9a1f90dea7129048c78938543106cc5bcc4fba1c045ea8c1a
|
| 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 26, 2026.
Transparency logRelease files / jsift-3.1.0-py3-none-manylinux_2_17_x86_64.whl
| Download URL | jsift-3.1.0-py3-none-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 226.8 kB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
b15477895424f4dc9ce771e3913ee22b1476bf6c1e20db2a919926485953800c
|
|
BLAKE2b-256 checksum How to use checksums |
6acdcb06e817cacdb84f16f1f5c2c8c86fd7ea0cb1d3230a26985bfbd9f934eb
|
| 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 26, 2026.
Transparency logRelease files / jsift-3.1.0-py3-none-manylinux_2_17_aarch64.whl
| Download URL | jsift-3.1.0-py3-none-manylinux_2_17_aarch64.whl |
|---|---|
| Size | 216.3 kB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
d21cf1c84620ac3e3919bcf26fb91bb3dcb44cf4a01d2d4bc6b1460d936d7cad
|
|
BLAKE2b-256 checksum How to use checksums |
cfb9da9a339fd462b79463cf0301ef87c357e069b1d745ce95b5bbd76c30cd59
|
| 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 26, 2026.
Transparency logRelease files / jsift-3.1.0-py3-none-macosx_11_0_x86_64.whl
| Download URL | jsift-3.1.0-py3-none-macosx_11_0_x86_64.whl |
|---|---|
| Size | 204.3 kB |
| Tags | Python 3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
dfd9c372cb50e981ad06e0bf180e645dba1cb47aedbada31bf018f81d6ae3367
|
|
BLAKE2b-256 checksum How to use checksums |
a3be5a4d223000c25015bc96036d19f71a40387b1508f0fa6d7a994edc009edf
|
| 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 26, 2026.
Transparency logRelease files / jsift-3.1.0-py3-none-macosx_11_0_arm64.whl
| Download URL | jsift-3.1.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 189.7 kB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
84859592811817ec07ec9e1eb0a313acd0df640f415183db15af9e511fadc3d7
|
|
BLAKE2b-256 checksum How to use checksums |
589bce0eee4c9ff9455b8b949d86a22be4507367356ba09e33414f8a10d689c5
|
| 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 26, 2026.
Transparency logSecurity for jsift 3.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.
Full provenance
All 7 files in this release have been uploaded with provenance metadata.
Attestation for jsift-3.1.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 26, 2026.
Transparency logA 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.