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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file FightForNetNeutrality-0.1.tar.gz.
File metadata
- Download URL: FightForNetNeutrality-0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8de29b654d1ae2d91bcf291276902def1a9426391a9d43ac712a612642103a10
|
|
| MD5 |
00f4ef0736b42346160b057309fb76ee
|
|
| BLAKE2b-256 |
7bd6e2acb61327660844e36e03d90a805d899903574deb92441fadd35d1ec92d
|