Skip to main content

A Python library to clean cache and temporary files from your PC

Project description

CLEANMYPC

CleanMyPC is a Python library that helps you clean cache, temporary files, and junk from your PC, freeing up space and improving performance.

Features

  • Delete user and system temporary files
  • Clean user cache
  • Option to move files to trash instead of permanent deletion
  • Confirmation prompt before deleting (optional)
  • Prints deleted files and freed space (debug mode)
  • Confirmation and debug are enabled in default
  • Move file to trash instead of permanent deletion isn't enabled in default

Installation

pip install cleanmypc

Usage

import cleanmypc

# Delete all temporary files
cleanmypc.delete_all_temporary_files()

# Delete user cache and temporary files
cleanmypc.delete_all()

# Delete user temporary files
cleanmypc.temp.delete_user_temporary_files()

# Delete system temporary files
cleanmypc.temp.delete_system_temporary_files()

# Delete cache files
cleanmypc.cache.delete_user_cache()

License

MIT License — see the LICENSE file.

Contributions are welcome! Open an issue or a pull request on GitHub.

Project details


Download files

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

Source Distribution

cleanmypc-1.0.3.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cleanmypc-1.0.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file cleanmypc-1.0.3.tar.gz.

File metadata

  • Download URL: cleanmypc-1.0.3.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for cleanmypc-1.0.3.tar.gz
Algorithm Hash digest
SHA256 796e70b8ba8c9d7852bfc70e1e5529131a056fe31f99a0cb133aaf9a6520e686
MD5 970f6d230bc6b385e9d0491b507b50fd
BLAKE2b-256 a3874e60876f9f5c7d8ef6b20a1f6928f5b5b1c3ca99b9c51c50beb5f1f935b5

See more details on using hashes here.

File details

Details for the file cleanmypc-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: cleanmypc-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for cleanmypc-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bc68865215174f7ecf3ce2fe4e8116db5d2f5708354fa4a2e254649913ce5907
MD5 fc52077601876936bf026887ae857fe3
BLAKE2b-256 1656a5c2098d26073fab21688468d1cf66743b343cd2f717ede1ff6cdceb0a3a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page