goldenfuzz
Fast, byte-identical-to-rapidfuzz fuzzy-string scorers, plus a one-vs-many
extract / cdist / BatchComparator API. A thin PyO3 wheel over the pyo3-free
goldenfuzz-core Rust crate.
import goldenfuzz as gf
gf.jaro_winkler("jonathan", "jonathon") # -> 0.95...
gf.levenshtein("kitten", "sitting") # normalized similarity in [0, 1]
gf.indel("fuzzy wuzzy", "wuzzy fuzzy")
# one-vs-many top-k (query bitmap built once)
gf.extract("jonathan smith",
["jon smith", "jane doe", "jonathan smith"],
scorer="jaro_winkler", score_cutoff=0.7, limit=2)
# -> [(2, 1.0), (0, 0.9...)]
# reuse a prepared query across many choices
bc = gf.BatchComparator("acme corporation")
[bc.jaro_winkler(c) for c in choices]
Scorers: jaro_winkler | levenshtein | indel, each returning normalized
similarity in [0, 1], byte-identical to the corresponding rapidfuzz metric
(proven by an oracle fuzz in goldenfuzz-core). On short strings (names,
addresses) goldenfuzz is faster than rapidfuzz; on documents it matches/beats on
jaro-winkler and levenshtein.
Part of the golden suite.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file goldenfuzz-0.1.0.tar.gz.
File metadata
- Download URL: goldenfuzz-0.1.0.tar.gz
- Upload date:
- Size: 21.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c79c63efe9a379320b0a2639325628f4131e8293a8827a1570607a393ecee328
|
|
| MD5 |
f242badeb4c8747a480b5fae930920b3
|
|
| BLAKE2b-256 |
7e4f2b23adacc38caf3cb0331885ba6aa5ef7f4089885b21d9a1842b847ab387
|
File details
Details for the file goldenfuzz-0.1.0-cp311-abi3-win_amd64.whl.
File metadata
- Download URL: goldenfuzz-0.1.0-cp311-abi3-win_amd64.whl
- Upload date:
- Size: 159.0 kB
- Tags: CPython 3.11+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf1ece64ffcd6e39561c075da882e156c7605aab99c76d2ed39662bc94367469
|
|
| MD5 |
b2cd62b0c6f75d06ccc564ef60df539f
|
|
| BLAKE2b-256 |
2df05d60a64ec32022e3e62911d49ea4de6d376ab51a6e0f447b9a7e30f1a8c3
|
File details
Details for the file goldenfuzz-0.1.0-cp311-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: goldenfuzz-0.1.0-cp311-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 285.7 kB
- Tags: CPython 3.11+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53f39884c30cf2b8ddd0ed156e0ec0e0e125ff89c4c37f4eabfdc7739eb3786c
|
|
| MD5 |
eb508175800b3255a0a05b8d60caaf01
|
|
| BLAKE2b-256 |
67b186eea0f9c2e2664eec9af1b0cd24b5afa4a0584f4e2fbb35ee6e31d8dad7
|
File details
Details for the file goldenfuzz-0.1.0-cp311-abi3-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: goldenfuzz-0.1.0-cp311-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 283.8 kB
- Tags: CPython 3.11+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb4a8c3929b5218ef442a7d4301efc50bc7c02937d4e82c5a2ac769320ff33b5
|
|
| MD5 |
be18399bc4b6eee54815f5e0a5c48b5e
|
|
| BLAKE2b-256 |
28615a9f9fe54221afcbae273f9a7ed512038949c0b34364794b94e004cdfd47
|
File details
Details for the file goldenfuzz-0.1.0-cp311-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: goldenfuzz-0.1.0-cp311-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 258.0 kB
- Tags: CPython 3.11+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b933b2eacfe19366f069fa1322ab8ce4706c4865b33f703b62354964a742677
|
|
| MD5 |
5a9750f60faab370a5a525cda0d972c7
|
|
| BLAKE2b-256 |
4c2b8038ce9e98cc076be0edd3975d57271aad23773713d72730fd47294a882a
|
File details
Details for the file goldenfuzz-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: goldenfuzz-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 264.6 kB
- Tags: CPython 3.11+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af45aaaaf9c7b69d4d2722db4e77fbc55175473a7837fd346192432a39580acc
|
|
| MD5 |
b2e7cfc0e80f5ab5e94c2fd0ac1b1b1c
|
|
| BLAKE2b-256 |
b78841480558f83a8e911711ab1bdb288bd1dff94cf6afa2ef737410bd1efbc7
|