Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

🧹 Advanced Cache Cleaner

An ultra-modern, terminal-based cache cleaner and disk monitoring tool for developers. Built with Python, it not only cleans up gigabytes of junk (__pycache__, .pyc, pip cache, Temp files) but also acts as a beautiful visual disk monitor with OS-level notifications.

✨ Features

  • 🎨 Stunning UI: Powered by rich, featuring beautiful tables, colors, and smooth progress bars.
  • 💽 Disk Monitoring: Real-time visual drive storage status across all mounted drives.
  • 🔔 OS Notifications: Alerts you instantly if any drive is running dangerously low on space (< 10% or < 5GB).
  • 🧹 Deep Cleaning: Safely identifies and removes:
    • Python __pycache__ folders
    • Python .pyc compiled files
    • pip cache
    • System and User Temp folders
  • 🛡️ Safe Operations: Built-in --dry-run mode to see what would be deleted without actually touching your files.
  • ⏱️ Smart Estimations: Calculates estimated deletion time based on cache size.
  • 📝 Logging: Automatically logs all cleanup activities to cache_cleanup_log.txt.

📦 Installation

  1. Clone the repository:
    git clone https://github.com/iamnomandra/advanced-cache-cleaner.git
    cd advanced-cache-cleaner
    
  2. Install the required dependencies:
    pip install rich psutil plyer
    

📸 Screenshot

  • Main Menu Dashboard

    Screenshot 2026-08-23 024234

💻 CLI Arguments

Use these arguments to automate the cleaning process or integrate it into your scripts:

Argument Description Example Usage
--dry-run Preview what will be deleted without actually deleting anything. python clear_cache.py --all --dry-run
--all Clean all available caches automatically without any prompts. python clear_cache.py --all
--only [TARGET] Target a specific cache. Choices: pip, temp, pyc, pycache. python clear_cache.py --only temp
--silent Suppress success messages (best for background/cron jobs). python clear_cache.py --all --silent

💬 Questions? Contributions?

  • Feel free to open an Issue or start a Discussion on GitHub.

🚀 Ready to improve your CLI debugging?

💡 Found this useful? Give it a ⭐ and share with your Python friends!

🖂 Contact me any help

📜 License

  • MIT License

Free to use, modify, and enhance in your own projects.

About

A visually stunning, terminal-based Advanced Cache Cleaner for Python devs. Monitors disk space, sends OS notifications, and safely purges pycache, .pyc, pip cache, and Temp folders with beautiful Rich UI progress bars.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages