Python SlowAPI
Postado 2023-04-12 18:06:14
0
11KB
SlowAPI is a ratelimiter library for FastAPI and Starlette adapted from flask-limiter. This package is used in various production setups, handling millions of requests per month, and seems to behave as expected. Here is an example of how it can be used:
@limiter.limit("5/minute")
async def myendpoint(request: Request)
pass
Pesquisar
Categorias
- Arts
- Business
- Computers
- Jogos
- Health
- Início
- Kids and Teens
- Money
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Leia mais
How Do Content Creators Earn Money?
Content creation has transformed into a viable career path for millions of individuals, with...
The Trial of the Chicago 7. (2020)
The story of 7 people on trial stemming from various charges surrounding the uprising at the 1968...
Exploring the Art of Recreation on Models: A Fusion of Innovation and Nostalgia
Exploring the Art of Recreation on Models: A Fusion of Innovation and...
What is a Balance Transfer Credit Card?
What is a Balance Transfer Credit Card?
A balance transfer credit card is a financial...
Карты, деньги, два ствола. Lock, Stock and Two Smoking Barrels. (1998)
Четверо молодых парней накопили каждый по 25 тысяч фунтов, чтобы один из них мог сыграть в карты...