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 hashes)

Uploaded Source

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