Comparison
dtaidistance vs dtw-python vs dtwalign
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-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 dtwalignIn short
- dtwalign is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- dtw-python is the most used: 230.4K downloads a month, 2.5× more than dtaidistance.
- 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 | dtwalign |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 49 | Pythie’s Index: 69 | Pythie’s Index: 20 |
| Verdict | Maintained | Maintained | Slowing down |
| Downloads / month | 93K | 230.4K | 54.8K |
| Downloads, month over month | -5% | -4% | -29% |
| GitHub stars | 1.2K | 347 | 109 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 42 | 16 | 3 |
| Last release | Sep 11, 2026 | Oct 8, 2026 | Dec 30, 2022 |
| Releases, 12 months | 3 | 4 | 0 |
| Weeks with commits | 4 / 26 | 8 / 26 | 0 / 26 |
| Recent contributors | 2 | 1 | 3 |
| First release | Feb 2017 | Aug 2019 | Feb 2018 |
| Python versions | – | – | 3.5 – 3.6 |
| License | Apache-2.0 | GPL-3.0-or-later | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.