Flask-RateLimiter is a Flask extension that provides rate limiting decorator.
Flask-RateLimiter is now deprecated in favour of Flask-Limiter
Flask-RateLimiter is on PyPI so all you need is:
pip install Flask-RateLimiter
Documentation is readable at http://flask-ratelimiter.readthedocs.org or can be built using Sphinx:
git submodule init git submodule update pip install Sphinx python setup.py build_sphinx
Running the test suite is as simple as:
python setup.py test
or, to also show code coverage:
./run-tests.sh