TurboAPI — быстрая замена FastAPI: Zig‑сервер ускоряет API в 10–14 раз (140k запросов/с без кэша), меняешь 1 строку импорта — код работает как раньше.
from turboapi import TurboAPI as FastAPI
app = TurboAPI()
@app.get("/") def hi(): return {"ok": True}
app.run()
#python #FastAPI #API #Zig #TurboAPI
https://github.com/justrach/turboAPI
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - justrach/turboAPI: FastAPI-compatible Python framework with Zig HTTP core; 7x faster, free-threading native
FastAPI-compatible Python framework with Zig HTTP core; 7x faster, free-threading native - justrach/turboAPI
1🔥4👍3⚡1