Python SlowAPI
Сообщение 2023-04-12 18:06:14
0
12Кб
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
Поиск
Категории
- Arts
- Business
- Computers
- Игры
- Health
- Главная
- Kids and Teens
- Деньги
- News
- Personal Development
- Recreation
- Regional
- Reference
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Личное развитие
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Больше
Architecture
Architecture is the art and science of building, designing buildings and structures (including...
Top 10 economies in terms of GDP by 2038
Top 10 economies in terms of GDP by 2038
In 2024, global...
What Is Business Development & What Does a Business Development Manager Actually Do?
Business development is one of the most misunderstood functions in the business world. It’s...
Art of Western Europe in the 1800's
The eighteenth century in Western Europe is the last stage of the long transition from feudalism...
Understanding Computer Security: Protecting Your Digital World
In today’s increasingly digital world, computer security has become an essential aspect of...