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 2.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 jsift 2.1.0
File Size Uploaded Provenance Actions
jsift-2.1.0.tar.gz 75.2 kB With provenance Details for jsift-2.1.0.tar.gz

Built distributions (wheels)

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

Total release size: 1.2 MB

Release files / jsift-2.1.0.tar.gz

Download URL jsift-2.1.0.tar.gz
Size 75.2 kB
Tags Source
SHA-256 checksum
How to use checksums
35d8929deadb1cf500e63856b5002b96e55d35dd858d60bf8ee87c23ea892b6b
BLAKE2b-256 checksum
How to use checksums
aa1ef290a5a8a0d7a8cb54c76c4d4fbb6c1af8b7307fb51346e77a3228d584a7
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-2.1.0-py3-none-musllinux_1_2_x86_64.whl

Download URL jsift-2.1.0-py3-none-musllinux_1_2_x86_64.whl
Size 196.6 kB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
23baab03ce57d7e414254d7c479b6ec5933057669b702af102869f5c60a48225
BLAKE2b-256 checksum
How to use checksums
57384abdc67117710fcc2aad96089696b4f1fdb1365c2e663c17ae8a3df3b9a0
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-2.1.0-py3-none-musllinux_1_2_aarch64.whl

Download URL jsift-2.1.0-py3-none-musllinux_1_2_aarch64.whl
Size 188.8 kB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
b3d668b91f4e7715d93612dec4b9ca29697a2f6e3c6a3d7839a58627818e78b8
BLAKE2b-256 checksum
How to use checksums
08c79bcec1379c907b0af0cc87202f2580bbaafaddeb4d4323c9225ea5344eea
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-2.1.0-py3-none-manylinux_2_17_x86_64.whl

Download URL jsift-2.1.0-py3-none-manylinux_2_17_x86_64.whl
Size 198.3 kB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
34df869e0b76624dca855bc8ea33fe713897775741672f8928a50bea56a010aa
BLAKE2b-256 checksum
How to use checksums
4b14b29282f4a7e103a077d5d79f20c689bf7ec09c3d259cdf97374090f8bb87
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-2.1.0-py3-none-manylinux_2_17_aarch64.whl

Download URL jsift-2.1.0-py3-none-manylinux_2_17_aarch64.whl
Size 190.8 kB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
4a7cc7bb886f8ea73d6f67b1b9bd8309ca56a83435e372b0bfc64da2a61d24bb
BLAKE2b-256 checksum
How to use checksums
9cfea0f354506f874edb98539cae84bf1d636de62275ca61f5d551fa11ead5dd
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-2.1.0-py3-none-macosx_11_0_x86_64.whl

Download URL jsift-2.1.0-py3-none-macosx_11_0_x86_64.whl
Size 176.9 kB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
70d9b79468111a03af5c047b2b80f591d70991c78f3d9266f1da8d1c0c2f674f
BLAKE2b-256 checksum
How to use checksums
19def8538a3902d9cb4284763845d6ee9407f37ff25d8ee7e47428fd94b445dc
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-2.1.0-py3-none-macosx_11_0_arm64.whl

Download URL jsift-2.1.0-py3-none-macosx_11_0_arm64.whl
Size 165.0 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
917bb76412046e999246f8ab5a5916b70c017f900e6a32360951d91fcbe4b7bc
BLAKE2b-256 checksum
How to use checksums
82705192425a0ce073b76522441c03b488999831bbf392d6962cb8e26f53d685
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 2.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.

Select from 7 files

Attestation for jsift-2.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 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