You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
696 B
33 lines
696 B
"""
|
|
Rate limiting with commonly used storage backends
|
|
"""
|
|
|
|
from . import _version, aio, storage, strategies
|
|
from .limits import (
|
|
RateLimitItem,
|
|
RateLimitItemPerDay,
|
|
RateLimitItemPerHour,
|
|
RateLimitItemPerMinute,
|
|
RateLimitItemPerMonth,
|
|
RateLimitItemPerSecond,
|
|
RateLimitItemPerYear,
|
|
)
|
|
from .util import parse, parse_many
|
|
|
|
__all__ = [
|
|
"RateLimitItem",
|
|
"RateLimitItemPerYear",
|
|
"RateLimitItemPerMonth",
|
|
"RateLimitItemPerDay",
|
|
"RateLimitItemPerHour",
|
|
"RateLimitItemPerMinute",
|
|
"RateLimitItemPerSecond",
|
|
"aio",
|
|
"storage",
|
|
"strategies",
|
|
"parse",
|
|
"parse_many",
|
|
]
|
|
|
|
__version__ = _version.get_versions()["version"] # type: ignore
|