Comparison
Levenshtein vs python-Levenshtein vs pyxDamerauLevenshtein vs strsimpy
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python 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 levenshteinPython extension for computing string edit distances and similarities.
Maintained. Last release 3 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install python-levenshteinpyxDamerauLevenshtein implements the Damerau-Levenshtein (DL) edit distance algorithm for Python in Cython for high performance.
Maintained. Last release 5 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install pyxdameraulevenshteinA library implementing different string similarity and distance measures
Maintained. Last release 2 weeks ago, commits in 6 of the last 26 weeks. Weaker on contributor spread and security practices.
pip install strsimpyIn short
- Levenshtein is the most used: 21M downloads a month.
- Maintenance is comparable: strsimpy 65, Levenshtein 62, pyxDamerauLevenshtein 52, python-Levenshtein 49 on Pythie’s Index.
- python-Levenshtein is growing fastest: downloads +50% over the last month.
- Safe default for a new project: Levenshtein.
Side by side
| Metric | Levenshtein | python-Levenshtein | pyxDamerauLevenshtein | strsimpy |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 62 | Pythie’s Index: 49 | Pythie’s Index: 52 | Pythie’s Index: 65 |
| Verdict | Maintained | Maintained | Maintained | Maintained |
| Downloads / month | 21M | 15.6M | 76.2K | 443.3K |
| Downloads, month over month | +30% | +50% | +7% | +0% |
| GitHub stars | 400 | 127 | 259 | 1K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 292 | 640 | 6 | 21 |
| Last release | Dec 1, 2026 | Sep 12, 2026 | Oct 29, 2026 | Nov 18, 2026 |
| Releases, 12 months | 3 | 2 | 2 | 4 |
| Weeks with commits | 5 / 26 | 2 / 26 | 3 / 26 | 6 / 26 |
| Recent contributors | 7 | 2 | 6 | 16 |
| First release | Jan 2021 | Jan 2021 | Jul 2013 | Oct 2019 |
| Python versions | 3.11 – 3.15 | 3.11 – 3.15 | 3.11 – 3.15 | 3.10 – 3.13 |
| License | GPL-2.0-or-later | GPL-2.0-or-later | BSD-3-Clause | 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.