Skip to content

A wrapper for managing Python virtual enviroments written in Bash

License

Notifications You must be signed in to change notification settings

antebandov/venvwrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

venvwrapper

A wrapper for managing Python virtual enviroments written in Bash

Installation

To install this software just clone this repository and run the venvwrapper-install script. The install script will create/modify the following files and directories:

  • add an alias for venvwrapper to your ~/.bash_aliases
  • create a local ~/.bash_completion file that sources all files in ~/.local/share/bash-completion
  • create the ~/.local/share/bash-completion, if it doesn't exist
  • add the venvwrapper-completion script to ~/.local/share/bash-completion

Usage

# creates a new venv
venvwrapper -c <name of new venv>
# opens a existing venv in current terminal instance
venvwrapper -o <name of existing venv>
# prints all installed python packages of a specific venv
venvwrapper -i <name of existing venv>
# removes an specific venv
venvwrapper -r <name of existing venv>
# prints a list with all existing venvs
venvwrapper -l

Info

  • The created venvs are stored in ~/.venv
  • To use the bash-completion install the "bash-completion" package from your distributions repositories

About

A wrapper for managing Python virtual enviroments written in Bash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages