Comparison
dtw-python vs dtwalign vs pyts vs tslearn
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 dtwalignA python package for time series classification
Maintained. Last release 6 weeks ago, commits in 6 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install pytsA machine learning toolkit dedicated to time-series data
Actively maintained. Last release 6 weeks ago, commits in 20 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.
- tslearn is the most used: 262K downloads a month.
- tslearn also has the best Pythie’s Index (83).
- Safe default for a new project: tslearn.
Side by side
| Metric | dtw-python | dtwalign | pyts | tslearn |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 69 | 20 |