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

Internet
Joined September 2020
Hello World! 👋 This is the new official FastAPI Twitter account! 🎉 (Tweets by @tiangolo 🤓)
30
161
11
1,323
Here's FastAPI 0.121.0 🍰 In case you needed to exit early from dependencies with yield, you can now opt in with: Depends(some_func, scope="function") fastapi.tiangolo.com/tutoria…
You wanted Halloween scare jumps? 🎃 Here are THREE releases in a row, on a Friday. 🧛 FastAPI 0.120.2, 0.120.3, 0.120.4 🦇 The first 2 from yesterday, refactors and cleanup, preparing for a big feature coming. 🍬 Last, Yurii quickly fixed a bug from the previous one. 🧌
3
1
1
56
Quick fix release, 0.119.1 🍫 This fixes compatibility (warnings) with @pydantic 2.12.1 on Python 3.14 🐍 Nothing changed for the final users, but still a lot of work underneath to get it done. 😅 Thanks @OxyKodit! 🙌 github.com/fastapi/fastapi
3
9
142
Here's FastAPI 0.119.0 🚀 With support for both @pydantic v2 and v1 on the same app, at the same time 🤯 This is just so you can migrate to Pydantic v2 if you haven't done it yet, here's your (last) chance! 🤓 Pydantic v1 is now deprecated ⛔️ Read more fastapi.tiangolo.com/how-to/…
2
19
2
203
Who's hungry? There's pi 🥧 FastAPI 0.118.3 has official support for Python 3.14 🎉 Big thanks to @OxyKodit for a long debugging and preparation process! 🙌 And shoutout to @1st1 and @fantix from @geldata for the new httptools with support for 3.14 🙇
5
14
3
202
Here's another quick FastAPI bug fix release, 0.118.2 🚀 This fixes a use case with Pydantic models using discriminated unions in the body. 🐛 (If you don't understand or use that, no need to worry about it either 😎) Thanks @fvoron! 🙌 And thanks @patrick91 and Yurii! 🍰
3
10
93
😎🚀💃
@FastAPI surpassed Flask in weekly downloads this past week
6
16
2
286
FastAPI retweeted
In your @FastAPI apps, are you using @pydantic version 1 or 2? If v1, why haven't you upgraded to v2? 🤔 I wanna make sure everyone upgraded or can upgrade so that I can remove support for v1.
76% Pydantic v2
6% Pydantic v1
18% Pydantic 🍿
877 votes • Final results
76% Pydantic v2
6% Pydantic v1
18% Pydantic 🍿
877 votes • Final results
7
6
49
FastAPI 0.118.0 was just released 🎁 🐛 This fixes a bug when using a StreamingResponse and dependencies with yield or UploadFile. Details: Now the exit code of dependencies with yield runs after the response is sent back. If you want to read more: fastapi.tiangolo.com/advance…
3
12
3
101
What's a better weekend treat than a release packed with features and bug fixes? 🍰 FastAPI 0.117.0 has too many things to list. ✨ Check the release notes: fastapi.tiangolo.com/release… Shoutout to YuriiMotov for the work reviewing and tweaking PRs! 🙌
4
9
62
Just released, fastapi-cli version 0.0.12 🤓 With support for the PORT environment variable, used by many cloud providers. 🚀 Just use: ✨ fastapi run ✨ Thanks @BurroMarco! 🙌
3
74
Now you can use the entrypoint syntax with the FastAPI CLI 🚀 (fastapi-cli version 0.0.11) Thanks @patrick91! 🙌
1
13
99
FastAPI retweeted
Universal deep research which wraps around any LLM by Nvidia What is more important!? It uses @FastAPI 🥳
💻 NVIDIA introduces Universal Deep Research, a system that lets users plug in any LLM and run custom research strategies as code. This breaks from fixed deep research products by handing over control of model choice, source rules, verification, and spend. A natural language strategy is compiled into 1 generator function that yields structured progress updates while calling search and the model. Intermediate facts live in named variables rather than the prompt, so full runs fit in about 8K tokens and remain traceable. Tools are called synchronously for deterministic behavior, and the model acts as a local helper for summarizing, ranking, or extracting. Control flow runs on CPU while targeted model calls touch small text slices, which lowers GPU usage, latency, and cost. Reliability improves because generated code mirrors each step with explicit comments, which reduces skipped steps and surprise constraints. Execution is sandboxed to block host access, keeping strategies confined to a safe runtime. The demo UI lets users edit strategies and use minimal, expansive, and intensive templates from single pass to iterative loops. Limits include dependence on the model's code generation, the quality of the user's plan, and little mid run steering beyond stop. For teams this means bring your own model and method, so best models pair with domain playbooks without vendor lock. The view here is that the code driven control with scoped model calls makes deep research fast, cheap, and auditable. A rich strategy library will drive adoption, because most users will not author complex plans. ---- Paper – arxiv. org/abs/2509.00244 Paper Title: "Universal Deep Research: Bring Your Own Model and Strategy"
1
4
14
FastAPI retweeted
I was just checking, and @FastAPI has been downloaded 4,297,849 times... in the last day. 4M+ times a day. 🚀 That also means that, since you started reading this post, it has been downloaded around 400 times. 🤯 pypistats.org/packages/fasta…
FastAPI retweeted
polar is open source, and built with open source technology to a large degree the polar open source stack™ — would never have been possible without... python backend > @FastAPI by @tiangolo > Starlette, HTTPX & Uvicorn > Dramatiq > @pydantic > @sqlalchemy > Authlib by @lepture > APScheduler > React Email by @resend frontend / cli > @nextjs > @shadcn > @tailwindcss > Motion by @mattgperry > React Query by @tannerlinsley > @nuqs47ng > React Hook Form > @EffectTS_ by @EffectfulTech (cli under development)