Comparison
jarowinkler vs Levenshtein vs polyleven vs strsimpy
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
library for fast approximate string matching using Jaro and Jaro-Winkler similarity
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install jarowinklerPython extension for computing string edit distances and similarities.
Maintained. Last release 1 day ago, commits in 5 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install levenshteinA 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 polylevenA 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
- jarowinkler is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- Levenshtein is the most used: 21.4M downloads a month, 4.4× more than polyleven.
- Maintenance is comparable: strsimpy 64, Levenshtein 62, polyleven 50 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 | jarowinkler | Levenshtein | polyleven | strsimpy |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 18 | Pythie’s Index: 62 | Pythie’s Index: 50 | Pythie’s Index: 64 |
| Verdict | Slowing down | Maintained | Maintained | Maintained |
| Downloads / month | 561.9K | 21.4M | 4.9M | 443.5K |
| Downloads, month over month | +39% | +34% | +5% | +1% |
| GitHub stars | 79 | 400 | 87 | 1K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 2 | 292 | 10 | 21 |
| Last release | Nov 3, 2023 | Dec 1, 2026 | Oct 15, 2026 | Nov 18, 2026 |
| Releases, 12 months | 0 | 3 | 3 | 4 |
| Weeks with commits | 0 / 26 | 5 / 26 | 1 / 26 | 5 / 26 |
| Recent contributors | 4 | 7 | 8 | 16 |
| First release | Mar 2022 | Jan 2021 | Jul 2018 | Oct 2019 |
| Python versions | 3.8 – 3.12 | 3.11 – 3.15 | – | 3.10 – 3.13 |
| License | MIT | GPL-2.0-or-later | 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.