Comparison
editdistance vs editdistpy vs pyxDamerauLevenshtein
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 editdistpypyxDamerauLevenshtein 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 pyxdameraulevenshteinIn short
- editdistance is archived: avoid it for new projects.
- editdistpy is the most used: 336.7K downloads a month.
- editdistpy also has the best Pythie’s Index (86).
- Safe default for a new project: editdistpy.
Side by side
| Metric | editdistance | editdistpy | pyxDamerauLevenshtein |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 5 | Pythie’s Index: 86 | Pythie’s Index: 52 |
| Verdict | Archived | Actively maintained | Maintained |
| Downloads / month | 2.6M | 336.7K | 76.2K |
| Downloads, month over month | -4% | +7% | +7% |
| GitHub stars | 703 | 27 | 259 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 166 | 2 | 6 |
| Last release | Feb 10, 2024 | Nov 2, 2026 | Oct 29, 2026 |
| Releases, 12 months | 0 | 6 | 2 |
| Weeks with commits | 0 / 26 | 18 / 26 | 3 / 26 |
| Recent contributors | 10 | 3 | 6 |
| First release | Sep 2013 | Nov 2021 | Jul 2013 |
| Python versions | – | 3.11 – 3.15 | 3.11 – 3.15 |
| License | MIT | MIT | BSD-3-Clause |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.