Comparison
Distance vs jarowinkler vs strsimpy vs textdistance
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Utilities for comparing sequences
Likely abandoned. No release or commit for years (last release over 13 years ago).
pip install distancelibrary 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 jarowinklerA 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 strsimpyCompute 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
- Distance looks abandoned: avoid it for new projects.
- jarowinkler is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- textdistance is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- strsimpy is the most used: 443.5K downloads a month.
- strsimpy also has the best Pythie’s Index (64).
- Safe default for a new project: strsimpy.
Side by side
| Metric | Distance | jarowinkler | strsimpy | textdistance |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 14 | Pythie’s Index: 18 | Pythie’s Index: 64 | Pythie’s Index: 17 |
| Verdict | Likely abandoned | Slowing down | Maintained | Slowing down |
| Downloads / month | 754.3K | 561.9K | 443.5K | 2.7M |
| Downloads, month over month | +6% | +39% | +1% | +16% |
| GitHub stars | 116 | 79 | 1K | 3.5K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 47 | 2 | 21 | 71 |
| Last release | Nov 21, 2013 | Nov 3, 2023 | Nov 18, 2026 | Jul 16, 2024 |
| Releases, 12 months | 0 | 0 | 4 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 | 5 / 26 | 0 / 26 |
| Recent contributors | 1 | 4 | 16 | 9 |
| First release | Nov 2013 | Mar 2022 | Oct 2019 | May 2017 |
| Python versions | 3.3 | 3.8 – 3.12 | 3.10 – 3.13 | – |
| License | GPL-3.0 | MIT | 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.