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
Interesting Central American Countries / Cities
Ranking of Central American countries by interestingness
Due to the fact that I spent as...
Stand by Me. (1986)
After the death of one of his friends, a writer recounts a childhood journey with his friends to...
Райя и последний дракон. Raya and the Last Dragon. (2021)
Давным-давно в волшебной стране Кумандре бок о бок с людьми жили драконы — создатели и...
What Legal Steps Are Required to Start a Business?
Starting a business involves more than just a great idea—it requires careful legal planning...
Men's Health: Why Do Some Men Find It Difficult To Talk About Their Problems And Illnesses?
One of the main reasons why men find it difficult to discuss their health and problems is...