DEV Community

Tlaloc-Es
Tlaloc-Es

Posted on

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 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
Enter fullscreen mode Exit fullscreen mode

Usage

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

killpy
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

Usage

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

killpy
Enter fullscreen mode Exit fullscreen mode

Contributing

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




Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

๐Ÿ‘‹ Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay