Comparison
editdistance vs editdistpy vs textdistance
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 14 of the last 26 weeks. A safe choice.
$
pip install editdistpyCompute distance between the two texts.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install textdistanceIn short
- editdistance is archived: avoid it for new projects.
- textdistance is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- editdistpy is the most used: 350.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 | textdistance |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 5 | Pythie’s Index: 86 | Pythie’s Index: 17 |
| Verdict | Archived | Actively maintained | Slowing down |
| Downloads / month | 2.7M | 350.7K | 2.7M |
| Downloads, month over month | -6% | +9% | +13% |
| GitHub stars | 703 | 27 | 3.5K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 166 | 2 | 71 |
| Last release | Feb 10, 2024 | Nov 2, 2026 | Jul 16, 2024 |
| Releases, 12 months | 0 | 6 | 0 |
| Weeks with commits | 0 / 26 | 14 / 26 | 0 / 26 |
| Recent contributors | 10 | 3 | 9 |
| First release | Sep 2013 | Nov 2021 | May 2017 |
| Python versions | – | 3.11 – 3.15 | – |
| License | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.