How to Use FastAPI: A Detailed Python Tutorial

preview_player
Показать описание
In this tutorial, I'll show you how to get started with FastAPI in Python. By the end of this video, you'll know everything you need to get started with developing your own APIs!

🎓 Courses:

👍 If you enjoyed this content, give this video a like. If you want to watch more of my upcoming videos, consider subscribing to my channel!

👀 Code reviewers:
- Yoriz
- Ryan Laursen
- James Dooley
- Dale Hagglund

🔖 Chapters:
0:00 Intro
0:52 Installation
1:35 Example
2:40 Creating the app
4:32 Path and query parameters
10:30 Routing and requests
14:16 FastAPI advantage 1
15:07 FastAPI advantage 2.1
16:52 FastAPI advantage 2.2
18:14 FastAPI advantage 3
19:23 Outro

#arjancodes #softwaredesign #python

DISCLAIMER - The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!
Рекомендации по теме
Комментарии
Автор

Need more of these full length tutorials ❤️

priyesbamne
Автор

fastapi + pydantic is a ultimate pleasure to work with.

donjohnson
Автор

One of the other major point about fast api is that it is built to support async out of the box.

So if you have blocking IO calls inside your API logic(db calls, file system interaction, other API calls etc), using async will improve your performance even more.

In simple terms usually when 1 thread of python server will handle 1 API request. With async it would be able to serve more requests.

One major thing is that, make sure to use async specific db library, requests module, file io modules etc. Then only we will have this advantage

mgrfans
Автор

Good job Arjan, looking forward to watching this, loving the channel! <3

andrewrzepecki
Автор

I'm a big fan of FastAPI. Thanks for doing this.

TangoFoxtrotWhiskey
Автор

I would also love to see videos about the best ways to deploy such an application, how to scale it, etc.

yates_
Автор

Cool video! Thanks! Would be nice to see video about integration FastApi and Dependency Injector, so interesting

sergeigavrilov
Автор

Thanks! It's very concise. I love the part where it provides an ORM-like validation feature.

BlackJacketWasp
Автор

Hi Arjan, thank for the great tutorial! I remember suggesting it for you some time ago ... Thanks for delivering it!

joaopedrorocha
Автор

Hi Arjan, this is incredible about how easy is to use the fast API compared to other frameworks (especially from Java). With few lines of code, I can get a good structure of an API. Thanks for the amazing tutorial and greetings from Brazil!!

giuliareal
Автор

It would be helpful to have a series of this and include a tutorial about the interaction between machine learning models and FastAPI (maybe you can include saved models using MLFlow).

rayen_fekih
Автор

I love your videos! Thanks a lot for the great work and inspiration! Keep up the amazing content!!

gerozayas
Автор

Great video! It's a really good intro, but there is so much good stuff yet to cover! What makes me really like this framework are also the way it handles dependency injection, the docs that let you test your app, the async support!! Really a great framework, since I discovered it I've never created an API with another python framework haha!

tamles
Автор

Thank you for this so much Arjan. I was just about to learn about FastAPI. There are so many of your vids on my watchlist when I'm going to switch jobs soon. Take care.

olgierd
Автор

Your persistance in consistent type fixing is marvelous

panossavvaidis
Автор

Thank you!! Looking forward more and deep video!!!b

rcdqvus
Автор

Thank you for helping us. learned a lot from you and this tutorial gives me quick knowledge to ace my tech interview today.

untildawn
Автор

Another thanks for such quality content, that's really cool. Keep going, please.

Asandr
Автор

Have been recently playing around with flask and a little Django in the past. The learning curve and setup time is less steep with FastAPI. I like that templates (jinja2) can be added later.

tascsolutions
Автор

Will be very much helpful if you create a microservice series using fastAPI and django/ flask which can imetate the real life project scenario. So that we(entire ArjanCodes community) get to know better coding techniques as well as other understanding in details about that as well.

akhilparekh