Skip to main content

Easy way to use virtualenv.

Project description

Easy way to use virtualenv.


  • Store virtualenv in .venv directory, along with your .git and requirements.txt
  • Run command inside virtualenv without activating it.


$ pip install --user ven


Initialize an empty virtualenv using ven init:

$ ven init
New python executable in .venv/bin/python
Installing setuptools, pip...done.

$ ls -A

Run command inside virtualenv using ven run:

$ ven run which python

Activate virtualenv in a sub-shell:

$ ven run
$ which python
$ (Deactivate with Ctrl-D)


Usage: ven [OPTIONS] COMMAND [ARGS]...

  Easy way to use virtualenv

  --version  Show the version and exit.
  --help     Show this message and exit.

  help  Show help information
  init  Create a new virtualenv
  run   Run command in virtualenv (default: shell)


Use ‘–’ to separate ven run options and command that contains ‘-‘:

$ ven run -- python --version
Python 2.7.5

oh-my-zsh overwrites $PATH, add the following to your .zshrc:

if [ -n "$VIRTUAL_ENV" ]; then
    export PATH="$VIRTUAL_ENV/bin:$PATH"

Recommanded aliases:

alias vrun='ven run --'
alias vpy='ven run -- python'
alias vpip='ven run -- pip'

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ven, version 0.4.1
Filename, size File type Python version Upload date Hashes
Filename, size ven-0.4.1-py2.py3-none-any.whl (4.6 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size ven-0.4.1.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page