Skip to main content

GNU Terry Pratchett for WSGI

Project description

Simple WSGI middleware for adding Terry Pratchett’s header to your requests per the conversation that’s happening on reddit

Usage

WSGI middleware is pretty simple. Wrap your WSGI application in an instance of GNUTerryPratchett and you’re set.

from pratchett import GNUTerryPratchett

# ... your code here, create your WSGI application
app = GNUTerryPratchett(your_app)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wsgi-pratchett-1.0.1.tar.gz (1.1 kB view details)

Uploaded Source

File details

Details for the file wsgi-pratchett-1.0.1.tar.gz.

File metadata

File hashes

Hashes for wsgi-pratchett-1.0.1.tar.gz
Algorithm Hash digest
SHA256 77b6f8c59bab8feb5901f5985b700b1f2710e8961f6bd8231b3b43d58751bb52
MD5 20cadb5b5cfd9f65dd67e9c20f553b2a
BLAKE2b-256 0e494214590b568dea7b09995d6f6b3f627a78e450ea3065a512d429b32ece80

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page