Python SlowAPI
Posté 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
Rechercher
Catégories
- Arts
- Business
- Computers
- Jeux
- Health
- Domicile
- Kids and Teens
- Argent
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Lire la suite
How Do I Write an Elevator Pitch?
Writing an elevator pitch is one of the most powerful communication skills you can learn,...
Are student loans tax deductible? Is student loan interest deductible?
Are student loans tax deductible? Is student loan interest deductible?
Short answer: The...
Monster (2021)
Monster tells the story of Steve Harmon (Kelvin Harrison, Jr.) a seventeen-year-old honor student...
The Deer Hunter. (1978)
An in-depth examination of the ways in which the Vietnam War impacts and disrupts the lives of...
Arts and Culture
Culture and art is a rather specific direction, if we describe it in terms of employment and...