Skip to main content

Documentation Index

Fetch the complete documentation index at: https://private-04b27de1.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

create_virtual_env

create_virtual_env(dir_path: str, **env_args) -> SimpleNamespace
Creates a python virtual environment and returns the context.
Parameters:
NameDescription
dir_pathDirectory path where the env will be created.

Type: str
**env_argsAny extra args to pass to the EnvBuilder

Returns:
TypeDescription
types.SimpleNamespaceSimpleNamespace: the virtual env context object.