Django Clacks
The unseen, silent tribute to those we have lost.
django-clacks contains boilerplate code for working with the nonstandard HTTP header X-Clacks-Overhead.
You can find out more about the X-Clacks-Overhead header here: https://xclacksoverhead.org/home/about
Installation
Django Clacks is on PyPI. Install it with pip install django-clacks or add it with your dependency manager.
Quickstart
Add clacks.middleware.ClacksMiddleware to your MIDDLEWARE setting:
MIDDLEWARE = [
# ...
"clacks.middleware.ClacksMiddleware",
# ...
]
By default, all responses will now have a header X-Clacks-Overhead, with the content GNU Terry Pratchett.
You can modify the names used with the CLACKS_NAMES setting. The following setting:
CLACKS_NAMES = [
"Terry Pratchett",
"Joe Armstrong",
]
Will result in an X-Clacks-Overhead header containing GNU Terry Pratchett, Joe Armstrong.
Metadata
Release files for django-clacks 0.3.0
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 | |
|---|---|---|---|---|
| django-clacks-0.3.0.tar.gz | 2.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_clacks-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.6 kB
Release files / django-clacks-0.3.0.tar.gz
| Download URL | django-clacks-0.3.0.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24dffb99cc2226a1f0bed8793913111094c3b2880932ed35bfcd313faf346b8b
|
|
BLAKE2b-256 checksum How to use checksums |
bae678d21e7b7873fbcd1dcb3fbf4091fbb320651b9eb0248ecd350d6da9df70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.10.2 Linux/5.16.5-200.fc35.x86_64
|
Release files / django_clacks-0.3.0-py3-none-any.whl
| Download URL | django_clacks-0.3.0-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd2e386829d97fb34f292fb1ab0f9646db553508a17a2c6e88294dad8e1f7a2a
|
|
BLAKE2b-256 checksum How to use checksums |
d0f8b69c18d2c8d2c65ddc73199fa01873d8ae0d1919943cfb44774f6abbd067
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.10.2 Linux/5.16.5-200.fc35.x86_64
|
Security for django-clacks 0.3.0
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.