2025-05-30 08:36:07 +00:00

5 lines
193 B
Python

from slowapi import Limiter
from slowapi.util import get_remote_address
# Create a limiter instance with rate limiting based on client IP address
limiter = Limiter(key_func=get_remote_address)