Skip to main content

Pyromania creates and manages Python 3 venvs, inspired by virtualenvwrapper.

Project description

Pyromania venv Manager

Pyromania helps make venv management straightforward, inspired by virtualenvwrapper. By default, Pyromania will create a venv named venv in the current directory, and:

  • Install the latest versions of pip and wheel.
  • Includes handy options for switching to the site-packages folder.
  • Creates pre and post activation hook scripts for additional customization.
  • Activating your venv will automagically move to your project directory with a default pre-activation hook.

System Wide Installation

To install the pyro command for all users on your system with sudo escalation:

curl -sS | sh

An Ansible role for installation is also available.

User Installation

To install the pyro command for the current user only:

curl -sS | sh



  • --help, -h: Display the help menu.
  • --delete, -d: Delete the venv.
  • --create, -c: Create the venv without prompting.
  • --packages -p: Change to the venv's site-packages directory.


  • pyro: Lists the venvs currently managed by pyromania.
  • pyro my_venv: Activate a venv called my_venv, or prompts to create it if it doesn't exist.
  • pyro my_venv -c: Creates a venv called my_venv without prompting.
  • pyro my_venv --delete: Deletes a venv called my_venv.
  • pyro my_venv -p: Change to to the venv's site-packages directory.


  • VENV_DIR (default: venv): default venv directory name.
  • VENV_PYTHON (default: python3): the default version of Python to include.

Pre and Post Activation Hooks

Pyromania will create two hook files in your venv which can be modified for pre and post activation actions:

  • venv/ script is run before the venv is activated.
  • venv/ script is run after the venv is activated.

Project details

Download files

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

Source Distribution

pyromania-1.0.0.dev5.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

pyromania-1.0.0.dev5-py3-none-any.whl (2.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page