Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

Project details

Release history Release notifications

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.

Filename, size & hash SHA256 hash help File type Python version Upload date (10.0 kB) Copy SHA256 hash SHA256 Source None May 9, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page