$npx skillfedfor your agent

aiolimiter

asyncio rate limiter, a leaky bucket implementation

Worth itPyPI Software DevelopmentReleased Dec 202412.5M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aiolimiter-1.2.1-py3-none-any.whl
v1.2.1 · released 2024-12-08 · Python <4.0,>=3.8

Yes. aiolimiter is a lightweight, actively maintained rate-limiting tool with no dependencies, permissive licensing, and broad Python version support. It solves a common problem in asyncio applications with a proven algorithm and straightforward API. Install it if you need to control concurrency or throughput in async code.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or newer.
  • Low install friction with no runtime dependencies.
  • Actively maintained with recent commits and broad Python version support from 3.8 through 3.13.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use this package freely in commercial and open-source projects with minimal restrictions.

last release 2024-12-08 (614 days) · last repo commit 2026-08-14 · 776 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 12,500,767 downloads/mo, #1,316 on PyPI

Verify before relying

pip install aiolimiter

from aiolimiter import AsyncLimiter

rate_limit = AsyncLimiter(100, 30)

async def some_coroutine():
    async with rate_limit:
        await do_something()
Same gist for agents: .md · .json

What it is and what it does

aiolimiter provides a rate limiter for asyncio applications using the leaky bucket algorithm. It lets you specify a maximum number of concurrent entries into a code section within a given time window, which is useful for controlling how fast async operations execute—for example, limiting API calls, database queries, or other I/O-bound tasks.

The package is a pure Python implementation with no external runtime dependencies, making it lightweight and easy to integrate. It's designed for developers building asyncio applications who need fine-grained control over concurrency and throughput without adding complexity or external service dependencies.

Use it for

  • Limit concurrent API requests to a third-party service to avoid hitting rate limits or overwhelming the server.
  • Control database query concurrency to prevent connection pool exhaustion in async applications.
  • Throttle background task execution to spread load evenly across a time window.
  • Prevent resource exhaustion by capping how many async operations can run simultaneously.
  • Implement fair-share scheduling for multiple concurrent coroutines competing for a shared resource.

Worth the install?

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

Worth it

Yes.

aiolimiter is a lightweight, actively maintained rate-limiting tool with no dependencies, permissive licensing, and broad Python version support. It solves a common problem in asyncio applications with a proven algorithm and straightforward API. Install it if you need to control concurrency or throughput in async code.

Install

aiolimiter on PyPI

Before you install

Low install friction with no runtime dependencies. Actively maintained with recent commits and broad Python version support from 3.8 through 3.13.

Requires Python 3.8 or newer.

License in practice

MIT license is permissive; you can use this package freely in commercial and open-source projects with minimal restrictions.

Quickstart

pip install aiolimiter

from aiolimiter import AsyncLimiter

rate_limit = AsyncLimiter(100, 30)

async def some_coroutine():
    async with rate_limit:
        await do_something()

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.8
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 614 days since the last release
Last repo commit
First released
Downloads12,500,767 / month, #1,316 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Framework :: AsyncIOIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: aiolimiter-1.2.1-py3-none-any.whl

Tags

Capabilities
asyncio rate limitingleaky bucket algorithmasync concurrency controlrate limiter for coroutinesasyncio throttlingconcurrent request limiting
Topics
asyncioconcurrency-controlrate-limiting
PyPI keywords
asynciorate-limitingleaky-bucket

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 › “concurrent request limiting”

  • aiolimiterImplements a rate limiter for asyncio using the leaky bucket…
  • httpx-limiterProvides rate-limited HTTP transports for httpx clients, supporting…
  • asynciolimiterProvides rate limiting for async Python code by enforcing a maximum…

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also asynciolimiter · throttled-py · pyrate-limiter · asyncio-throttle · rush · loop-rate-limiters · httpx-limiter · throttler · requests-ratelimiter · ratelimiter