venv_management package

Submodules:

Subpackages:

Summary

__all__ Exceptions:

CommandNotFound

Raised when a shell command could not be found.

ImplementationNotFound

Raised when a virtual environment driver is not backed by a working implementation.

PythonNotFound

Raised when the requested Python version is not found.

__all__ Functions:

check_environment

Returns: A 2-tuple containing the status output of the setup command, and text output

discard_virtual_env

Discard a virtual environment.

ensure_virtual_env

Ensure a virtualenv with the given name and version exists.

has_virtualenvwrapper

Determine whether virtualenvwrapper available and working.

list_virtual_envs

A list of virtualenv names.

make_virtual_env

Make a virtual env.

python_executable_path

Find the Python executable for a virtual environment.

python_name

Find the name of the Python in a virtual environment.

python_version

Find the version of the Python in virtual environment.

remove_virtual_env

Remove a virtual environment.

resolve_virtual_env

Given the name of a virtual environment, get its path.

virtual_env

A context manager that ensures a virtualenv with the given name and version exists.