Comparison
dtaidistance vs dtwalign 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 3 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install dtaidistanceComprehensive DTW package which enables partial mathing and has various constraint options
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install dtwalignDynamic 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
- dtwalign is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- fastdtw looks abandoned: avoid it for new projects.
- dtaidistance is the most used: 88.9K downloads a month.
- dtaidistance also has the best Pythie’s Index (47).
Side by side
| Metric | dtaidistance | dtwalign | fastdtw |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 47 | 20 |