Comparison
dtw-python vs dtwalign vs fastdtw
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A 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-pythonComprehensive 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.
- 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 | dtw-python | dtwalign | fastdtw |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 69 | 20 |