$npx skillfedfor your agent

Flask-Limiter

Rate limiting for flask applications

Worth itPyPI Python ModulesReleased Dec 202523.4M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — flask_limiter-4.1.1-py3-none-any.whl
v4.1.1 · released 2025-12-06 · Python >=3.10 · 4 runtime deps: flask, limits, ordered-set, typing-extensions

Yes. Flask-Limiter is production-stable (Development Status 5), actively maintained, has no known vulnerabilities, and solves a common need with minimal install friction. Use it whenever you need to enforce request quotas on Flask routes—it's the standard tool for this purpose in the Flask ecosystem.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction: pure Python wheel with only four runtime dependencies (flask, limits, ordered-set, typing-extensions).
  • Actively maintained with a recent release and 1204 GitHub stars.

License · maintenance · safety

MIT (permissive) — MIT license permits use in proprietary and open-source projects with minimal restrictions; attribution required.

last release 2025-12-06 (251 days) · last repo commit 2026-05-10 · 1,204 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 23,352,777 downloads/mo, #949 on PyPI

Verify before relying

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 my_endpoint():
    return "response"
  • Whether the package supports rate limiting strategies beyond fixed-window, moving-window, and sliding-window-counter
  • Whether storage backends other than Redis, Memcached, and MongoDB are supported via the limits library
Same gist for agents: .md · .json

What it is and what it does

Flask-Limiter is a Flask extension that enforces rate limits on HTTP requests to protect your application from abuse or overload. It integrates directly into your Flask app and lets you declare limits at multiple scopes: globally across the application, per blueprint, per route, or on individual endpoints using decorators. You configure it once with a storage backend (in-memory, Redis, Memcached, or MongoDB) and a rate-limiting strategy, then annotate the routes you want to protect.

The package delegates the core rate-limiting logic to the limits library, which handles the actual counting and window management. When a client exceeds their quota, Flask-Limiter returns a 429 Too Many Requests response. You can also exempt specific routes from limits and inspect all configured limits via a command-line interface.

Use it for

  • Protect a public API from being hammered by a single client or bot by enforcing per-user request quotas
  • Prevent brute-force attacks on login endpoints by limiting authentication attempts per IP address
  • Enforce fair-use policies on resource-intensive endpoints like file uploads or report generation
  • Distribute request capacity fairly across multiple clients by applying global rate limits to high-traffic routes
  • Test rate-limit behavior in development using in-memory storage before deploying with Redis or Memcached

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Flask-Limiter is production-stable (Development Status 5), actively maintained, has no known vulnerabilities, and solves a common need with minimal install friction. Use it whenever you need to enforce request quotas on Flask routes—it's the standard tool for this purpose in the Flask ecosystem.

Install

flask-limiter on PyPI

Before you install

Low friction: pure Python wheel with only four runtime dependencies (flask, limits, ordered-set, typing-extensions). Actively maintained with a recent release and 1204 GitHub stars.

License in practice

MIT license permits use in proprietary and open-source projects with minimal restrictions; attribution required.

Quickstart

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 my_endpoint():
    return "response"

Verify before relying

  • Whether the package supports rate limiting strategies beyond fixed-window, moving-window, and sliding-window-counter
  • Whether storage backends other than Redis, Memcached, and MongoDB are supported via the limits library

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
flasklimitsordered-settyping-extensions
MaintenanceActively maintained 251 days since the last release
Last repo commit
First released
Downloads23,352,777 / month, #949 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: FlaskIntended Audience :: DevelopersOperating System :: MacOSOperating System :: OS IndependentOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python Modules

Evidence: flask_limiter-4.1.1-py3-none-any.whl

Tags

Capabilities
flask rate limitingrequest throttlingapi rate limitsflask request quotaper-route rate limitingflask request throttlelimit api calls
Topics
rate-limitingapi-protectionflask-extension

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “flask rate limiting”

  • Flask-LimiterFlask-Limiter adds rate limiting to Flask applications, allowing you…
  • fastapi-limiterAdds request rate limiting to FastAPI routes using configurable…
  • python-redis-rate-limitImplements rate limiting for requests or operations using Redis as…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also slowapi · limits · asynciolimiter · fastapi-limiter · throttled-py · requests-ratelimiter · flask-paginate · asgi-ratelimit · django-ratelimit · ratelim