Installation
============
From PyPi
---------
The preferred way to install ``dtaianomaly`` is through `PyPI `_.
Use the following command to install the latest version:
.. code-block:: bash
pip install dtaianomaly
To install version ``X.Y.Z``, use the following command:
.. code-block:: bash
pip install dtaianomaly==X.Y.Z
From GitHub
-----------
It is also possible to install ``dtaianomaly`` directly from `GitHub`_:
.. code-block:: bash
pip install git+https://github.com/ML-KULeuven/dtaianomaly
Note that this will install the latest, *unreleased* version. Similarly as installation
through PyPi, it is also possible to install version ``X.Y.Z`` as follows:
.. code-block:: bash
pip install git+https://github.com/ML-KULeuven/dtaianomaly@X.Y.Z
See the `release page `_
for more information regarding the different versions.
From source
-----------
Finally, it is also possible to install ``dtaianomaly`` from the source code. First
download the source from `GitHub`_.
It is also possible to download the source code for a specific release on
`this webpage `_.
Unzip the files, and navigate to the root directory of the repository in the terminal.
Then, ``dtaianomaly`` can be installed through the following command:
.. code-block:: bash
pip install .
.. _GitHub: https://github.com/ML-KULeuven/dtaianomaly