Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

This package is a WSGI middleware which allow to block some IP Address. By default the french parlement is denied.

Project description

Add FightForNetNeutrality to your python path using easy_install:

$ easy_install FightForNetNeutrality

Then wrap your wsgi application with the fightfornetneutrality.NetNeutrality middleware:

from fightfornetneutrality import NetNeutrality
application = NetNeutrality(application)

You can also define your own IP range:

application = NetNeutrality(application, ips_banned={"":24})

That’s it.

Project details

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
FightForNetNeutrality-0.1.tar.gz (3.3 kB) Copy SHA256 hash SHA256 Source None Apr 22, 2011

Supported by

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