fuzzyset2
A simple python fuzzyset implementation.
Decision gist · record as of 2026-08-14
Yes, if you need fuzzy string matching in a stable, low-dependency library. The permissive BSD license and broad platform support make it accessible. However, the dormant maintenance status (no releases in 662 days) means you should verify that version 0.2.5 meets your Python and rapidfuzz compatibility needs before committing to it for a long-lived project.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later; rapidfuzz must be installed as a runtime dependency.
- Medium install friction due to compiled wheels for multiple Python versions and platforms.
- Dormant maintenance status (last commit 2024-11-25, no releases in 662 days) means bug fixes and compatibility updates are unlikely, though the package is marked Production/Stable.
License · maintenance · safety
BSD (permissive) — BSD permissive license allows commercial and private use with minimal restrictions, making it suitable for most projects.
last release 2024-10-21 (662 days) · last repo commit 2024-11-25 · 10 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 521,910 downloads/mo, #6,203 on PyPI
Alternatives
Verify before relying
pip install fuzzyset2
from fuzzyset2 import FuzzySet
fs = FuzzySet()
fs.add("michael axiak")
results = fs.get("micael asiak")
print(results)- Whether a Cython-accelerated variant is available or built by default in version 0.2.5
- Performance characteristics and typical latency for large datasets or high-frequency queries
- Compatibility with rapidfuzz versions and whether it is a hard runtime requirement or optional
What it is and what it does
fuzzyset2 is a data structure for fuzzy string matching that finds approximate matches in a set of strings. It breaks strings into n-grams (substrings of configurable length), builds a reverse index, and uses cosine similarity and optional Levenshtein distance scoring to rank matches by similarity. You add strings to the set once, then query it with potentially misspelled or slightly different text to get back a list of (score, matched_string) tuples where the score ranges from 0 to 1.
The package is a maintained fork of the original fuzzyset, designed for use cases like autocomplete, typo correction, and record deduplication. It depends on rapidfuzz for distance calculations and supports Python 3.6 and later across Windows, macOS, and Linux. The library is stable and production-ready but receives infrequent updates.
Use it for
- Autocomplete and search suggestions that tolerate user typos and spelling variations
- Deduplicating records in databases where names or identifiers may be slightly different
- Spell-checking and typo correction in text processing pipelines
- Matching user input against a predefined set of valid options with fuzzy tolerance
- Entity resolution and record linkage in data integration workflows
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need fuzzy string matching in a stable, low-dependency library.
The permissive BSD license and broad platform support make it accessible. However, the dormant maintenance status (no releases in 662 days) means you should verify that version 0.2.5 meets your Python and rapidfuzz compatibility needs before committing to it for a long-lived project.
Install
fuzzyset2 on PyPI
Before you install
Medium install friction due to compiled wheels for multiple Python versions and platforms. Dormant maintenance status (last commit 2024-11-25, no releases in 662 days) means bug fixes and compatibility updates are unlikely, though the package is marked Production/Stable.
Requires Python 3.6 or later; rapidfuzz must be installed as a runtime dependency.
License in practice
BSD permissive license allows commercial and private use with minimal restrictions, making it suitable for most projects.
Quickstart
pip install fuzzyset2
from fuzzyset2 import FuzzySet
fs = FuzzySet()
fs.add("michael axiak")
results = fs.get("micael asiak")
print(results)
Verify before relying
- Whether a Cython-accelerated variant is available or built by default in version 0.2.5
- Performance characteristics and typical latency for large datasets or high-frequency queries
- Compatibility with rapidfuzz versions and whether it is a hard runtime requirement or optional
Package facts
| License | BSD permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 1 packagerapidfuzz |
| Maintenance | Dormant 662 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 521,910 / month, #6,203 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonTopic :: Software Development :: Libraries |
Evidence: fuzzyset2-0.2.5-cp310-cp310-macosx_10_9_x86_64.whl; fuzzyset2-0.2.5-cp310-cp310-macosx_11_0_arm64.whl; fuzzyset2-0.2.5-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl; fuzzyset2-0.2.5-cp310-cp310-win32.whl; fuzzyset2-0.2.5-cp310-cp310-win_amd64.whl; fuzzyset2-0.2.5-cp311-cp311-macosx_10_9_x86_64.whl; fuzzyset2-0.2.5-cp311-cp311-macosx_11_0_arm64.whl; fuzzyset2-0.2.5-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl; fuzzyset2-0.2.5-cp311-cp311-win32.whl; fuzzyset2-0.2.5-cp311-cp311-win_amd64.whl; fuzzyset2-0.2.5-cp312-cp312-macosx_10_13_x86_64.whl; fuzzyset2-0.2.5-cp312-cp312-macosx_11_0_arm64.whl; fuzzyset2-0.2.5-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl; fuzzyset2-0.2.5-cp312-cp312-win32.whl; fuzzyset2-0.2.5-cp312-cp312-win_amd64.whl; fuzzyset2-0.2.5-cp313-cp313-macosx_10_13_x86_64.whl; fuzzyset2-0.2.5-cp313-cp313-macosx_11_0_arm64.whl; fuzzyset2-0.2.5-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl; fuzzyset2-0.2.5-cp313-cp313-win32.whl; fuzzyset2-0.2.5-cp313-cp313-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “fuzzy set data structure”
- fuzzyset2Performs fuzzy string matching and approximate searching against a…
- ngramExtends Python's set class to perform fuzzy string matching using…
- thefuzzTheFuzz performs fuzzy string matching using Levenshtein Distance to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also fuzzysearch · ngram · tfidf-matcher · strsimpy · thefuzz · string-grouper · pysimstring · fuzzywuzzy · textdistance · python-Levenshtein