Lightweight Python virtual environment manager
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
img
.gitignore
ChangeLog
LICENSE
Makefile
ReadMe.org
install.sh
virtual.sh

ReadMe.org

./img/logo.png

Lightweight Python virtual environment manager

For more than a year setV was lying under bash_scripts. I use it as an alternative to virtualenvwrapper. It is a Bash function which provides basic features such as:

  • Create new virtual environment
  • Delete existing virtual environment(s)
  • List existing virtual environment(s)
  • In case you don’t remember virtual environment name, TAB completion works :)

Installation

Run the command

curl https://raw.githubusercontent.com/psachin/setV/master/install.sh | sh -

Usage

  • First of all, the command is setv
  • When you install setv, the installation script will ask you to source ~/.bashrc or ~/.bash_profile. Please do that.

Screencast(Installation & Usage)

./img/screencast.gif

Create virtual environment

setv --new rango

Activate existing environment

setv VIRTUAL_ENVIRONMENT_NAME

For example

setv rango

List all virtual environment(s)

You can list existing virtual environments by typing

setv --list
# or
setv [TAB] [TAB]

Delete virtual environment

setv --delete rango

Switch to another virtual environment

# Assuming you are in 'rango', switch to 'tango' using
setv tango

In case you don’t fully remember virtual environment name

  • Bash-like TAB completion works for virtual environment names

Contribute

  • Create new issue.
  • Patches are welcome for existing issues.

License

GNU GPL version 3. See LICENSE file.