Python SlowAPI
Veröffentlicht 2023-04-12 18:06:14
0
12KB
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
Suche
Kategorien
- Arts
- Business
- Computers
- Spiele
- Health
- Startseite
- Kids and Teens
- Geld
- News
- Personal Development
- Recreation
- Regional
- Reference
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Личное развитие
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Mehr lesen
When Can I Start Collecting Social Security Benefits?
When Can I Start Collecting Social Security Benefits?
Understanding Eligibility at Age 62, Full...
The Power of Music: A Universal Language
Music is often described as a universal language, transcending borders, cultures, and languages....
Breaking News: A Snapshot of Current Events
Breaking News: A Snapshot of Current Events
In a world that never stops turning, news is the...
What Is Capitalism?
What Is Capitalism?
Capitalism is an economic system that organizes how goods and services are...
Why are global markets important?
Why Are Global Markets Important?
The Most Powerful Conversation in Business Happens Every...