Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
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 History

This version
History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
patriotwsgi-0.0.1.tar.gz (2.6 kB) Copy SHA256 Checksum SHA256 Source Aug 9, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting