KillPy: The Tool to Clean Up Your Python Virtual Environments 🧹🐍

KillPy is a simple tool designed to locate and delete .venv directories from your projects. It can help you quickly clean up unnecessary virtual environments and save disk space.

Features

Automatic search: Finds all .venv directories recu…


This content originally appeared on DEV Community and was authored by Tlaloc-Es

KillPy is a simple tool designed to locate and delete .venv directories from your projects. It can help you quickly clean up unnecessary virtual environments and save disk space.

Features

  • Automatic search: Finds all .venv directories recursively within a specified path.
  • Safe deletion: Lists the directories to be deleted and asks for confirmation.
  • Fast and lightweight: Minimal dependencies for quick execution.

Installation

To install killpy, use pip:

pip install KillPy

Usage

Run the following command to search and delete .venv directories:

killpy

Select the .venv that you want to delete and press enter.

KillPy in action

Give It a Star! 🌟

If you found KillPy useful, I’d really appreciate it if you could give the repository a star on GitHub! 🌟 It helps others discover the project and shows your support for its development.

GitHub logo Tlaloc-Es / KillPy

List any .venv directories 🐍 in your system and check how much space they are using. You can then select which ones to delete to free up space 🧹

Downloads Stars

β–—β–– β–—β––β–„ β–ˆ β–ˆ β–—β–„β–„β–– β–„   β–„              ____
β–β–Œβ–—β–žβ–˜β–„ β–ˆ β–ˆ β–β–Œ β–β–Œβ–ˆ   β–ˆ           .'`_ o `;__
β–β–›β–šβ–– β–ˆ β–ˆ β–ˆ β–β–›β–€β–˜  β–€β–€β–€β–ˆ .       .'.'` '---'  '
β–β–Œ β–β–Œβ–ˆ β–ˆ β–ˆ β–β–Œ   β–„   β–ˆ  .`-...-'.'
                 β–€β–€β–€    `-...-' A tool to delete .venv directories

KillPy in action

Delete .venv Directories

KillPy is a simple tool designed to locate and delete .venv directories from your projects. It can help you quickly clean up unnecessary virtual environments and save disk space.

Features

  • Automatic search: Finds all .venv directories recursively within a specified path.
  • Safe deletion: Lists the directories to be deleted and asks for confirmation.
  • Fast and lightweight: Minimal dependencies for quick execution.

Installation PyPI

To install killpy, use pip:

pip install KillPy

Usage

Run the following command to search and delete .venv directories:

killpy

Contributing

Contributions are welcome! If you'd like to improve this tool, feel free to fork the repository and submit a pull…





This content originally appeared on DEV Community and was authored by Tlaloc-Es


Print Share Comment Cite Upload Translate Updates
APA

Tlaloc-Es | Sciencx (2025-01-02T21:51:43+00:00) KillPy: The Tool to Clean Up Your Python Virtual Environments 🧹🐍. Retrieved from https://www.scien.cx/2025/01/02/killpy-the-tool-to-clean-up-your-python-virtual-environments-%f0%9f%a7%b9%f0%9f%90%8d/

MLA
" » KillPy: The Tool to Clean Up Your Python Virtual Environments 🧹🐍." Tlaloc-Es | Sciencx - Thursday January 2, 2025, https://www.scien.cx/2025/01/02/killpy-the-tool-to-clean-up-your-python-virtual-environments-%f0%9f%a7%b9%f0%9f%90%8d/
HARVARD
Tlaloc-Es | Sciencx Thursday January 2, 2025 » KillPy: The Tool to Clean Up Your Python Virtual Environments 🧹🐍., viewed ,<https://www.scien.cx/2025/01/02/killpy-the-tool-to-clean-up-your-python-virtual-environments-%f0%9f%a7%b9%f0%9f%90%8d/>
VANCOUVER
Tlaloc-Es | Sciencx - » KillPy: The Tool to Clean Up Your Python Virtual Environments 🧹🐍. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/01/02/killpy-the-tool-to-clean-up-your-python-virtual-environments-%f0%9f%a7%b9%f0%9f%90%8d/
CHICAGO
" » KillPy: The Tool to Clean Up Your Python Virtual Environments 🧹🐍." Tlaloc-Es | Sciencx - Accessed . https://www.scien.cx/2025/01/02/killpy-the-tool-to-clean-up-your-python-virtual-environments-%f0%9f%a7%b9%f0%9f%90%8d/
IEEE
" » KillPy: The Tool to Clean Up Your Python Virtual Environments 🧹🐍." Tlaloc-Es | Sciencx [Online]. Available: https://www.scien.cx/2025/01/02/killpy-the-tool-to-clean-up-your-python-virtual-environments-%f0%9f%a7%b9%f0%9f%90%8d/. [Accessed: ]
rf:citation
» KillPy: The Tool to Clean Up Your Python Virtual Environments 🧹🐍 | Tlaloc-Es | Sciencx | https://www.scien.cx/2025/01/02/killpy-the-tool-to-clean-up-your-python-virtual-environments-%f0%9f%a7%b9%f0%9f%90%8d/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.