Catalog PyPI
Back to packageRELEASE DETAILS

0.1.0

PyPI

aimd-limiter

Asynchronous AIMD-based rate limiter

aimdasyncionetworkingrate-limiter
Published22 Oct 2025
Direct dependencies0
Transitive dependenciesNot calculated

README

Version 0.1.0 documentation

aimd-limiter

English · 简体中文

CI

Asynchronous Python rate limiter built around the Additive Increase Multiplicative Decrease (AIMD) control loop with slow start, congestion avoidance, and fast recovery behaviors.

Features

  • Fully asynchronous API compatible with Python 3.10+.
  • Deterministic AIMD core with slow start, congestion avoidance, and fast recovery.
  • Designed for integration inside asyncio-based services and SDKs.
  • 100% test coverage.

Usage Example

import asyncio

from aimd_limiter import AIMDAsyncLimiter


async def main() -> None:
    limiter = AIMDAsyncLimiter(max_rate=20.0)
    async with limiter.acquire():
        # Perform work guarded by AIMD flow control.
        ...


asyncio.run(main())

Documentation

Development

uv sync --all-groups
uv run pre-commit install
uv run pytest
uv run pre-commit run --all-files --show-diff-on-failure

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

2 collected
aimd_limiter-0.1.0-py3-none-any.whl

bdist_wheel · 5.53 KB · Python py3

Source file
aimd_limiter-0.1.0.tar.gz

sdist · 14.97 KB · Python source

Source file

Repository

PENDING
mxcoras/aimd-limiter

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:17 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:ae6bd86fca9f9d12f18773ce6d34bf412c97315f53b879188cea4a10663fc7dc

Other collected versions

View all collected versions →