Skip to content
Dynamic Time Warping Library
Jupyter Notebook Python C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


DTWpy is a open source Python3 library for fast and parallel computation of Dynamic Time Warping distances and alignments of time series.

This project is a standalone version of the mlpy implementation for Dynamic Time Warping.

Building on top of that implementation, wrapper functions are provided for ease of use.

The package includes a easy to use plotting library for pairwise time series alignment and cost visualization.


The package requires Python >=3.3 since it uses the multiprocessing package to release the GIL.

The implementation also requires Cython so if you do not have it installed you will need to run

pip install Cython

To compile the dependencies you will have to run the following command

python build_ext --inplace


A demo showcasing the behavior of the different DTW functions and some time benchmarks is shown here

You can’t perform that action at this time.