azomDev / pen

An easy-to-use tool for effortlessly managing virtual environments with specific Python versions
MIT License
3 stars 0 forks source link

Pen

Pen is a tool for managing Python environments with different Python versions. (v0.4.0)

Features

Installation

Currently, this software supports only Linux environments. Windows and macOS are not supported at this time. However, macOS support is under development and will be available soon.

Supported Shells:

Fast Install

Run this in your terminal:

bash <(curl -sL "https://raw.githubusercontent.com/azomDev/pen/main/files/unix/install.sh")

Manual Install

For shells other than Bash, change ~/.bashrc to the according config file for your shell (for example: ~/.zshrc for Zsh).

  1. Clone the repository and navigate to the directory:

    git clone https://github.com/azomDev/pen.git
    cd pen
  2. Build the project:

    cargo build --release
  3. Set up the environment:

    mkdir ~/.pen
    mv target/release/pen ~/.pen/core
    mv files/unix/main.sh ~/.pen/main.sh
    printf '\nalias pen=". $HOME/.pen/main.sh"\n' >> ~/.bashrc
  4. Clean up and apply changes:

    cd ..
    rm -rf pen/
    source ~/.bashrc

Usage

Command Format: pen <COMMAND>

Commands

Options

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub for any bugs or suggestions. Feel free to comment on any issue if you're interested in contributing.

License

This project is licensed under the MIT License. See the LICENSE file for details.