Flask-Limiter · PyPI
https://pypi.org/project/Flask-Limiter28.11.2021 · Quickstart. Add the rate limiter to your flask app. The following example uses the default in memory implementation for storage. from flask import Flask from flask_limiter import Limiter from flask_limiter.util import get_remote_address app = Flask (__name__) limiter = Limiter (app, key_func = get_remote_address, default_limits = ["2 per minute", "1 per second"],) …