skip to navigation
skip to content

FightForNetNeutrality 0.1

This package is a WSGI middleware which allow to block some IP Address. By default the french parlement is denied.

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.

 
File Type Py Version Uploaded on Size # downloads
FightForNetNeutrality-0.1.tar.gz (md5) Source 2011-04-22 3KB 377