Who's ready for the Sonic the Hedgehog Secret Lair bonus card?
#GottaGofast #Sanic #SecretLair #mtg #magicthegathering #MTGSecretlair #Sonic #Sonicthehedgehog
Who's ready for the Sonic the Hedgehog Secret Lair bonus card?
#GottaGofast #Sanic #SecretLair #mtg #magicthegathering #MTGSecretlair #Sonic #Sonicthehedgehog
FastOpenAPI: автодокументация OpenAPI для разных фреймворков на Python
Всем привет! Меня зовут Никита Рыженков, и я хочу поделиться опытом разработки библиотеки FastOpenAPI. Это инструмент, который приносит удобный стиль маршрутизации FastAPI и автоматическую документацию OpenAPI в целый ряд Python-фреймворков. Идея родилась из личной боли: в одном проекте приходилось поддерживать OpenAPI-документацию сразу в нескольких фреймворках, и я устал дублировать решения под каждый из них. Вдохновившись лаконичностью FastAPI, я решил создать унифицированный подход для Flask, AioHttp, Sanic, Falcon, Starlette, Quart, Tornado – назвал его FastOpenAPI. В этой статье расскажу, какие проблемы решает FastOpenAPI, как он устроен внутри и как им пользоваться с примерами кода под каждый поддерживаемый фреймворк.
https://habr.com/ru/articles/903622/
#python #openapi #flask #falcon #aiohttp #sanic #starlette #tornado #opensourсe #сезон_open_source
Jinja2 Fragments got new documentation!
Version 1.8.0 of jinja2-fragments is out!
Release notes:
- Adds support for rendering multiple blocks on Flask, Quart, Sanic and Litestar.
- Fixes deprecated Litestar import.
Jinja2 Fragments 1.0.0 is out!
https://pypi.org/project/jinja2-fragments/1.0.0/
Check it out if you use something like #htmx that benefits from template fragments.
Apparently all of the Sanic rate limiting libraries are broken, and I'm not feeling the urge to dive into how they structure handlers to fix them, so yeah, let's put that overhead on nginx instead for now.