#clipboard #python #wayland #virtualenv #apirra

app apiraa

A Rust program that finds and copies the activate script path of a virtual environment to the system clipboard

2 stable releases

1.0.1 Jan 25, 2025
1.0.0 Jan 24, 2025

#477 in Command line utilities

Download history 42/week @ 2025-01-18 184/week @ 2025-01-25 27/week @ 2025-02-01

253 downloads per month

MIT license

5KB
70 lines

Apiraa

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 activate scripts.
  • Copies the activate script path to the clipboard.
  • Outputs the source <path> command.

Installation

  1. Install Rust: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  2. Clone the repo: git clone https://github.com/NerdNinja420/apira.git
  3. Build: cargo build --release
  4. 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.

source /path/to/virtualenv/bin/activate

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.

No runtime deps