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
Оккупант. The Occupant. (2020)
Хавьер Муньос, когда-то успешный руководитель, принимает решение покинуть свой дом, который он и...
Судная ночь навсегда. The Forever Purge. (2021)
Этим летом все правила будут нарушены. Группа мародеров решает, что ежегодная Судная ночь не...
Aggregate demand and aggregate supply curves
Key points
Aggregate supply is the total quantity of output firms will...
A Comprehensive Guide to Airsoft: The Sport, Gear, and Community
Airsoft is an exciting, fast-paced sport that has grown in popularity over the years, attracting...
Wheat
Harvesting is the process of gathering a ripe crop from the fields. Reaping is the cutting of...