Python SlowAPI
Postado 2023-04-12 18:06:14
0
8K
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
Why is a Business Plan Important?
A business plan is more than just a formal document; it's the blueprint for a company's growth,...
What Qualities Make an Effective Startup CEO?
The journey of building a startup from the ground up is an intense, high-stakes endeavor. At the...
ADHD: SOCIETY
The youngest children in a class have been found to be more likely to be diagnosed as having...
Tennis: The Timeless Sport of Skill, Strategy, and Endurance
Tennis: The Timeless Sport of Skill, Strategy, and Endurance
Tennis, a sport beloved for its...
Why Do I Want to Start a Business?
Starting a business is a big decision—one that involves time, effort, and often a...