Python SlowAPI
Postado 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
Pesquisar
Categorias
- Arts
- Business
- Computers
- Jogos
- Health
- Início
- Kids and Teens
- Money
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Leia mais
How Do Social Enterprises Measure Their Impact?
Social enterprises are designed to tackle pressing social and environmental issues, but how do...
Girl in the Basement. (2021)
Sarah is a teen girl who is looking forward to her 18th birthday to move away from her...
How to manage subscriptions and unsubscribes to on-site and off-site newsletters
There are 2 pieces of news: bad and good. The bad news is that your subscriber base is degraded...
What are the risks associated with passive income streams?
Passive income is often hailed as the ultimate way to achieve financial freedom, allowing...
Adhd: Symptoms Pt.2
Inattention
Six or more of the following symptoms in children, and five or more in adults,...