Vox (xonsh.vox)

class xonsh.vox.Vox[source]

Vox is a virtual environment manager for xonsh.

Ensure that $VIRTUALENV_HOME is defined and declare the available vox commands

activate_env(name)[source]

Activate a virtual environment.

Parameters:

name : str

Virtual environment name

static create_env(name)[source]

Create a virtual environment in $VIRTUALENV_HOME with python3’s venv.

Parameters:

name : str

Virtual environment name

static deactivate_env()[source]

Deactive the active virtual environment.

static list_envs()[source]

List available virtual environments.

static print_commands()[source]

Print available vox commands.

static remove_env(name)[source]

Remove virtual environment.

Parameters:

name : str

virtual environment name

show_help()[source]

Show help.