$npx skillfedfor your agent

requests-ratelimiter

Rate-limiting for the requests library

Worth itPyPI WWW/HTTPReleased Apr 2026857.3K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — requests_ratelimiter-0.10.0-py3-none-any.whl
v0.10.0 · released 2026-04-22 · Python >=3.10 · 2 runtime deps: pyrate-limiter, requests

Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It solves a common problem (rate-limiting HTTP requests) with a clean API that integrates naturally with requests. Use it when you need to respect API quotas or protect services from being overwhelmed by outbound traffic.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • For multi-threaded or multi-process environments, use a persistent backend (SQLiteBucket or Redis) to share rate limits across threads/processes.
  • Low friction: pure Python wheel with only two runtime dependencies (pyrate-limiter and requests).

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2026-04-22 (114 days) · last repo commit 2026-07-25 · 118 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 857,308 downloads/mo, #4,883 on PyPI

Verify before relying

from requests_ratelimiter import LimiterSession

# Create a session with a 5 requests-per-second limit
session = LimiterSession(per_second=5)

# Use it like a normal requests.Session
response = session.get('https://api.example.com/data')
print(response.json())
  • Whether per-host rate limit tracking works correctly across concurrent requests in multi-threaded environments without a persistent backend
  • Performance characteristics when handling thousands of concurrent rate-limited requests
Same gist for agents: .md · .json

What it is and what it does

requests-ratelimiter is a thin wrapper around pyrate-limiter that integrates rate-limiting directly into the requests library workflow. It implements the leaky bucket algorithm and lets you enforce rate limits by requests per second, minute, hour, day, or month. The package tracks limits separately per host by default, so requests to different APIs don't interfere with each other's quotas.

You can use it three ways: as a drop-in replacement for requests.Session (LimiterSession), as a transport adapter mounted on an existing session (LimiterAdapter), or as a mixin for custom session classes. It supports in-memory tracking by default, with optional SQLite or Redis backends for persistence across threads and processes. Rate limits can be uniform across all hosts or customized per host or URL prefix.

Use it for

  • Scraping or polling multiple APIs with different rate limits by mounting different adapters to each host
  • Building a web service that must respect upstream API quotas while handling concurrent requests across threads
  • Enforcing tenant-specific rate limits in a multi-tenant application using custom bucket tracking
  • Testing HTTP clients under controlled rate-limit conditions without hitting real API limits
  • Protecting downstream services by rate-limiting outbound requests from a client application

Worth the install?

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

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It solves a common problem (rate-limiting HTTP requests) with a clean API that integrates naturally with requests. Use it when you need to respect API quotas or protect services from being overwhelmed by outbound traffic.

Install

requests-ratelimiter on PyPI

Before you install

Low friction: pure Python wheel with only two runtime dependencies (pyrate-limiter and requests). Actively maintained with recent commits and a stable release history since 2021.

Requires Python 3.10 or later. For multi-threaded or multi-process environments, use a persistent backend (SQLiteBucket or Redis) to share rate limits across threads/processes.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

from requests_ratelimiter import LimiterSession

# Create a session with a 5 requests-per-second limit
session = LimiterSession(per_second=5)

# Use it like a normal requests.Session
response = session.get('https://api.example.com/data')
print(response.json())

Verify before relying

  • Whether per-host rate limit tracking works correctly across concurrent requests in multi-threaded environments without a persistent backend
  • Performance characteristics when handling thousands of concurrent rate-limited requests

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pyrate-limiterrequests
MaintenanceActively maintained 114 days since the last release
Last repo commit
First released
Downloads857,308 / month, #4,883 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Typing :: Typed

Evidence: requests_ratelimiter-0.10.0-py3-none-any.whl

Tags

Capabilities
rate limit http requestsrequests library rate limitingleaky bucket algorithmthrottle api callsper-host rate limitingrequests adapter rate limithttp request throttling
Topics
http-clientrate-limitingapi-integration
PyPI keywords
leaky-bucketrate-limitingrequests

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 › “rate limit http requests”

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

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also fastapi-limiter · httpx-limiter · pyrate-limiter · asynciolimiter · django-ratelimit · python-redis-rate-limit · httpxthrottlecache · slowapi · Flask-Limiter · rush