conda_subprocess.decorator

conda_subprocess.decorator#

Functions

conda([prefix_name, prefix_path, ...])

Decorator to execute a python function in a different conda environment, built on top of executorlib.

Classes

CondaSpawner([cwd, cores, ...])

executorlib SubprocessSpawner which starts the worker process with conda_subprocess.Popen() instead of the regular subprocess.Popen(), so the worker runs inside the conda environment selected by prefix_name/prefix_path.