Comparison
dtaidistance vs dtw-python vs fastdtw
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 4 of the last 26 weeks. Weaker on commit activity and issue handling.
$
pip install dtaidistanceA comprehensive implementation of dynamic time warping (DTW) algorithms.
Maintained. Last release 8 weeks ago, commits in 8 of the last 26 weeks. Weaker on contributor spread.
$
pip install dtw-pythonDynamic 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 fastdtwIn short
- fastdtw looks abandoned: avoid it for new projects.
- dtw-python is the most used: 230.4K downloads a month.
- dtw-python also has the best Pythie’s Index (69).
- Safe default for a new project: dtw-python.
Side by side
| Metric | dtaidistance | dtw-python | fastdtw |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 49 | 69 |