cleanup
Clean files and directories using Unix-Shell Style wildcards. Multiple clean parameters can be used in a single command, or they can be written to a file for easy execution.
Installation using pip
pip install cleanup_py
Building from Sources
python -m build
pip install .\dist\cleanup_py-0.1.32-py3-none-any.whl
Command
cleanup --help
usage: cleanup [-h] [-p PATTERNS] [-e EXCLUDES] [config_file]
Clean up the current folder
positional arguments:
config_file Configuration file, default to .cleanup in the current working directory
options:
-h, --help show this help message and exit
-p PATTERNS, --patterns PATTERNS
Matching expressions for folders and files, using Unix Shell style. If there are multiple expressions, use commas to separate them
-e EXCLUDES, --excludes EXCLUDES
Match expressions for files or folders that are not cleaned, using Unix Shell style. If there are multiple expressions, use commas
to separate them
Using .cleanup
# Matching expressions for folders and files, using Unix Shell style. If there are multiple expressions, use commas to separate them
patterns = dist,log,__pycache__,tmp,.pytest_cache,*.pyc
# Match expressions for files or folders that are not cleaned, using Unix Shell style. If there are multiple expressions, use commas to separate them
exclude_patterns = venv,*.tar.gz
Metadata
Release files for cleanup-py 0.1.33
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cleanup_py-0.1.33.tar.gz | 5.8 kB | Without provenance | Details for cleanup_py-0.1.33.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cleanup_py-0.1.33-py3-none-any.whl | Python 3 | none | any | Details for cleanup_py-0.1.33-py3-none-any.whl |
Total release size: 13.0 kB
Release files / cleanup_py-0.1.33.tar.gz
| Download URL | cleanup_py-0.1.33.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed220a648cfcfd049c7b8c4ce96710b98874b254602c59e009b74b48f6f2d24e
|
|
BLAKE2b-256 checksum How to use checksums |
a019f2c432b34aec50ad76790c4736b9c340827166733ac7d2177ed0fa730d7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.18
|
Release files / cleanup_py-0.1.33-py3-none-any.whl
| Download URL | cleanup_py-0.1.33-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f76464b89d199f5ea2727f6f30b283e8c1f48cbbc1d050d9be9bbf7cbe4cf85
|
|
BLAKE2b-256 checksum How to use checksums |
75997b17657449ee9a68c21f9383b5df28d4770006c023c63e337e469dd9e787
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.18
|
Security for cleanup-py 0.1.33
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.