====================
django-clean is a package that lets you specify files or directories that you
would like cleaned up. You can specify regular expressions to define which
files you would like automatically removed.
Installation
------------
1. Add 'clean' to your installed apps in your settings.py file.
INSTALLED_APPS = [
'clean',
...
]
2. Define a PROJECT_PATH in your settings.py file.
import os.path, sys
PROJECT_PATH = os.path.dirname(__file__)
3. *OPTIONAL* Define the regular expression patterns you would like to match against in
your settings.py file. The default is a regex pattern to remove *.pyc files. (NOTE: The
regex matches against the full qualified path).
CLEAN_PATTERNS = [
r'^.+\.pyc$',
]
Usage
-----
From your shell, type:
python manage.py clean
This will prompt you to remove files that match the regular expression patterns.
If you are confident in your regex, you can supply a --force option which will not prompt
you before removing pattern matches.
Metadata
Release files for django-clean 0.1.2
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 |
|---|---|---|---|---|
| django-clean-0.1.2.tar.gz | 3.8 kB | Without provenance | Details for django-clean-0.1.2.tar.gz |
Release files / django-clean-0.1.2.tar.gz
| Download URL | django-clean-0.1.2.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24a29f975a99975b58fdeec3c84332a75878505be91c042ceca4e0f5bcec7759
|
|
BLAKE2b-256 checksum How to use checksums |
77300880ef108c5df99564945d415f5577e1bbe4e02963db65d52f6b1842c0ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-clean 0.1.2
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.