Python SlowAPI
Posté 2023-04-12 18:06:14
0
8KB
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
Rechercher
Catégories
- Arts
- Business
- Computers
- Jeux
- Health
- Domicile
- Kids and Teens
- Argent
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Lire la suite
Six Minutes to Midnight (2020)
UK, Aug. 15, 1939: 17 days before WWII, an English teacher and his camera disappear from a...
Мистер Смит едет в Вашингтон. Mr. Smith Goes to Washington. (1939)
Наивный идеалист Джефферсон Смит, лидер организации бойскаутов, назначен представителем в сенат....
An Overview of Essential Office Products: Tools for Efficiency and Productivity
Office products are the unsung heroes that keep workplaces running smoothly, whether in a...
Is Your Boss Talking Too Much?
In the workplace, communication is critical—but it’s a two-way street. When one voice...
Batman Begins. (2005)
After training with his mentor, Batman begins his fight to free crime-ridden Gotham City from...