Installation ============ PyPI and ``pip`` ---------------- To install ``sainsc`` from `PyPI `_ using ``pip`` just run .. code-block:: bash pip install sainsc If you want to have support for :py:mod:`spatialdata` use .. code-block:: bash pip install sainsc[spatialdata] Bioconda and ``conda`` ---------------------- ``sainsc`` is not yet available for `Miniconda `_ installations. But we are planning to add it to the `bioconda `_ channel soon. .. Alternatively, if you prefer the installation using .. `Miniconda `_ you can do that from the .. `bioconda `_ channel. .. .. code-block:: bash .. conda install -c 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 .. code-block:: bash 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 .. code-block:: bash pip install -e .[dev]