{"library":"token-bucket","type":"library","category":null,"description":"The `token-bucket` package provides a very fast implementation of the token bucket algorithm, suitable for rate limiting in web applications. It manages bucket state internally without requiring a separate timer thread, allowing for controlled bursts while maintaining a consistent average rate. The current version is 0.3.0, and releases appear to be infrequent, focusing on stability and core algorithm improvements.","language":"python","status":"active","version":"0.3.0","tags":["rate-limiting","token-bucket","web","http","throttling"],"last_verified":"Fri May 22","install":[{"cmd":"pip install token-bucket","imports":["from token_bucket import TokenBucket"]}],"homepage":null,"github":"https://github.com/falconry/token-bucket","docs":null,"changelog":null,"pypi":"https://pypi.org/project/token-bucket/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/token-bucket/compatibility"}}