FastAPI

FastAPI

@fastapi.tiangolo.com

FastAPI framework, high performance, easy to learn, fast to code, ready for production. πŸš€ Web APIs with Python type hints. 🐍 By @tiangolo.com πŸ€“ GitHub: https://github.com/fastapi/fastapi Web: https://fastapi.tiangolo.com/

1K followers2 following141 posts

The FastAPI Full Stack Template now uses React Email for email templates and Mailpit for local email testing! πŸ“¬οΈ Develop emails with React Email, test them locally with Mailpit, generate and commit the templates, and use them from FastAPI as always. ⚑️ github.com/fastapi/full...

FastAPI Conf speaker news! πŸ“’ Jason Liu, creator of Instructor, the person that convinced AI Labs to provide structured output with Pydantic (automatic compatibility with FastAPI). He's bringing us some insights directly from the Codex team at OpenAI πŸ€– fastapiconf.com

FastAPI was part of the @github.com Secure Open Source Fund. πŸ”’ It helped us ensure we follow best practices securing FastAPI and friends for everyone, including the code and open source management. πŸ™Œ github.blog/open-source/...

github.blogWhat 50 open source projects taught us about security in the AI eraSee how the projects in the GitHub Secure Open Source Fund combined AI-assisted workflows, maintainer expertise, and more to improve project security.

Here's the full-stack-fastapi-template 0.12.0 🎁 More modern, simpler, easier. Too many improvements to fit here, but let's start: You can now simply click the "Use this template" button in GitHub to create a new repo, possibly private. ✨ github.com/fastapi/full...

FastAPI reposted

Remember this image from the James Webb space telescope? Wanna know how the science data here is transferred to scientists around the world using @fastapi.tiangolo.com ? And also the images we will see in January from The Roman Telescope (about to be launched). Come to FastAPI Conf. 🌠

FastAPI@fastapi.tiangolo.com

FastAPI Conf speaker news! πŸ“’ Ben Falk, FastAPI Expert, has led projects to distribute space science data around the world. James Webb, The Roman Telescope launched next month, and more. πŸ”­ Come to see real world advanced FastAPI use cases! 🌠 fastapiconf.com

FastAPI Conf speaker news! πŸ“’ Ben Falk, FastAPI Expert, has led projects to distribute space science data around the world. James Webb, The Roman Telescope launched next month, and more. πŸ”­ Come to see real world advanced FastAPI use cases! 🌠 fastapiconf.com

FastAPI reposted

Static assets are now smartly cached on FastAPI Cloud, powered by Cloudflare. ⚑️ Most are served directly by the high-performance CDN, without reaching your Python app. The cache resets automatically on every deployment. Just use standard @fastapi.tiangolo.com . Zero config. 😎

FastAPI Conf first speaker announcement! πŸ“’ FranΓ§ois Voron, a long time FastAPI community member and open source builder, now helping developers sell software products through his work at Polar 🏦 Welcome to Amsterdam, FranΓ§ois! Stay tuned, because this is just the beginning πŸ”₯

FastAPI app.frontend() now supports local development πŸ’»οΈ fastapi dev: a missing frontend directory only shows a warning πŸ‘¨β€πŸ”¬ fastapi run: exits with an error instead 🚨 ✨ new default check_dir="auto" ✨ new env var FASTAPI_ENV="development" fastapi.tiangolo.com/tutorial/fro...

Memory improvements in FastAPI 0.140.0 ⚑️ Around 50% less memory usage 🐬 The benchmark says 16x improvement, but that's an extreme case. It will depend on your app and usage of dependencies. Thanks to ipeluffo for the investigation! πŸ€“

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 πŸ”–