.. _installation:
============
Installation
============
The easiest way to install the Thema software package is by using pip, the Python package installer.
.. _install.PyPI:
Installing from PyPI
~~~~~~~~~~~~~~~~~~~~
``thema`` can be installed via pip from
`PyPI `__.
.. code-block:: shell
pip install thema
.. note::
You must have ``pip>=19.3`` to install from PyPI.
Once installation is complete, you can verify that ``thema`` is installed correctly by running:
.. code-block:: shell
pip show thema
.. _install.source:
Installing from source
~~~~~~~~~~~~~~~~~~~~~~
A detailed guide comming soon with complete instructions on building from the git source tree.
See `Krv Analytics on GitHub `__ for more info.
.. _install.using:
Using ``thema``
~~~~~~~~~~~~~~~~~~~~~~
Once installed, you can import `thema` using the following code:
.. ipython:: python
import thema
.. _install.version:
Python version support
~~~~~~~~~~~~~~~~~~~~~~
Officially Python 3.10, 3.11 and 3.12.