{"library":"limits","type":"library","category":null,"description":"limits is a Python library for rate limiting via multiple strategies with commonly used storage backends such as Redis, Memcached, MongoDB, and Valkey. It provides identical APIs for use in synchronous and asynchronous codebases, enabling robust control over request rates. The library maintains an active development status with regular releases, with version 5.8.0 being the latest stable release at the time of verification.","language":"python","status":"active","version":"5.8.0","tags":["rate-limiting","concurrency","web","async","redis","memcached","mongodb","api"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install limits","imports":["from limits import strategies","from limits import storage","from limits import RateLimitItem","from limits.errors import RateLimitExceeded","from limits import parse","from limits import parse_many"]},{"cmd":"pip install 'limits[redis]' # For Redis storage","imports":[]},{"cmd":"pip install 'limits[memcached]' # For Memcached storage","imports":[]},{"cmd":"pip install 'limits[mongodb]' # For MongoDB storage","imports":[]},{"cmd":"pip install 'limits[async-redis]' # For Async Redis storage","imports":[]},{"cmd":"pip install 'limits[all]' # Installs all optional dependencies","imports":[]}],"homepage":"https://limits.readthedocs.org","github":"https://github.com/alisaifee/limits","docs":"https://limits.readthedocs.org","changelog":null,"pypi":"https://pypi.org/project/limits/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.2,"avg_import_s":0.39,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/limits/compatibility"}}