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 Feedback Models Exist?
Giving effective feedback is more than a skill—it’s a practice. Structured feedback...
Top 10 Greatest Anime
Anime, a wondrous and captivating form of storytelling, has its roots in the land of the rising...
What Is Leverage and Margin in Forex? Understanding the Power and Risks
What Is Leverage and Margin in Forex? Understanding the Power and Risks
Foreign exchange (Forex...
How Do I Measure the Success of a Business Consulting Engagement?
When hiring a business consultant, companies invest not just in external expertise but in the...
Hotel Rwanda. (2004)
Paul Rusesabagina, a hotel manager, houses over a thousand Tutsi refugees during their struggle...