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
Больше
Autism Spectrum: Management
There is no treatment as such for autism, and many sources advise that this is not an appropriate...
Casablanca. (1942)
A cynical expatriate American cafe owner struggles to decide whether or not to help his former...
Strategy vs. Tactics in Digital Marketing: What’s the Difference?
Introduction: Why This Distinction Matters
One of the biggest mistakes businesses make in...
Gladiator. (2000)
A former Roman General sets out to exact vengeance against the corrupt emperor who murdered his...
What is the Difference Between a Business Plan and a Business Model?
This question often comes up as people try to clarify the distinction between two critical...