Comparison
editdistance vs editdistpy 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 editdistanceFast Levenshtein and Damerau optimal string alignment algorithms.
Actively maintained. Last release 4 weeks ago, commits in 18 of the last 26 weeks. A safe choice.
pip install editdistpyA 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
Maintained. Last release 3 months ago, commits in 12 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install rapidfuzzIn short
- editdistance is archived: avoid it for new projects.
- RapidFuzz is the most used: 141.8M downloads a month, 30× more than polyleven.
- editdistpy is better maintained: Pythie’s Index 86 against 69.
- RapidFuzz is growing fastest: downloads +10% over the last month.
- Safe default for a new project: RapidFuzz, or editdistpy if active maintenance matters most.
Side by side
| Metric | editdistance | editdistpy | polyleven | RapidFuzz |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 5 | Pythie’s Index: 86 | Pythie’s Index: 50 | Pythie’s Index: 69 |
| Verdict | Archived | Actively maintained | Maintained | Maintained |
| Downloads / month | 2.6M | 336.7K | 4.8M | 141.8M |
| Downloads, month over month | -4% | +7% | +0% | +10% |
| GitHub stars | 703 | 27 | 87 | 4.2K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 166 | 2 | 10 | 1.5K |
| Last release | Feb 10, 2024 | Nov 2, 2026 | Oct 15, 2026 | Aug 30, 2026 |
| Releases, 12 months | 0 | 6 | 3 | 2 |
| Weeks with commits | 0 / 26 | 18 / 26 | 1 / 26 | 12 / 26 |
| Recent contributors | 10 | 3 | 8 | 15 |
| First release | Sep 2013 | Nov 2021 | Jul 2018 | Mar 2020 |
| Python versions | – | 3.11 – 3.15 | – | 3.11 – 3.14 |
| License | MIT | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.