r/FastAPI • u/webNoob13 • Sep 06 '21
Question Books on FastAPI
Some chapters of Fluent Python 2e, O'Reilly show some FastAPI examples but is there an entire book dedicated to it? I am reading official documents and have a bit of Flask and Plotly-Dash experience.
3
2
u/webNoob13 Sep 24 '21
I ended up signing up for the courses promoted by Tiangolo and taught by Michael here: https://testdriven.io/talkpython/
I'm only on Unit 2 but this covers the foundations of async await, typing and it is well taught because he starts with the alternate, pre-fastapi ways of trying to do async await as he explains the concepts at a high level. At the same time though, he takes the student through step-by-step building APIs with FastAPI. It's definitely worth the money as it's lifetime access and he's also got a bunch of other free and paid courses that are super relevant to building modern web apps.
2
u/tommytwoeyes Sep 07 '21 edited Sep 07 '21
There are a couple of books, actually.
There is:
Building Data Science Apps with FastAPI — Haven’t read this one.
Microservice APIs in Python — This one hasn’t been published yet, but Manning has a new (I think) web app called, “LiveBook.” You can read the Microservice APIs in Python book for free for on the web now, if you create a Manning account.I’ve just begun reading it, and it looks pretty good so far. FastAPI is used throughout the book.
2
u/webNoob13 Sep 07 '21
That's awesome I have a Manning account, bought Grokking Deep Learning a couple years back.
3
u/tommytwoeyes Sep 08 '21
p.s That Manning Microservice APIs with Python LiveBook is the most in depth book I have found for FastAPI, so far—except for the official documentation.
It takes you through a large project, building the business logic for an internet retail app as individual microservices. Pretty cool
1
u/webNoob13 Sep 10 '21
Is the whole book free right now because it's still in development? Sometimes the Livebook will not unscramble the words so I found an alternate way (so far I can read it) by running a search on their site and then clicking on one of the results. Then it takes me to a UI that is not Livebook but I can read it. No highlighting or other tools like Livebook though.
1
1
u/tommytwoeyes Sep 17 '21
Yeah, I think it gives only a chapter or two away for free to anonymous users.
However, if you create an account with Manning, they’ll let you read the entire book for free. Actually, they’ll let you read several of their livebooks for free once signed in—I don’t know if there’s an upper limit.
I didn’t read their privacy policy either, so I’m not certain whether giving up your name/email info will result in it being sold onward. Hopefully not.
1
u/webNoob13 Sep 17 '21
Really? I do have an account and only got a chapter if that.
I did get a hold of Michael running the courses who has offered me 33% off for academia so I might take the beginner course but honestly the documentation is really good!
3
u/tommytwoeyes Sep 08 '21
I like their books. They’re well-written, and the authors know their stuff, in my experience.
7
u/FreshPrinceOfRivia Sep 06 '21
I'd say most FastAPI users have a Django or Flask background, so there's not a big demand for a book atm.
6
u/[deleted] Sep 06 '21
So far your best resources are official docs, GitHub/stack community, and medium articles.
You can also try courses promoted by Tiangolo: https://testdriven.io/talkpython/