Python SlowAPI
Postado 2023-04-12 18:06:14
0
11KB
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
What are the common challenges in business forecasting?
Business forecasting is an essential practice for organizations that seek to make informed...
Рождество на двоих. Last Christmas. (2019)
Кейт работает в магазине рождественских товаров, злоупотребляет выпивкой и давно бросила...
10 sports with dogs
Riding sport is the most popular sport at the moment, where people and animals participate. But...
"James Webb" and the heart of the Milky Way: major scientific achievements
On Earth in 2022, things did not work out, and even science pleased us primarily with space news....
Should I Seek Venture Capital Funding?
Venture capital (VC) is one of the most talked-about funding sources in the startup world. It...