==========================
Keeping the legacy of [Sir Terry Pratchett](http://en.wikipedia.org/wiki/Terry_Pratchett) alive forever.
For as long as his name is still passed along the Clacks,
Death can't have him.
* G: send the message on
* N: do not log the message
* U: turn the message around at the end of the line and send it back again
with thanks to [this reddit thread](http://www.reddit.com/r/discworld/comments/2yt9j6/gnu_terry_pratchett/)
Installation
------------
You can install from pypi:
pip install django-GNU-Terry-Pratchett
or from source:
git clone git@github.com:aaronbassett/django-GNU-Terry-Pratchett.git
cd django-GNU-Terry-Pratchett
python setup.py install
Once installed add the middleware to you project:
MIDDLEWARE_CLASSES=(
...
'gnu_terry_pratchett.middleware.ClacksMiddleware',
),
We also provide a view decorator and a mixin for your Class-Based Views if you
don't want to have the header on every response.
from gnu_terry_pratchett.decorators import clacks_overhead
from gnu_terry_pratchett.views import ClacksMixin
# function view
@clacks_overhead
def my_view(request):
...
return my_response
# CBV
class MyView(ClacksMixin, View):
def get(self, request):
...
return my_response
Metadata
Release files for django-GNU-Terry-Pratchett 0.2.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 | Actions |
|---|---|---|---|---|
| django-GNU-Terry-Pratchett-0.2.0.tar.gz | 2.5 kB | Without provenance | Details for django-GNU-Terry-Pratchett-0.2.0.tar.gz |
Release files / django-GNU-Terry-Pratchett-0.2.0.tar.gz
| Download URL | django-GNU-Terry-Pratchett-0.2.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
256a1274ce9ace02a2efb13cb79b4ce1d2e5c09a62e6d72d1625e90d6df95172
|
|
BLAKE2b-256 checksum How to use checksums |
d28ab1962d4a33a91b4c3e0c4f73565d02e01ca89cc416d1eef8de48db00b6c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-GNU-Terry-Pratchett 0.2.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.