throttle-requests
Modular, way of implementing rate-limiting in python with a few handy default implementations
A simple and generic rate limiter to prevent too many function calls or http requests.
Simple Multi-Resource Rate Limiting That Saves Unused Tokens. Rate limit API requests across different resources and workers without wasting your quota. Reserve tokens upfront, get refunds for what you don't use, and avoid over-limiting.