{"repo":"wemake-services/asyncio-redis-rate-limit","free":true,"listed":false,"github":"https://github.com/wemake-services/asyncio-redis-rate-limit","clone":"git clone https://github.com/wemake-services/asyncio-redis-rate-limit.git","description":"Rate limiter for async functions using Redis as a backend.","language":"Python","stars":54,"topics":["aioredis","python","python3","redis","redispy","ratelimit","aiohttp","asyncio","httpx","rate-limit"],"license":"MIT","category":"databases-storage","readme_excerpt":"asyncio-redis-rate-limit Rate limiter for async functions using Redis as a backend. Features - Small and simple - Can be used as a decorator or as a context manager - Can be used for both clients and servers - Works with asyncio - Works with any amount of processes - Works with both redis.asyncio.client.Redis and aioredis - Free of race-conditions (hopefully!) - Supports redis since 7.0 - Fully typed with annotations and checked with mypy, PEP561 compatible Installation Extras available: - pip install asyncio-redis-rate-limit[redis] - pip install asyncio-redis-rate-limit[aioredis] (for python versions <3.11 ) Example As a decorator: Or as a context manager: License MIT Credits This project was generated with wemake-python-package . Current template version is: 1d63652fbb33ebe2f6d932f511b7f529a4ce2d2a. See what is updated since then.","default_branch":null,"files":null,"tree":[],"storefront":"/r/wemake-services","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wemake-services/asyncio-redis-rate-limit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}