pykill is a Rust-based utility (currently in early development) designed to scan projects for Python virtual environments. The goal is to provide a fast, cross-platform tool with a terminal user interface (TUI) for managing and potentially cleaning up Python virtual environments within a given directory tree.
- Scan for Python Virtual Environments: Detect virtual environments in a project using Python's
sys.prefix
or directory heuristics. - Terminal User Interface: Built with ratatui and crossterm for a modern, interactive TUI experience.
- Project Navigation: Easily browse and select directories to scan.
- Environment Management: (Planned) List, inspect, and optionally remove unused or large virtual environments.
This project is in the early stages. Most modules are placeholders with TODOs for future implementation.
- ratatui - TUI rendering
- crossterm - Terminal handling
- walkdir - Recursive directory traversal
- humansize - Human-readable file sizes
- chrono - Date and time utilities
- Build the project:
cargo build --release
- Run the project:
(Note: Functionality is not yet implemented; running will only print "Hello, world!" for now.)
cargo run -- <project_path>
Contributions are welcome! Please open issues or pull requests to discuss features or report bugs.
This project is licensed under the MIT License.