Comparison
dtaidistance vs dtwalign vs sktime 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 4 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 dtwalignA unified framework for machine learning with time series
Actively maintained. Last release 3 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install sktimeA machine learning toolkit dedicated to time-series data
Actively maintained. Last release 6 weeks ago, commits in 19 of the last 26 weeks. A safe choice.
pip install tslearnIn short
- dtwalign is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- sktime is the most used: 662.7K downloads a month, 2.6× more than tslearn.
- Maintenance is comparable: sktime 89, tslearn 83, dtaidistance 49 on Pythie’s Index.
- Safe default for a new project: sktime.
Side by side
| Metric | dtaidistance | dtwalign | sktime | tslearn |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 49 | 20 |