Flask-Limiter
Rate limiting for flask applications
Install
flask-limiter on PyPI
pip
pip install flask-limiteruv
uv add flask-limiterpoetry
poetry add flask-limiterPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — flask, limits, ordered-set, typing-extensions |
| Maintenance | actively maintained — 250 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: flask_limiter-4.1.1-py3-none-any.whl
About Flask-Limiter
from the package's own PyPI description — quoted content, verbatim
.. |ci| image:: https://github.com/alisaifee/flask-limiter/actions/workflows/main.yml/badge.svg?branch=master :target: https://github.com/alisaifee/flask-limiter/actions?query=branch%3Amaster+workflow%3ACI .. |codecov| image:: https://codecov.io/gh/alisaifee/flask-limiter/branch/master/graph/badge.svg :target: https://codecov.io/gh/alisaifee/flask-limiter .. |pypi| image:: https://img.shields.io/pypi/v/Flask-Limiter.svg?style=flat-square :target: https://pypi.python.org/pypi/Flask-Limiter .. |license| image:: https://img.shields.io/pypi/l/Flask-Limiter.svg?style=flat-square :target: https://pypi.python.org/pypi/Flask-Limiter .. |docs| image:: https://readthedocs.org/projects/flask-limiter/badge/?version=latest :target: https://flask-limiter.readthedocs.org/en/latest
Flask-Limiter
|docs| |ci| |codecov| |pypi| |license|
Flask-Limiter adds rate limiting to Flask <https://flask.palletsprojects.com>_ applications.
You can configure rate limits at different levels such as:
- Application wide global limits per user
- Default limits per route
- By `Blueprints...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Flask-Limiter adds rate limiting to Flask applications, allowing you to enforce request quotas at global, per-route, blueprint, or class-based view levels with support for multiple storage backends like Redis, Memcached, and MongoDB.
Low install friction with a pure-Python wheel and only four runtime dependencies. The package is actively maintained with a recent release (2025-12-06) and 1204 repository stars, indicating stable, well-supported code.
MIT license (permissive) means you can use, modify, and distribute this package with minimal restrictions, even in commercial applications.
Usage
pip install Flask-Limiter
from flask import Flask
from flask_limiter import Limiter
from flask_limiter.util import get_remote_address
app = Flask(__name__)
limiter = Limiter(get_remote_address, app=app, default_limits=["2 per minute"], storage_uri="memory://")
@app.route("/api")
@limiter.limit("1 per second")
def api():
return "OK"
Requires Python 3.10 or later; runtime dependencies flask, limits, ordered-set, and typing-extensions must be installed.
Verdict: Flask-Limiter is a production-stable, actively maintained rate-limiting library for Flask with low install friction, MIT licensing, and no known vulnerabilities. It supports flexible configuration across multiple storage backends and is well-suited for protecting Flask applications from abuse.
Needs verification
- Whether the memory:// storage backend is suitable for production multi-process deployments
- Performance characteristics under high concurrency with different storage backends
Similar packages
permissive · top 1,000 on PyPI
openapi-pydanticpermissive · top 1,000 on PyPI
slowapipermissive · top 1,000 on PyPI
envierpermissive · top 1,000 on PyPI
Flask-Loginpermissive · top 1,000 on PyPI
defusedxmlpermissive · top 1,000 on PyPI
flask-corspermissive · top 1,000 on PyPI
redispermissive · top 1,000 on PyPI
mlflow-skinnypermissive · top 1,000 on PyPI
Flaskpermissive · top 1,000 on PyPI