Python SlowAPI
نشر بتاريخ 2023-04-12 18:06:14
0
7كيلو بايت
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
إقرأ المزيد
12 Years a Slave. (2013)
In the antebellum United States, Solomon Northup, a free black man from upstate New York, is...
Твоё имя. Your Name. (2016)
Токийский парень Таки и провинциальная девушка Мицуха обнаруживают, что между ними существует...
The Role of Competition in Natural Selection and Evolution
Competition is a driving force in the natural world, shaping the survival and evolution of...
What Are the Best Ways to Pitch to Investors?
Pitching to investors is one of the most critical steps for any startup or business seeking to...
The Evolving Landscape of Employment in the Modern World
Employment is a fundamental aspect of modern society, shaping the economy, providing individuals...