Python SlowAPI
Postado 2023-04-12 18:06:14
0
11KB
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
Pesquisar
Categorias
- Arts
- Business
- Computers
- Jogos
- Health
- Início
- Kids and Teens
- Money
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Leia mais
What Is a Good Credit Score? What Number Counts as “Good” or “Excellent” Credit?
What Is a Good Credit Score? What Number Counts as “Good” or “Excellent”...
Why Should I Use Video Marketing? The Strategic Benefits for Modern Businesses
Introduction
Video marketing is one of the most flexible and powerful tools in a...
Understanding Art as the Main Task of Modern Art Criticism
The main difference between humanitarian knowledge is the practical impossibility of constructing...
TOP 5 of the strangest holidays
1. Festival of colors in India
Every year in March, Hindus celebrate holi - an ancient festival...
ADHD: Controversy
ADHD, its diagnosis, and its treatment have been controversial since the 1970s. The controversies...