We provide two approaches to installing Slapo. The easiest way is to install Slapo through PYPI:

$ pip install slapo

For developers, you can also install Slapo from source, and the change to the codebase will directly take effect when importing the package.

$ git clone slapo
$ cd slapo
$ pip install -e ".[dev]"

To verify the installation, you can run the following command. If no output is printed, you have installed Slapo successfully!

$ python -c "import slapo"