Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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 https://raw.githubusercontent.com/FlipperPA/pyromania/main/install-sudo.sh | sh

An Ansible role for installation is also available.

User Installation

To install the pyro command for the current user only:

curl -sS https://raw.githubusercontent.com/FlipperPA/pyromania/main/install.sh | sh

Usage

Options:

  • --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.

Examples:

  • 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.

Settings

  • 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/pre_activate.sh: script is run before the venv is activated.
  • venv/post_activate.sh: script is run after the venv is activated.

Release files for pyromania 1.0.0.dev5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyromania 1.0.0.dev5
File Size Uploaded
pyromania-1.0.0.dev5.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyromania 1.0.0.dev5
File Interpreter ABI Platform
pyromania-1.0.0.dev5-py3-none-any.whl Python 3 none any Details

Total release size: 9.3 kB

Release files / pyromania-1.0.0.dev5.tar.gz

Download URL pyromania-1.0.0.dev5.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
46be08b58271601ef1767e94670552d57003468830b34785bf6f0035e58f6160
BLAKE2b-256 checksum
How to use checksums
7dddc5208855467d46acd4d8bb939e6cec3b92e512f6f8a22eedfd822695a31a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release files / pyromania-1.0.0.dev5-py3-none-any.whl

Download URL pyromania-1.0.0.dev5-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce59d9bdcbecf90d4ab8d68fd35d61651ec38172bc9dcf6d6b3e162f20ca201a
BLAKE2b-256 checksum
How to use checksums
3977aebd4d64fe781219c98ccd7ff66eaafde4ee6fa02e3ab17855ab6b293d93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page