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
إقرأ المزيد
Art in Culture: A Timeless Reflection of Society
Art has long been an essential element of human civilization, playing a profound role in shaping...
Остров проклятых. Shutter Island. (2010)
Два американских судебных пристава отправляются на один из островов в штате Массачусетс, чтобы...
When and How Should a Brand Reposition (or Update Positioning)?
Introduction: The Constant Evolution of Perception
No brand exists in a vacuum. Markets shift,...
What Is a Cash Advance?
What Is a Cash Advance?
A cash advance is a short-term loan feature offered by credit card...
What Is a Woman? (2022)
Political commentator Matt Walsh explores the changing concepts of sex and gender in the digital...