sliding-rate-limiter (pypi): Sliding rate limiter using memory or a distributed Redis backend.
Keywords: sliding_rate_limiter