{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/4"},{"label":"Internet","url":"https://skillfed.io/packages/category/internet/2"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/4"}],"enrichment":{"capability":"Provides rate limiting for async Python code by enforcing a maximum request rate and managing concurrent task scheduling within AsyncIO.","skillfed_tags":["asyncio","rate-limiting","concurrency-control"],"use_cases":["Throttle API client requests to respect rate limits imposed by external services.","Control database query concurrency to avoid overwhelming a backend or exhausting connection pools.","Manage burst traffic in web scrapers or batch jobs to stay within resource budgets.","Enforce fair scheduling of background tasks so no single coroutine starves others.","Implement backpressure in event-driven systems to prevent downstream overload."],"what_it_does":"asynciolimiter is a rate-limiting library for Python AsyncIO that enforces a maximum request rate by making coroutines wait until a slot becomes available. It offers three implementations: a basic Limiter that accounts for CPU delays, a LeakyBucketLimiter following the leaky bucket algorithm with burst capacity, and a StrictLimiter that enforces a hard rate floor without bursts. The package has no external runtime dependencies and supports Python 3.9 and later.\n\nYou use it by instantiating a limiter with a rate (requests per second), then calling `await limiter.wait()` before executing rate-limited work. It integrates directly into async functions and plays well with `asyncio.gather()` and other concurrency patterns. The library is stable and typed, making it suitable for production async applications that need to throttle API calls, database queries, or other I/O-bound operations.","worth_installing":"Yes, with a note on maintenance. The package is stable, has no dependencies, and solves a common async concurrency problem cleanly. However, it has not been released in over five months despite an active repository, so check whether your use case aligns with the three limiter flavors offered before committing to it. No known vulnerabilities."},"id":"asynciolimiter","links":{"html":"https://skillfed.io/packages/asynciolimiter","md":"https://skillfed.io/packages/asynciolimiter.md","pypi":"https://pypi.org/project/asynciolimiter/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-03-18","license_spdx":null,"license_treatment":"permissive","name":"asynciolimiter","python_support":"supports_current","summary":"Rate limiter for Async IO"},"popularity":{"monthly_downloads":1186997,"position":4248,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.2.0"}
