Python SlowAPI
Posté 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
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
What is financial planning, why is it needed and how to do it correctly
What is financial planning, why is it needed and how to do it correctly
Business...
What is business intelligence and who is a business analyst, what does it do, and how does it help the company grow?
What is business intelligence and who is a business analyst, what does it do, and how...
JavaScript forEach()
The forEach() method is an iterative method. It calls a...
Feeling (psychology)
Feeling (psychology)
Sensibility is a human emotional process that reflects...
What Is Corporate Social Responsibility (CSR)?
Corporate Social Responsibility (CSR) refers to a company’s commitment to managing its...