Python SlowAPI

0
12Кб

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
Поиск
Категории
Больше
Политика
Фэнтезийный мир на смену фантастике.
«В ФЭНТЕЗИЙНОМ ЖАНРЕ НЕТ НИ ДЕМОКРАТИИ, НИ ПРОГРЕССА — ЭТО БУДУЩЕЕ КАК...
От Sergey Sokolov 2023-01-24 15:27:10 0 35Кб
Другое
Pirates of the Caribbean: The Curse of the Black Pearl (2003)
Blacksmith Will Turner teams up with eccentric pirate "Captain" Jack Sparrow to save his love,...
От Leonard Pokrovski 2023-06-23 19:53:50 0 34Кб
Productivity
How does the GTD (Getting Things Done) method work?
How Does the GTD (Getting Things Done) Method Work? In a world full of responsibilities,...
От Michael Pokrovski 2026-03-15 21:04:16 0 2Кб
Laser Games
The Thrilling World of Laser Games: Where Strategy Meets Adventure
The Thrilling World of Laser Games: Where Strategy Meets Adventure In the realm of interactive...
От Leonard Pokrovski 2024-06-30 14:06:10 0 22Кб
Business
How Should I Give Feedback to Different Roles? (Boss, Peer, Direct Report)
Giving feedback is essential to creating a healthy, productive work environment—but how you...
От Dacey Rankins 2025-07-23 12:24:34 0 5Кб

BigMoney.VIP Powered by Hosting Pokrov