Python SlowAPI
Сообщение 2023-04-12 18:06:14
0
11Кб
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
Поиск
Категории
- Arts
- Business
- Computers
- Игры
- Health
- Главная
- Kids and Teens
- Деньги
- News
- Recreation
- Reference
- Regional
- Science
- Shopping
- Society
- Sports
- Бизнес
- Деньги
- Дом
- Досуг
- Здоровье
- Игры
- Искусство
- Источники информации
- Компьютеры
- Наука
- Новости и СМИ
- Общество
- Покупки
- Спорт
- Страны и регионы
- World
Больше
The most read books in the world
Top 100 best-selling individual books and book series worldwide for all time.
This list is...
How to Promote Your Small Business on Facebook (Organic + Ads Strategy)
Introduction
Facebook is still one of the most powerful platforms for small business promotion....
Should I Seek Venture Capital Funding?
Venture capital (VC) is one of the most talked-about funding sources in the startup world. It...
Храброе сердце. Braveheart. (1995)
Действие фильма начинается в 1280 году в Шотландии. Это история легендарного национального героя...
What is a Credit Score?
What is a Credit Score?
A credit score is a three-digit number that represents a person’s...