Comparison
dtaidistance vs fastdtw vs tslearn
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Distance measures for time series (Dynamic Time Warping, fast C implementation)
Maintained. Last release 3 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and issue handling.
$
pip install dtaidistanceDynamic Time Warping (DTW) algorithm with an O(N) time and memory complexity.
Likely abandoned. No release or commit for years (last release over 7 years ago).
$
pip install fastdtwA machine learning toolkit dedicated to time-series data
Actively maintained. Last release 6 weeks ago, commits in 22 of the last 26 weeks. A safe choice.
$
pip install tslearnIn short
- fastdtw looks abandoned: avoid it for new projects.
- tslearn is the most used: 256.8K downloads a month.
- tslearn also has the best Pythie’s Index (83).
- Safe default for a new project: tslearn.
Side by side
| Metric | dtaidistance | fastdtw | tslearn |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 47 | Pythie’s Index: 15 | Pythie’s Index: 83 |
| Verdict | Maintained | Likely abandoned | Actively maintained |
| Downloads / month | 88.9K | 473.9K | 256.8K |
| Downloads, month over month | -9% | +6% | -8% |
| GitHub stars | 1.2K | 849 | 3.2K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 42 | 82 | 55 |
| Last release | Sep 11, 2026 | Oct 7, 2019 | Oct 22, 2026 |
| Releases, 12 months | 3 | 0 | 4 |
| Weeks with commits | 3 / 26 | 0 / 26 | 22 / 26 |
| Recent contributors | 2 | 6 | 23 |
| First release | Feb 2017 | Mar 2015 | Jun 2017 |
| Python versions | – | – | – |
| License | Apache-2.0 | MIT | BSD-2-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.