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
How to Create and Stick to a Budget: A Practical Guide to Managing Your Money
How to Create and Stick to a Budget: A Practical Guide to Managing Your Money
Budgeting...
Improvement Suggestions: How to Turn Customer Input into Action
No product or service is perfect—but listening to your customers can bring you closer....
Psychosis: Psychoactive Drugs
Various psychoactive substances (both legal and illegal) have been implicated in causing,...
It Happened One Night (1934)
A renegade reporter trailing a young runaway heiress for a big story joins her on a bus heading...
What Are Common Challenges in Implementing a Business Strategy?
Implementing a business strategy successfully is a fundamental goal for any organization....