2 ms·
From the perspective of someone who mostly dabbles in creating APIs for my own use: - Auto-generated docs and simple front end for your API allow you to examin
by SirSourdough 6y ago
From the perspective of someone who mostly dabbles in creating APIs for my own use:
- Auto-generated docs and simple front end for your API allow you to examine and interact with your endpoints with essentially no added work or tools
- Feature rich and performant
- Tight pairing with Pydantic makes specifying and validating data models easy
Basically, FastAPI (and pydantic under the hood) just abstracts away a lot of the work you would need to do to build a relatively fully-featured API on your own, and adds quality of life features that one generally couldn’t justify building/setting up for themselves, especially for smaller projects. Plus, the docs are solid and it’s a pretty simple library to get started with. It’s very much been an “it just works” library for me in most cases.