{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"}],"enrichment":{"capability":"Enforces rate limiting on function calls and operations, supporting decorator, context manager, and async patterns to throttle execution to a maximum number of calls within a specified time period.","skillfed_tags":["throttling","api-integration","async-support"],"use_cases":["Throttle API requests to respect rate limits imposed by external services (e.g., 10 requests per second).","Wrap database queries or I/O operations to prevent overwhelming a resource-constrained backend.","Decorate async functions in asyncio applications to enforce call frequency limits without blocking the event loop.","Implement backoff callbacks that log or notify when rate limiting is triggered, for monitoring and debugging."],"what_it_does":"RateLimiter is a lightweight Python module that enforces rate limiting on function calls and operations. It lets you specify a maximum number of calls allowed within a given time period, then automatically throttles execution to stay within that limit\u2014useful when integrating with third-party APIs that impose request quotas.\n\nThe package supports three usage patterns: as a decorator on functions, as a context manager for wrapping code blocks, and as an async context manager for asyncio code. It can also invoke a callback (either a regular function or coroutine) when rate limiting occurs. Since the package has no runtime dependencies, installation is frictionless, but it has been archived and unmaintained since 2017-12-12.","worth_installing":"Yes, if you need simple rate limiting and can accept an unmaintained package. The code is stable and has no known vulnerabilities, but you should verify compatibility with your Python version and test thoroughly before relying on it in production. Consider alternatives if you need ongoing maintenance or support."},"id":"ratelimiter","links":{"html":"https://skillfed.io/packages/ratelimiter","md":"https://skillfed.io/packages/ratelimiter.md","pypi":"https://pypi.org/project/ratelimiter/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2017-12-12","license_spdx":null,"license_treatment":"permissive","name":"ratelimiter","python_support":"unspecified","summary":"Simple python rate limiting object"},"popularity":{"monthly_downloads":556077,"position":6022,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2.0.post0"}
