Python SlowAPI
Postado 2023-04-12 18:06:14
0
11K
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
Software
Software (also known as software) is a program or set of programs used to control a computer...
How Startup Innovation Is Changing the Market: Success Stories and Tools for Leaders
How Startup Innovation Is Changing the Market: Success Stories and Tools for Leaders...
Крещендо. Crescendo. (2020)
Знаменитый немецкий дирижер Эдвард Спор принимает приглашение устроительницы гуманитарного...
Puzzles
Puzzle (from the English puzzle - "puzzle, puzzle") is a puzzle game in which you want to make a...
Warrior. (2011)
The youngest son of an alcoholic former boxer returns home, where he's trained by his father for...