Skip to main content

pycache-handler

PyPI version PyPI downloads License

It aims to continuously scan a project and then delete any __pycache__ directory generated by the project. This is to ensure the project will be clean and avoid to delete __pycache__ manually.

Installation

To install it :

pip install pycache-handler

Usage

from pycache_handler.handler import py_cache_handler

@py_cache_handler
def main():
    # Your main application code here
    pass

# Or specify a custom directory to monitor
@py_cache_handler(project_dir=r"path/to/your/project")
def main():
    # Your main application code here
    pass

if __name__ == "__main__":
    main()

Requirements

  • watchdog

License

This project is licensed under the MIT License

Metadata

Release files for pycache-handler 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pycache-handler 0.1.7
File Size Uploaded
pycache_handler-0.1.7.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pycache-handler 0.1.7
File Interpreter ABI Platform
pycache_handler-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / pycache_handler-0.1.7.tar.gz

Download URL pycache_handler-0.1.7.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
36e8e826092b21ccb3644f6b4889d9459560cc822c85da232ddfd9a64c1d35e5
BLAKE2b-256 checksum
How to use checksums
c6cc7320ff32784775c4b54f1e05d694111cf225175f9c689c265cddfd052847
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.5

Release files / pycache_handler-0.1.7-py3-none-any.whl

Download URL pycache_handler-0.1.7-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a9eed68abf67ab23a04031ad7bbe4a1224507ba97a88a876031e218fcd34cf3
BLAKE2b-256 checksum
How to use checksums
7572239d498e9be3208fe29c25a2e3b1e339be42722884137289625794a1fee7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.5

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page