Python SlowAPI
Сообщение 2023-04-12 18:06:14
0
11Кб
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
Поиск
Категории
- Arts
- Business
- Computers
- Игры
- Health
- Главная
- Kids and Teens
- Деньги
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Больше
Product Development: In-House vs. Outsourcing
Product Development: In-House vs. OutsourcingThere are two approaches to developing digital...
Человек-паук: Через вселенные. Spider-Man: Into the Spider-Verse. (2018)
Мы всё знаем о Питере Паркере. Он спас город, влюбился, а потом спасал город снова и...
ADHD: Comorbidities / Trauma
ADHD, trauma, and Adverse Childhood Experiences are also comorbid, which could in part be...
7 Tips to Improve Home Comfort
According to the principles of feng shui, an ancient Eastern practice, it takes very little to...
Cheerleading: Beyond the Cheers
Cheerleading: Beyond the Cheers
Cheerleading, often associated with sideline chants and...