Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

CLI for cleaning Windows temporary files

Project Description

TEMPy is a command line utility intended for keeping your windows machine happy. Just run a command in your terminal every 10 seconds, week, year (please don’t), or whenever you want and that’s it your temp files are gone. Simple and fast.

TEMPy is written in python paired with the awesome Click and PrettyTable libraries, so it’s not windows only. You can run it on Linux or Mac, don’t know why, but it’s possible.


  • Intuitive commands
  • Temp directory content in tree view
  • Temp directory content in ASCII tables (like MySQL or PostgreSQL shell)
  • Temp directory size and total files
  • Log file with detailed data of the performed deletions


Tempy can be installed with pip with the command:

pip install tempy

Make sure pip and setuptools are up to date.


The general command structure is:



Command Option Description
delete --a deletes all the files and directories
delete --se Shows all errors that were encountered in the last deletion
analyze [none] Shows the temp directory contents, number of files, and size.
tree [none] Displays a tree view of the temp directory
log [none] Opens the log file

For more info visite TEMPy Github page

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(10.0 kB) Copy SHA256 Hash SHA256
Source May 9, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting