FastAPI
916 posts

FastAPI
@FastAPI
FastAPI framework, high performance, easy to learn, fast to code, ready for production. 🚀 Web APIs with Python type hints. 🐍 By @tiangolo 🤓










Big features in FastAPI 0.134.0 ✨ 🌊 Stream JSON Lines with yield: fastapi.tiangolo.com/tutorial/strea… 🦀 @pydantic serializes each item to JSON (on Rust) for max perf 📦️Stream binary data with yield: fastapi.tiangolo.com/advanced/strea… 🤖 Library Agent Skill updated with this 🥚 Easter egg



for like 10+ years, I've been like everything needs an API, I won't use tools without an API, we dont buy tools without now all of a sudden you all get it and are saying the same because AI is your 10x dev ya I had this power and wanted this before all you, welcome to the club






Increase your FastAPI JSON response performance by 2x or more 🚄 1. Upgrade to the just released FastAPI 0.131.0 🎁 2. Declare your response model - return type ✨ With that, now @pydantic handles the JSON serialization on the Rust side 🦀 #json-performance" target="_blank" rel="nofollow noopener">fastapi.tiangolo.com/advanced/custo…

@FastAPI @pydantic just benchmarked this - the Rust-based serialization in 0.131.0 cut our p99 from 89ms to 41ms on a response payload with nested arrays if you're not declaring response models you're missing the biggest perf win in recent FastAPI releases






