Installation

PyPI and pip

To install sainsc from PyPI using pip just run

pip install sainsc

If you want to have support for spatialdata use

pip install sainsc[spatialdata]

Bioconda and conda

If you prefer the installation using Miniconda you can install from the bioconda channel.

conda install bioconda::sainsc

Note

Of course, it is also possible to use mamba instead of conda to speed up the installation.

From GitHub

You can install the latest versions directly from GitHub. To do so clone the repository using the git clone command. Navigate into the downloaded directory and install using

pip install .

Note

If you want to to install the package from source (either from GitHub or with pip install --no-binary sainsc) you will need a Rust compiler. You can follow the official Rust documentation or, if you are using conda install it via conda install conda-forge::rust.

If you want to install the development version you can install the additional optional dependencies with

pip install -e .[dev]