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.
Release files for FightForNetNeutrality 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| FightForNetNeutrality-0.1.tar.gz | 3.3 kB | Details |
Release files / FightForNetNeutrality-0.1.tar.gz
| Download URL | FightForNetNeutrality-0.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8de29b654d1ae2d91bcf291276902def1a9426391a9d43ac712a612642103a10
|
|
BLAKE2b-256 checksum How to use checksums |
7bd6e2acb61327660844e36e03d90a805d899903574deb92441fadd35d1ec92d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |