Python SlowAPI
Postado 2023-04-12 18:06:14
0
8KB
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
Jurassic Park Anthology. (1993-2019) all movies
Jurassic Park (1993)
The head of the company "In-Gen", Professor John Hammond, finds a way to...
When Brands Should Create Their Own Media
It is important to be clear that creating, launching, and maintaining your own brand media is...
How Do I Handle Negative Feedback?
Strategies to Receive and Respond to Criticism Positively and Productively
Receiving negative...
The Call (2020)
In the fall of 1987, a group of small-town friends must survive the night in the home of a...
Ходячий замок. Howl's Moving Castle. (2004)
Злая ведьма заточила 18-летнюю Софи в тело старухи. Девушка-бабушка бежит из города куда глаза...