Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
fightfornetneutrality
README.txt
bootstrap.py
buildout.cfg
setup.cfg
setup.py

README.txt

Usage
=====

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.

Something went wrong with that request. Please try again.