Skip to content

API🔗

load_conda🔗

Downloads conda.

Parameters:

Name Description Default
conda_version Version of conda to download 4.10.3
installer Which conda installer to download, either miniconda or miniforge miniconda
install_mamba Whether to install mamba, which is a faster drop-in replacement for conda False
mamba_version Version of mamba to install 0.17.0
quiet True if conda output should be hidden True
timeout How many seconds each execute action can take 3600

conda_create🔗

Creates a conda environment.

Parameters:

Name Description Default
name Name of the environment
environment label pointing to environment configuration file (typically named environment.yml)
quiet True if conda output should be hidden True
timeout How many seconds each execute action can take 3600
clean True if conda cache should be cleaned (less space taken, but slower subsequent builds) False
use_mamba Whether to use mamba to create the conda environment. If this is True, install_mamba must also be True False

register_toolchain🔗

Register python toolchain from conda environment for all python targets to use.

Parameters:

Name Description Default
env Name of the environment to use
Back to top