asyncio-throttle
Simple, easy-to-use throttler for asyncio
Decision gist · record as of 2026-08-14
Yes, for simple rate-limiting of asyncio tasks in projects targeting Python 3.6–3.9. The library is small, has no dependencies, and the core API is stable. However, because it is abandoned and has not been updated since 2021, verify compatibility with your Python version and consider a maintained alternative if you need ongoing support or plan to upgrade to Python 3.10+.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later; package is abandoned and may not be compatible with Python 3.10+.
- No runtime dependencies and a pure-Python wheel distribution make installation straightforward.
- However, the package is abandoned—last release was 2021-04-07 and last commit 2022-07-12—so it will not receive bug fixes or maintenance for modern Python versions.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and imposes no restrictions on use, modification, or distribution in commercial or private projects.
last release 2021-04-07 (1955 days) · last repo commit 2022-07-12 · 127 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 797,984 downloads/mo, #5,030 on PyPI
Alternatives
Verify before relying
from asyncio_throttle import Throttler
import asyncio
async def main():
throttler = Throttler(rate_limit=5) # 5 ops/sec
async with throttler:
print('Work executed at limited rate')
asyncio.run(main())- Whether the package remains compatible with Python 3.10+ given its abandoned status and lack of recent testing.
- Real-world performance characteristics under high concurrency or with modern asyncio patterns (e.g., asyncio.TaskGroup).
What it is and what it does
asyncio-throttle is a lightweight library that wraps asyncio coroutines to enforce rate limits on concurrent work. It exports a single Throttler class that acts as an async context manager; you wrap any async operation with `async with throttler:` to ensure that no more than a specified number of operations execute within a given time window. The library is designed to integrate cleanly with asyncio patterns and works well with libraries like aiohttp for rate-limiting HTTP requests.
The package has no external dependencies and requires only Python 3.6 or later. It is abandoned—last updated in 2021—so it will not receive updates for newer Python versions or asyncio features. For simple, stateless rate-limiting of concurrent tasks, it remains functional; for projects requiring active maintenance or support for the latest Python releases, a maintained alternative may be preferable.
Use it for
- Limit HTTP requests to an external API to stay within rate-limit quotas or avoid overwhelming a server.
- Cap the concurrency of database queries or connection pool usage across multiple async workers.
- Throttle file I/O or network operations to prevent resource exhaustion in high-concurrency scenarios.
- Enforce a maximum throughput (e.g., 500 operations per minute) across a pool of async tasks.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, for simple rate-limiting of asyncio tasks in projects targeting Python 3.6–3.9.
The library is small, has no dependencies, and the core API is stable. However, because it is abandoned and has not been updated since 2021, verify compatibility with your Python version and consider a maintained alternative if you need ongoing support or plan to upgrade to Python 3.10+.
Install
asyncio-throttle on PyPI
Before you install
No runtime dependencies and a pure-Python wheel distribution make installation straightforward. However, the package is abandoned—last release was 2021-04-07 and last commit 2022-07-12—so it will not receive bug fixes or maintenance for modern Python versions.
Requires Python 3.6 or later; package is abandoned and may not be compatible with Python 3.10+.
License in practice
MIT license is permissive and imposes no restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
from asyncio_throttle import Throttler
import asyncio
async def main():
throttler = Throttler(rate_limit=5) # 5 ops/sec
async with throttler:
print('Work executed at limited rate')
asyncio.run(main())
Verify before relying
- Whether the package remains compatible with Python 3.10+ given its abandoned status and lack of recent testing.
- Real-world performance characteristics under high concurrency or with modern asyncio patterns (e.g., asyncio.TaskGroup).
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,955 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 797,984 / month, #5,030 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: asyncio_throttle-1.0.2-py3-none-any.whl
Tags
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 concurrent tasks”
- asyncio-throttleProvides a simple async context manager to limit the rate at which…
- httpx-limiterProvides rate-limited HTTP transports for httpx clients, supporting…
- aiometeraiometer is a concurrency scheduling library that limits how many…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
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.
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.
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.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
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…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also throttler · ratelimiter · token-throttler · aiolimiter · asynciolimiter · asgi-ratelimit · requests-ratelimiter · throttled-py · django-ratelimit · fastapi-limiter