Python SlowAPI
Postado 2023-04-12 18:06:14
0
10K
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
Mojo Language
Mojo is a Python type language that uses C for the performance. Python is normally slow when it...
How Do I Determine If I Am Capable of Starting a Business?
Starting a business is a bold and exciting venture, but it’s not without its challenges....
Asia - Tourist Guide
Asia
Asia is very different – beautiful, bright, traditional and shocking....
Афера. The Sting. (1973)
В 1930-е годы двое отпетых мошенников пытаются отомстить главарю мафии за смерть их общего друга...
Caribbean: all about the regions
Caribbean: all about the region and life on the islandsThe Caribbean is a region of peace between...