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={"62.160.71.0":24})
That’s it.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for FightForNetNeutrality-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8de29b654d1ae2d91bcf291276902def1a9426391a9d43ac712a612642103a10 |
|
MD5 | 00f4ef0736b42346160b057309fb76ee |
|
BLAKE2b-256 | 7bd6e2acb61327660844e36e03d90a805d899903574deb92441fadd35d1ec92d |