FastAPI

953 posts

FastAPI banner
FastAPI

FastAPI

@FastAPI

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

Internet Bergabung Eylül 2020
1 Mengikuti45K Pengikut
Tweet Disematkan
FastAPI
FastAPI@FastAPI·
Big news: the first-ever ✨ FastAPI Conf ✨ is coming! 📍 Amsterdam 📅 October 28 Meet the FastAPI team, connect with developers ☕️ 🎟️ Join the waitlist for early ticket access: fastapiconf.com
FastAPI tweet media
English
1
22
201
45K
Adarsh Divakaran
Adarsh Divakaran@adarshdigievo·
#Python Gems of the Day 💎 Otari (github.com/mozilla-ai/ota…): Mozilla AI’s open-source LLM Gateway written in Python. Can be self-hosted to provision custom budgets and API keys, and to track usage for OpenAI-compatible clients. It uses Any-LLM internally for routing the request to LLM APIs. Powered by @FastAPI Any-LLM (github.com/mozilla-ai/any…): Another @MozillaAI open-source project that provides a unified interface for interacting with multiple LLM APIs.
English
1
2
13
2.2K
FastAPI
FastAPI@FastAPI·
FastAPI's router.frontend() now also supports router dependencies ✨ E.g. add cookie auth to a router, and a frontend at /admin. Handle the cookie auth in FastAPI, and let the frontend do its client-side routing (e.g. TanStack Router with React). In FastAPI 0.139.0 🔖
FastAPI tweet media
English
4
10
177
13.8K
FastAPI me-retweet
Sebastián Ramírez
Sebastián Ramírez@tiangolo·
FastAPI, Typer, SQLModel, Asyncer All bundle their own Agent Library Skills ✨ Let your agents (Codex, Claude, Cursor, etc) help you write good code and avoid gotchas 🤓 New SQLModel and Asyncer just released with their own library skills 🔖 library-skills.io
Sebastián Ramírez tweet media
English
3
25
189
11.8K
FastAPI me-retweet
Hitesh Choudhary
Hitesh Choudhary@Hiteshdotcom·
writing services with @FastAPI is a completely different experience. Code is really tiny, so much comes out of the box. It works like a charm but my mind is not able to adjust the fact that it is all cooked for me.
English
14
3
326
14.9K
FastAPI
FastAPI@FastAPI·
@exvillager It supports client-side routing, serving the index.html as a fallback.
English
0
0
0
373
FastAPI
FastAPI@FastAPI·
FastAPI can now serve your frontend app ✨ With support for client-side routing 😎 Great for React with TanStack Router, Astro static builds, Vite-based apps, etc. 🎉 FastAPI version 0.138.0 🔖 fastapi.tiangolo.com/tutorial/front…
FastAPI tweet media
English
33
136
1.6K
151.9K
FastAPI
FastAPI@FastAPI·
@GrunerMonzon StaticFiles didn't support client-side routing by default, as it's common in React and other frameworks.
English
0
0
0
798
FastAPI
FastAPI@FastAPI·
@ReyArtAge Only with a static build output. But not in SSR mode as that requires executing Node.js in the backend.
English
0
0
5
854
Rey
Rey@ReyArtAge·
@FastAPI I'm guessing next js is not supported since it was not mentioned?
English
1
0
0
1.1K
FastAPI
FastAPI@FastAPI·
@bugslife1919 Maybe with StaticFiles, losing client-side routing, or with some good amount of custom logic to get close to something like this, maybe with an additional external static file server like Nginx, handling separation of API and frontend by path in a termination proxy, or by domain.
English
0
0
13
2.7K
shao jun
shao jun@bugslife1919·
@FastAPI How do we do it before?
English
1
0
2
3K
FastAPI
FastAPI@FastAPI·
@Mr_D_V_D You still build as normally, this is only for serving the already built frontend app, respecting client-site routing while also respecting your API path operations.
English
1
0
14
2.5K
fictiousxxl
fictiousxxl@Mr_D_V_D·
@FastAPI Main advantage of this approach than the normal build??
English
1
0
3
2.9K
FastAPI
FastAPI@FastAPI·
Teach your agent to use it with the embedded skill in FastAPI 🤖
FastAPI tweet media
English
0
1
60
5.2K
FastAPI
FastAPI@FastAPI·
Here's FastAPI 0.137.2 🎁 Comes with a new utility mainly useful for extensions and advanced use cases that used to inspect app.routes (e.g. Jupyter's Jupyverse) 🤓 github.com/fastapi/fastapi
English
0
4
56
5K
FastAPI
FastAPI@FastAPI·
@davidbrochart What do you need them for? It would be great if you can create a GitHub Discussion with your user case.
English
1
0
0
81
David Brochart
David Brochart@davidbrochart·
@FastAPI Hmm what's the recommended way to get all the paths from a router now?
English
1
0
0
109
FastAPI
FastAPI@FastAPI·
FastAPI 0.137.0: a big internal refactor for routers 🏗️ You are probably not affected, unless you are iterating on the internal router.routes, then check the docs 📝 If you use any third-party package that modifies FastAPI's internals and it stops working, let them know 🤓
English
4
2
81
35.9K
FastAPI
FastAPI@FastAPI·
Bug fix release 0.137.1 🐛
English
0
0
6
1.4K