Skip to contents

Run command line tools

Run a command, or a pipeline of commands, in a Conda environment.

run()
Run a command in a Conda environment
run_bin()
Run a binary from a Conda environment
run_pipeline()
Run a pipeline of commands connected with pipes
run_step()
Describe one command of a pipeline
parse_output()
Split the output of a command into lines

Manage environments

Create, change, check, list and remove Conda environments.

create_env()
Create a Conda environment
install_packages()
Install packages in a Conda environment
remove_env()
Remove a Conda environment
validate_env()
Check that an environment has the requested packages
env_exists()
Check whether a Conda environment exists
list_envs()
List Conda environments managed by condathis
list_packages()
List packages in a Conda environment
get_env_dir()
Get an environment directory path
env_path()
Refer to an environment by its path

Setup: micromamba, data directories and caches

Install and locate the micromamba binary that condathis uses, find the data directory of each backend, clean the package caches, run code with temporary home and data directories, and report the operating system and CPU architecture.

install_micromamba()
Install micromamba
micromamba_bin_path()
Get the path of the managed micromamba binary
get_install_dir()
Get the data directories of the backends
clean_cache()
Clean Conda cache
with_sandbox_dir()
Run code with temporary home and data directories
get_sys_arch()
Get operating system and CPU architecture

Backends

Add, remove and inspect backends that create and run environments.

register_backend()
Register a condathis backend
unregister_backend()
Unregister a condathis backend
list_registered_backend_names()
List the registered backends
backend_root_dir()
Get the root directory of a backend

Options and conditions

The options and environment variables that condathis reads or sets, and the classes of the conditions it signals.

condathis-options condathis_options
Options and environment variables used by condathis
condathis-conditions condathis_conditions
Condition classes of condathis