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
The Best Free Entertainment in the World
It turns out that even in the most expensive cities in the world there are many ways to spend...
Startup from A to Z: How to Turn an Idea into a Successful Business
Startup from A to Z: How to Turn an Idea into a Successful Business
Perhaps each of us at...
How to Measure the Success of a Video Marketing Campaign
1. Introduction: Why Measuring Matters
Video marketing has become one of the most effective ways...
What Industries Have the Highest Potential for Startups?
The startup ecosystem continues to thrive, with innovative entrepreneurs emerging from all...
Друзья на свою голову. A Friendly Tale... (2020)
Леа и Марк, Карин и Франсис – две пары закадычных друзей. Но когда скромная тихоня Леа...