apira-1.0.1 is not a library.
apira
A Rust program that finds and copies the activate script path of a python virtual environment to the system clipboard for easy activation.
Features
- Detects virtual environments by searching for
activatescripts. - Copies the
activatescript path to the clipboard. - Outputs the
source <path>command.
Installation
- Install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh - Clone the repo:
git clone https://github.com/NerdNinja420/apira.git - Build:
cargo build --release - Run:
cargo run
Usage
Run the program, and if a virtual environment is found, the path to its activate script will be copied to the clipboard.
Requirements
- rust: for compiling the program
- wl-copy: for clipboard operation on Wayland.
License
MIT License
This version keeps the essential information while trimming down extra details.