Python SlowAPI
نشر بتاريخ 2023-04-12 18:06:14
0
8كيلو بايت
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
إقرأ المزيد
В порту. On the Waterfront. (1954)
В центре сюжета судьба простого докера - Терри Мэллоу, терзающегося сомнениями и решающего встать...
Exploring the Charm of Craft Shopping: A Journey into Creativity and Authenticity
Exploring the Charm of Craft Shopping: A Journey into Creativity and Authenticity
In the...
The Enduring Appeal of Magazines in the Digital Age
In today's world, where digital media dominates our lives, one might think that magazines have...
Autism Spectrum: Disproven vaccine hypothesis
Parents may first become aware of ASD symptoms in their child around the time of a routine...
The Rise and Impact of E-books: Revolutionizing Reading in the Digital Age
In the digital age, e-books have transformed the way people read and interact with literature....