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
Non-pharmacological interventions
Intensive, sustained special education or remedial education programs and behavior therapy early...
Me Before You. (2016)
A girl in a small town forms an unlikely bond with a recently-paralyzed man she's taking care of....
What is Bootstrapping in Business?
Bootstrapping is a popular method of building a business from the ground up without relying on...
10 Questions to Ask During a Job Interview to Find Out What Really Matters
Job interviews aren’t just about impressing potential employers—they're also a chance...
Experiments of Heinrich Hertz: discovery and research of radio waves
At the end of the 19th century, when the science of electricity was still in its infancy, one man...