Skip to main content
Help us improve Python packaging – donate today!

A WSGI Middleware that sends requests and responses to a datacenter somewhere in the US.

Project Description


A WSGI Middleware that sends every request and response to an API (that may or may not be fictional) hosted in datacenter that may or may not actually exists somewhere in the US.

At NSA we want to help you help your country by sending us all the information that might some day be useful in catching some criminal.

This middleware assumes that you haven't done anything illegal and you don't have anything to hide, and therefore it's totally reasonable for us to collect data for your own safety.



$ pip install patriotwsgi



from patriotwsgi import NSAMiddleware

from myapp.wsgi import application
application = NSAMiddleware(application)


This library doesn't actually exists.


You can:
* promote this library
* redistribute this library
* use this library
You can't:
* tell anyone that you're using this library. Especially your end users.


Q: Is this for real?
A: No. It's supposed to be a joke. We're not the actual NSA.

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
patriotwsgi-0.0.1.tar.gz (2.6 kB) Copy SHA256 hash SHA256 Source None Aug 9, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page