← Back to projects
MaintainedPythonMIT

async-limiter

Asyncio rate limiter for Python that enforces a concurrency limit and a requests-per-period limit together.

$ pip install async-limiter

About

Many APIs publish both kinds of limit, for example at most 5 requests in flight and at most 100 per minute. The limiter holds a caller back until both allow it, and works as a context manager, a decorator, or with explicit acquire and release. No dependencies.

Topics

asynciorate-limiterrate-limitingthrottlingapi-client
15k+Downloads

Tech Stack

PythonAsyncioRate Limiting