Skip to main content

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

This version

0.1

Download files

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

Source Distribution

FightForNetNeutrality-0.1.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file FightForNetNeutrality-0.1.tar.gz.

File metadata

File hashes

Hashes for FightForNetNeutrality-0.1.tar.gz
Algorithm Hash digest
SHA256 8de29b654d1ae2d91bcf291276902def1a9426391a9d43ac712a612642103a10
MD5 00f4ef0736b42346160b057309fb76ee
BLAKE2b-256 7bd6e2acb61327660844e36e03d90a805d899903574deb92441fadd35d1ec92d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page