{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/3"}],"enrichment":{"capability":"Adds rate-limiting to the requests library by wrapping pyrate-limiter, allowing you to enforce per-second, per-minute, per-hour, per-day, or per-month request limits on HTTP calls.","skillfed_tags":["http-client","rate-limiting","api-integration"],"use_cases":["Scraping or polling multiple APIs with different rate limits by mounting different adapters to each host","Building a web service that must respect upstream API quotas while handling concurrent requests across threads","Enforcing tenant-specific rate limits in a multi-tenant application using custom bucket tracking","Testing HTTP clients under controlled rate-limit conditions without hitting real API limits","Protecting downstream services by rate-limiting outbound requests from a client application"],"what_it_does":"requests-ratelimiter is a thin wrapper around pyrate-limiter that integrates rate-limiting directly into the requests library workflow. It implements the leaky bucket algorithm and lets you enforce rate limits by requests per second, minute, hour, day, or month. The package tracks limits separately per host by default, so requests to different APIs don't interfere with each other's quotas.\n\nYou can use it three ways: as a drop-in replacement for requests.Session (LimiterSession), as a transport adapter mounted on an existing session (LimiterAdapter), or as a mixin for custom session classes. It supports in-memory tracking by default, with optional SQLite or Redis backends for persistence across threads and processes. Rate limits can be uniform across all hosts or customized per host or URL prefix.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It solves a common problem (rate-limiting HTTP requests) with a clean API that integrates naturally with requests. Use it when you need to respect API quotas or protect services from being overwhelmed by outbound traffic."},"id":"requests-ratelimiter","links":{"html":"https://skillfed.io/packages/requests-ratelimiter","md":"https://skillfed.io/packages/requests-ratelimiter.md","pypi":"https://pypi.org/project/requests-ratelimiter/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-22","license_spdx":"MIT","license_treatment":"permissive","name":"requests-ratelimiter","python_support":"supports_current","summary":"Rate-limiting for the requests library"},"popularity":{"monthly_downloads":857308,"position":4883,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.10.0"}
