Comparison
editdistance vs pylev 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 editdistanceA pure Python Levenshtein implementation that's not freaking GPL'd.
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install pylevpyxDamerauLevenshtein 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.
- pylev looks abandoned: avoid it for new projects.
- pyxDamerauLevenshtein is the most used: 76.2K downloads a month.
- pyxDamerauLevenshtein also has the best Pythie’s Index (52).
Side by side
| Metric | editdistance | pylev | pyxDamerauLevenshtein |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 5 | 17 |