pvenv: Easy python virtual environment management

Tests License PyPI Downloads code style: black build automation: yam Lint: ruff

In a nutshell

Installation

The easiest way is to use pipx to install pvenv.

$ pipx install pvenv

Please make sure that the correct directory is added to your path. This depends on the OS.

Run pvenv to get the path to be sourced in the shell rc:

$ pvenv

Usage

You can use the following commands:

  • venv activate (aliased to avenv) to activate a virtual environment

  • venv deactivate (aliased to dvenv) to deactivate a virtual environment

  • venv list (aliased to lsvenv) to list all the virtual environments

  • venv make (aliased to mkvenv) to create a new virtual environment

  • venv rm (aliased to rmvenv) to remove a virtual environment