Comparison
editdistance vs fuzzywuzzy vs polyleven vs RapidFuzz
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Fast implementation of the edit distance (Levenshtein distance)
Archived. The repository is read-only: no more fixes or releases will come.
pip install editdistanceFuzzy string matching in python
Archived. The repository is read-only: no more fixes or releases will come.
pip install fuzzywuzzyA fast C-implemented library for Levenshtein distance
Maintained. Last release 7 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install polylevenrapid fuzzy string matching
Actively maintained. Last release 1 day ago, commits in 12 of the last 26 weeks. A safe choice.
pip install rapidfuzzIn short
- editdistance is archived: avoid it for new projects.
- fuzzywuzzy is archived: avoid it for new projects.
- RapidFuzz is the most used: 145.3M downloads a month, 13× more than fuzzywuzzy.
- RapidFuzz also has the best Pythie’s Index (75).
- RapidFuzz is growing fastest: downloads +15% over the last month.
- Safe default for a new project: RapidFuzz.
Side by side
| Metric | editdistance | fuzzywuzzy | polyleven | RapidFuzz |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 5 | 5 |