pyron#

Manage virtual python environments with ease.
Creates and activates a .pyron virtual environment in your current directory.
Features#
- Automatically creates or activates a
.pyronvirtual environment - Works in both bash and zsh
- Performs Python version checks
- Updates pip to latest version on environment creation
- Provides clear feedback and error messages
Installation#
Option 1: Direct install (recommended)#
curl -o- https://raw.githubusercontent.com/cpfiffer/pyron/main/install.sh | bash
Or with wget:
wget -qO- https://raw.githubusercontent.com/cpfiffer/pyron/main/install.sh | bash
Option 2: Manual Installation#
- Download the script:
mkdir -p ~/.local/bin
curl -o ~/.local/bin/pyron.sh https://raw.githubusercontent.com/cpfiffer/pyron/main/pyron.sh
<<<<<<< HEAD
chmod +x ~/.local/bin/pyron.sh
=======
>>>>>>> a5b05d7e379884ca44761da4a0241bc9c427aab9
- Add to your shell configuration:
For zsh (add to ~/.zshrc):
source ~/.local/bin/pyron.sh
For bash (add to ~/.bashrc):
source ~/.local/bin/pyron.sh
Option 3: Using git#
git clone https://github.com/cpfiffer/pyron.git
cd pyron
chmod +x install.sh
./install.sh
Usage#
Simply run pyron in any directory where you want to create or activate a Python virtual environment:
cd your-project
pyron
python blah-blah-blah.py
This will:
- Create a
.pyronvirtual environment if it doesn't exist - Activate the environment
- Update pip to the latest version (on first creation)
- Display the Python and pip versions being used
Requirements#
- Python 3.7 or higher
bashorzshshell
License#
MIT License - see LICENSE file for details
Security#
The install script will:
- Create
~/.local/binif it doesn't exist - Copy
pyron.shto~/.local/bin - Add a source line to your
.zshrcand/or.bashrc - No sudo privileges required