Comparison
editdistance vs jaro-winkler vs Levenshtein vs strsimpy
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 editdistanceOriginal, standard and customisable versions of the Jaro-Winkler functions.
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install jaro-winklerPython extension for computing string edit distances and similarities.
Maintained. Last release 2 days ago, commits in 5 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install levenshteinA library implementing different string similarity and distance measures
Maintained. Last release 2 weeks ago, commits in 5 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install strsimpyIn short
- editdistance is archived: avoid it for new projects.
- jaro-winkler looks abandoned: avoid it for new projects.
- Levenshtein is the most used: 21.4M downloads a month, 8.0× more than editdistance.
- Maintenance is comparable: strsimpy 64, Levenshtein 62 on Pythie’s Index.
- Levenshtein is growing fastest: downloads +34% over the last month.
- Safe default for a new project: Levenshtein.
Side by side
| Metric | editdistance | jaro-winkler | Levenshtein | strsimpy |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 5 | Pythie’s Index: 19 | Pythie’s Index: 62 | Pythie’s Index: 64 |
| Verdict | Archived | Likely abandoned | Maintained | Maintained |
| Downloads / month | 2.7M | 1.1M | 21.4M | 443.5K |
| Downloads, month over month | +1% | -25% | +34% | +1% |
| GitHub stars | 703 | 32 | 400 | 1K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 166 | 4 | 292 | 21 |
| Last release | Feb 10, 2024 | Aug 5, 2022 | Dec 1, 2026 | Nov 18, 2026 |
| Releases, 12 months | 0 | 0 | 3 | 4 |
| Weeks with commits | 0 / 26 | 0 / 26 | 5 / 26 | 5 / 26 |
| Recent contributors | 10 | 5 | 7 | 16 |
| First release | Sep 2013 | Oct 2013 | Jan 2021 | Oct 2019 |
| Python versions | – | – | 3.11 – 3.15 | 3.10 – 3.13 |
| License | MIT | GPL-3.0 | GPL-2.0-or-later | 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.