Python SlowAPI
نشر بتاريخ 2023-04-12 18:06:14
0
11كيلو بايت
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
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
إقرأ المزيد
What Philosophies or Principles Did Top Advertisers Follow?
Behind every influential advertising campaign, agency, and movement lies a philosophy—a set...
Art periods
As long as we humans can use our hands, we create art. From the early cave paintings to the...
Your guide to key tax terms
1. Gross and taxable income
Gross income is your total income over the course of the year....
Harry Potter and the Deathly Hallows: Part 2. (2011)
Harry, Ron, and Hermione search for Voldemort's remaining Horcruxes in their effort to destroy...
Dyslexia: Associated conditions
Dyslexia often co-occurs with other learning disorders, but the reasons for this comorbidity have...