Skip to content
/ dpv Public

dpv is an alternative to pyenv-virtualenv and virtualenvwrapper

License

Notifications You must be signed in to change notification settings

caioariede/dpv

Repository files navigation

dpv (dee-pee-vee) is a dead simple alternative to pyenv-virtualenv and virtualenvwrapper

Bem-te-vi, Great Kiskadee, Pitangus sulphuratus, credit of Helena Stainer

CI GitHub release (latest by date) GitHub file size in bytes Platform GitHub

Why?

  1. It's simple. Just type dpv or dpv <python version> and get the work done.
  2. It's pure shell and POSIX-compliant tested with: ash bash dash ksh zsh
  3. It's built to get out of the way!

How?

Think of dpv as an interface for whaterver of these tools you have installed: uv, pyenv, brew

It will automatically pick the one that is available and use it for the job.

Installation

  1. Download
sh -c 'curl -fsSLo $1 https://github.com/caioariede/dpv/releases/download/v0.12.1/dpv && chmod +x $1' -- /usr/local/bin/dpv
  1. Configure — Add the following line to your .bashrc, .zshrc, etc
eval "$(dpv internal-load-shell)"

Check out more details in the installation instructions

Usage

Take a look at the dpv cheatsheet - or for more detailed instructions, check the documentation