Python SlowAPI
Posted 2023-04-12 18:06:14
0
6K
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
Căutare
Categorii
- Arts
- Business
- Computers
- Jocuri
- Health
- Home
- Kids and Teens
- Money
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Citeste mai mult
Music to listen to
Sacrifice - The Weeknd Ah yes, The Weeknd does it again. This song is amazing. The beat is in my...
Brilliant performance
I know charismatic, confident people who avoid even making a toast at a family holiday. They they...
Семейка Крудс: Новоселье. The Croods: A New Age. (2020)
Такие харизматичные герои как члены клана Крудс просто не в силах усидеть на месте. Они смело...
Top 9 Useful Writing sites
Your creative process as a science fiction writer may be different from that of your peers, but...
File format
A file format is a specification of the structure of data recorded in a computer file. The file...