skip to navigation
skip to content

Not Logged In

pyquickenv 12.09

A command line tool to start Python virtual environments faster and easier.

Latest Version: 14.04

A command line tool to start Python virtual environments faster and easier.

Installation:
sudo pip install pyquickenv

Next, add the following to your .bashrc:
pyenv() {
  eval $(pyquickenv "$@")
}

Add An Environment:
pyenv add proj1 /home/user/git/proj1_path
*** Last argument is your project home directory and is optional ***

Activate Environment:
pyenv proj1

The command "pyenv proj1" executes:
1. source /home/user/pyenv/proj1/bin/activate
2. cd /home/user/git/proj1_path

Once in a virtual env you can type:
pyenv

This executes:
cd /home/user/git/proj1_path

To add projects manually that are not added via "pyenv add" edit the file:
/home/user/.pyenv.json

Sample JSON file, note "cd" is optional:
{
  "proj1": {"env": "/home/user/ENVs/project1", "cd": "/home/user/git/project1"},
  "proj2": {"env": "/home/user/ENVs/project2", "cd": "/home/user/git/project2"}
}

List Environments:
pyenv list
 
File Type Py Version Uploaded on Size
pyquickenv-12.09.tar.gz (md5) Source 2012-09-21 2KB
  • Downloads (All Versions):
  • 1 downloads in the last day
  • 109 downloads in the last week
  • 979 downloads in the last month