Installation, testing and development


pyts requires:

  • Python (>= 3.5)
  • NumPy (>= 1.15.4)
  • SciPy (>= 1.3.0)
  • Scikit-Learn (>=0.20.4)
  • Joblib (>=0.12)
  • Numba (>0.45.1)

To run the examples Matplotlib (>=2.0.0) is required.

User installation

If you already have a working installation of numpy, scipy, scikit-learn, joblib and numba, you can easily install pyts using pip:

pip install pyts

or conda via the conda-forge channel:

conda install -c conda-forge pyts

You can also get the latest version of pyts by cloning the repository:

git clone
cd pyts
pip install .


After installation, you can launch the test suite from outside the source directory using pytest:

pytest pyts


The development of this package is in line with the one of the scikit-learn community. Fore more information about our contributing guidelines, please refer to the Contributing guide.