Welcome to venv_tools’s documentation!¶
venv_tools
is a collection of
BSD Licenced utilities for
using venvs from Python.
from venv_tools import TemporaryVenv, Venv
from subprocess import call # or similar
with TemporaryVenv() as env_dir, Venv(env_dir):
call(["pip", "install", "-r", "requirements.txt"])
call(["python", "-m", "profile", "project"])
Contents: