Skip to content
/ pvenv Public

Manages all python venvs in one place using just venv and pip.

License

Notifications You must be signed in to change notification settings

zimfw/pvenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pvenv

Manages all python venvs in one place. Pretty much like pipenv or poetry, but using just venv and pip.

Usage

Usage: pvenv [-n|--name <venv_name>] <command> [arg...]

  -n|--name <venv_name>  Set a custom venv name. Default: unique name based on the name of the
                         current directory.

Commands:
  use [python] [arg...]  Create venv using the provided python executable (if venv doesn't exist)
                         and activate it. If no python executable is provided, defaults to
                         python3. Any additional arguments given are passed to the venv creation
                         script. See python3 -m venv --help
  ls                     List path of venv, if venv exists.
  rm                     Remove venv.

Settings

By default, all venvs are created under ${HOME}/.venvs. This path can be customized with:

PVENV_HOME=/path/to/venvs

Releases

No releases published

Packages

No packages published

Languages