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
Больше
Mentoring FAQ – Common Questions About Mentoring
Mentoring is a powerful tool for personal and professional development, yet many people have...
Survival Island. (2005)
Three people - a rich couple and a crew member - are shipwrecked on a tropical island and their...
Usenet
Usenet is a computer network used for communication and...
What Is Digital Advertising?
Digital advertising has transformed how businesses reach customers. Unlike traditional...
Why Do I Need a Business Consulting Service?
In today’s competitive and ever-evolving business environment, companies face various...