Skip to main content

Frizbee (Python bindings)

Python bindings for frizbee, SIMD fuzzy string matching. Supports CPython 3.10+ on linux x64/arm64 (glibc + musl), macOS x64/arm64 and windows x64.

pip install frizbee

Usage

import frizbee

matcher = frizbee.Matcher("fBr", max_typos=1, casing="smart")
matches = matcher.match_list(["fooBar", "foo_bar", "barfoo", "prelude"])
# [Match(score=53, index=0, exact=False), ...]

# Owned haystacks (recommended): copy to Rust once for much faster matching
haystacks = frizbee.Haystacks(["fooBar", "foo_bar", "barfoo", "prelude"])
matches = matcher.match_list(haystacks)

# Perform multi-pattern matching (whitespace separated) with syntax for controlling
# the matching mode:
# fuzzy  substring  prefix    suffix    exact    negated (combines with others)
# foo    'foo       ^foo      foo$      ^foo$    !foo
matcher = frizbee.Matcher.from_query("foo !^bar")

# Per-pattern config overrides
patterns = frizbee.Pattern.parse_query("foo !^bar")
for pattern in patterns:
    pattern.max_typos = len(pattern.needle) // 4
matcher = frizbee.Matcher.from_patterns(patterns)

Performance

These bindings achieve native performance to the rust crate, after a one-time copy of strings to Rust. On the Chromium file list (1.4M haystacks, needle "linux", maxItems 1000):

new Haystacks(string[]):               33.99 ms
match_list (string[]):                 58.47 ms/iter
match_list (Haystacks):                23.60 ms/iter
match_list_parallel(8) (string[]):     40.14 ms/iter
match_list_parallel(8) (Haystacks):     4.52 ms/iter

Development

# use nix dev shell to get all clis/pkgs
nix develop

just build-py
just test-py
just bench-py

Metadata

Release files for frizbee 0.13.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 frizbee 0.13.0
File Size Uploaded
frizbee-0.13.0.tar.gz 163.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for frizbee 0.13.0
File
frizbee-0.13.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
frizbee-0.13.0-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details
frizbee-0.13.0-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details
frizbee-0.13.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details
frizbee-0.13.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details
frizbee-0.13.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details
frizbee-0.13.0-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details

Total release size: 13.7 MB

Release files / frizbee-0.13.0.tar.gz

Download URL frizbee-0.13.0.tar.gz
Size 163.1 kB
Tags Source
SHA-256 checksum
How to use checksums
342327ddbfa16ebe30dbecdd65ac3b05dd961ae951fc02f0bb4ad84a941cf356
BLAKE2b-256 checksum
How to use checksums
7908c3155a7cc678fef7c3dbf40e2a35b8caa3dc7ee5bfaf06caf0b84932402b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 13, 2026.

Transparency log

Release files / frizbee-0.13.0-cp310-abi3-win_amd64.whl

Download URL frizbee-0.13.0-cp310-abi3-win_amd64.whl
Size 2.0 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
74d1c9cf92eab79b5702afcb2baeaf11ae0ac48cdec7b008f2999ebd8c942eae
BLAKE2b-256 checksum
How to use checksums
c9a72a7f28d0188a1c2d5b53cd09d2bf76b7e7fc68b46c9efca40c703e2dc254
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 13, 2026.

Transparency log

Release files / frizbee-0.13.0-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL frizbee-0.13.0-cp310-abi3-musllinux_1_2_x86_64.whl
Size 2.4 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
3be81d4c9c8409955119795fc73d4d4fe431fc702645b60b33675344a62a315d
BLAKE2b-256 checksum
How to use checksums
9d4cc615859c8ca6ce72a2d393a69e546289400e66ed5143131d79da0371d3c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 13, 2026.

Transparency log

Release files / frizbee-0.13.0-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL frizbee-0.13.0-cp310-abi3-musllinux_1_2_aarch64.whl
Size 1.8 MB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
04f89f50b2b9504cd551c1b5dc769c0c8f5ba3f45c4b28166e2acee07e25043c
BLAKE2b-256 checksum
How to use checksums
a013b5ff5945d92d6de59aa6f8eb2aa19b1dbd0ad62e16a96a8c409937658efb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 13, 2026.

Transparency log

Release files / frizbee-0.13.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL frizbee-0.13.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.2 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
133e329efa57912434c4de0f935158ea69b6c02a2157d5d772b3f8bb45cead76
BLAKE2b-256 checksum
How to use checksums
45e15d2345348ecdb8b8eddfa0ddac79370e349b6c5ecb658e58938dc01e9113
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 13, 2026.

Transparency log

Release files / frizbee-0.13.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL frizbee-0.13.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.7 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
403243e75690aec90b37116bb2e4270c241355ce4a4ef1303f592780df422356
BLAKE2b-256 checksum
How to use checksums
183e866f78cdb95b3ea379f07c8e5dad2771a78ad649d5a6f0b2ae0f1f7a8438
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 13, 2026.

Transparency log

Release files / frizbee-0.13.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL frizbee-0.13.0-cp310-abi3-macosx_11_0_arm64.whl
Size 1.5 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f2d6325358902642855de5ddeecde150783f33940e97d62ac1b80b578f1ae9da
BLAKE2b-256 checksum
How to use checksums
ade1f4a31745c7bc118c8066ba13a050b1591002234dd7aaa73709bbd7d906ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 13, 2026.

Transparency log

Release files / frizbee-0.13.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL frizbee-0.13.0-cp310-abi3-macosx_10_12_x86_64.whl
Size 2.1 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
e166d4caa816ec6b4cd054228318718f0c8f4f6cc3f45d39be7eab5d1c59bc25
BLAKE2b-256 checksum
How to use checksums
489322847cd10886780375588f4763f584d100bd417e7ece88744a096318d148
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.13.0 This release

8 release files

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