FastAPI Introduction - Build Your First Web App - Python Tutorial

  Рет қаралды 125,830

Patrick Loeber

Patrick Loeber

3 жыл бұрын

FastAPI is a modern, fast web framework for building APIs with Python. In this Tutorial we have a look at some of its key features and then we build our first web application with it.
~~~~~~~~~~~~~~ GREAT PLUGINS FOR YOUR CODE EDITOR ~~~~~~~~~~~~~~
✅ Write cleaner code with Sourcery: sourcery.ai/?... *
Get my Free NumPy Handbook:
www.python-engineer.com/numpy...
⭐ Join Our Discord : / discord
📓 ML Notebooks available on Patreon:
/ patrickloeber
If you enjoyed this video, please subscribe to the channel:
▶️ : / @patloeber
Resources:
fastapi.tiangolo.com/
fastapi.tiangolo.com/tutorial...
fastapi.tiangolo.com/async/
github.com/tiangolo/fastapi
~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
🖥️ Website: www.python-engineer.com
🐦 Twitter - / patloeber
✉️ Newsletter - www.python-engineer.com/newsl...
📸 Instagram - / patloeber
🦾 Discord: / discord
▶️ Subscribe: / @patloeber
~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
🅿 Patreon - / patrickloeber
Music: www.bensound.com/
Python
----------------------------------------------------------------------------------------------------------
* This is a sponsored or an affiliate link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏

Пікірлер: 79
@patloeber
@patloeber 3 жыл бұрын
Let me know if you want to see more tutorials with FastAPI in the future :)
@PetricaR
@PetricaR 3 жыл бұрын
Hello, FastAPI is it better than Streamlit or Flask? Thanks!
@nasiksami2351
@nasiksami2351 3 жыл бұрын
@@PetricaR following
@vishalmatam
@vishalmatam 3 жыл бұрын
Yes please more tutorials on FastAPI with focus on async would be great
@perceptron5983
@perceptron5983 3 жыл бұрын
Yes, more please. Especially with ML integration with streamlit frontend or react....
@perceptron5983
@perceptron5983 3 жыл бұрын
@@PetricaR Streamlit is consider front-end so can't compare to fastAPI only to Flask...being that said, there are pros and cons...for both..but fastAPI is very promising but Flask is more mature and has a lot ot libraries that can be integrated.
@brendensong8000
@brendensong8000 2 жыл бұрын
Love your tutorials! Thank you . It's very helpful for my work as well!!!
@tejasvix
@tejasvix 3 жыл бұрын
We definitely want more tutorials, great content mate 🏅🏅
@patloeber
@patloeber 3 жыл бұрын
thanks! I will make more :)
@elliotb.5937
@elliotb.5937 3 жыл бұрын
Just used FastAPI for a take-home test (interview) and it saved a lot of time. This video opened my eyes to more of its features, though! Thanks!
@patloeber
@patloeber 3 жыл бұрын
That's nice to hear :)
@dasaintgray
@dasaintgray Жыл бұрын
😀Nicely done introduction on FastAPI, waiting for more advance features of FastAPI, thanks mate
@ishikakumari9351
@ishikakumari9351 Жыл бұрын
Good video, even for someone not knowing much about development I was able to understand this easily
@codebreakthrough
@codebreakthrough 3 жыл бұрын
Very useful Intro, would love to see ml deployments!
@patloeber
@patloeber 3 жыл бұрын
Thanks for stopping by Caleb :) Definitely want to do more with FastAPI in the future
@__________________________6910
@__________________________6910 3 жыл бұрын
OMG Caleb Curry is here.
@nnaemekaonwuka7474
@nnaemekaonwuka7474 3 жыл бұрын
@ApolloXDev honestly..lol
@Maestrotoy
@Maestrotoy Жыл бұрын
I just re enabled youtube notification for your channel. Pls no hesitate to put more... 😊
@YaminThu-zb3zr
@YaminThu-zb3zr Ай бұрын
This video is very useful for FastAPI beginner. I want to watch another video with FastAPI and Thank you very much.
@__________________________6910
@__________________________6910 3 жыл бұрын
Sir, I love the framework. Please make a series on this framework.
@patloeber
@patloeber 3 жыл бұрын
I'll probably will :)
@analystbruh2911
@analystbruh2911 Жыл бұрын
very nice and helpful!
@gn7493
@gn7493 11 ай бұрын
Thank you for your help mate :)
@pmshadow
@pmshadow Жыл бұрын
very very nice, thank you very much!
@Gglsucksbigballz
@Gglsucksbigballz 2 жыл бұрын
Best enjoyed at playback speed 1.25X
@sakshampokhrel42
@sakshampokhrel42 Жыл бұрын
Thanks bro it helped a lot
@louiskariuki6255
@louiskariuki6255 2 ай бұрын
Thank you
@louiskariuki6255
@louiskariuki6255 2 ай бұрын
Thank you
@sornajavadi4883
@sornajavadi4883 Жыл бұрын
Can I still use fastapi if the output of my Python code is an html file? I have created a Python code to generate a sklearn model card which is an html file. I am basically trying to wrap this code around an api to serve it in production.
@newlinks883
@newlinks883 3 жыл бұрын
Great explanation
@patloeber
@patloeber 3 жыл бұрын
Thanks :)
@fcastillo90
@fcastillo90 18 күн бұрын
Very helpful video!
@firass.9930
@firass.9930 11 ай бұрын
FastAPI is delicious. So clean and easy
@Darbokst
@Darbokst 4 ай бұрын
do you have a video for fastapi and templating that does it from the point of view of data coming from a remote db with more then one column?
@albertog2196
@albertog2196 3 жыл бұрын
Seems very useful
@patloeber
@patloeber 3 жыл бұрын
thanks!
@ChiefRemoteOfficer
@ChiefRemoteOfficer 2 жыл бұрын
Good video. Thanks! I noticed in the docker image you did not create a virtual environment. Is that standard practice? Is the assumption that the image will only run this one application so it is not necessary?
@patloeber
@patloeber 2 жыл бұрын
good observation. Usually yes!
@AcademyOmen
@AcademyOmen 3 жыл бұрын
And I'm here💙😆
@Niki-ue6fk
@Niki-ue6fk 4 ай бұрын
Thanks!!
@hamzaahmad564
@hamzaahmad564 Жыл бұрын
Thanks G 🔥
@evan2375
@evan2375 8 ай бұрын
Thank you🙏
@rangabharath4253
@rangabharath4253 3 жыл бұрын
awesome
@vtrandal
@vtrandal Жыл бұрын
I must correct my previous comment where I ignorantly complained about route thinking you were mispronouncing some sort of abbreviation for routine. I'm learning. And learning to make less ignorant comments.
@ramsdigitalsanayara6414
@ramsdigitalsanayara6414 3 жыл бұрын
Can you help me how to upload a image and crop it using FastAPI
@rsaoto
@rsaoto 2 жыл бұрын
I would like more tutorials on FastApi do you plan someone?
@29DPT
@29DPT Жыл бұрын
I have PyCharm that I use for Python, Can you do a video on that one too, build a FastAPI in PyCharm
@Phobos221B
@Phobos221B Жыл бұрын
how to request for the verbose = True content for ML stuff to display on the web page using FastAPI
@elksie5000
@elksie5000 9 ай бұрын
It would be useful if you could increase the font size of the text.
@zinaright
@zinaright Жыл бұрын
Automatic Api documentation? Sold!
@terraflops
@terraflops 3 жыл бұрын
hey Patrick, is this easier than Django? I hated the backend of Django with user auth and DB. This looks faster indeed with less code but I need to see useful applications before I start this journey
@modz9711
@modz9711 3 жыл бұрын
That's true is it?
@patloeber
@patloeber 3 жыл бұрын
yes imo it's easier to learn in the beginning and also faster to develop. But django is still great and has more features already included.
@raghavagrawal6263
@raghavagrawal6263 3 жыл бұрын
how we can compare fastAPI with streamlit
@patloeber
@patloeber 3 жыл бұрын
fastAPI is a web framework, streamlit is used to easily create UIs with widgets and also serve the app. It has an integrated web server so you don't have to worry about building the web application yourself.
@user-or7ji5hv8y
@user-or7ji5hv8y 3 жыл бұрын
Is it also reactive? can the website work on a smart phone?
@mixschnack
@mixschnack 2 жыл бұрын
Provided you have a server running that is available over the internet, yes.
@chriskeo392
@chriskeo392 3 жыл бұрын
How do you connect a gui to FastAPI?
@95SUJITH
@95SUJITH Жыл бұрын
You create the GUI in react or something and then call the fastapi URL to fetch and store data
@yiyoascen
@yiyoascen 3 жыл бұрын
is this good for regular web apps?
@patloeber
@patloeber 3 жыл бұрын
absolutely!
@yiyoascen
@yiyoascen 3 жыл бұрын
@@patloeber I see very little documentation about structuring the app for it's views
@kshitizbhargav5499
@kshitizbhargav5499 Жыл бұрын
The way he says parameters really sounds weird
@larryeisenberg368
@larryeisenberg368 2 жыл бұрын
Web app or api?
@indiaonellp
@indiaonellp 2 жыл бұрын
I think both.
@skynetg9567
@skynetg9567 Жыл бұрын
I see no coding, i just see copy and paste with an explanation...
@ceo_google
@ceo_google Жыл бұрын
ain't that what development is all about ?
@AAAAAA-n9f
@AAAAAA-n9f 3 жыл бұрын
You sound weird
@jeff_tech
@jeff_tech 2 жыл бұрын
It is just an accent.
FastAPI Tutorial - Building RESTful APIs with Python
1:03:10
Amigoscode
Рет қаралды 231 М.
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 39 МЛН
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 80 МЛН
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 60 МЛН
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 3,8 МЛН
What is an API (in 5 minutes)
4:56
Aaron Jack
Рет қаралды 589 М.
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,4 МЛН
Build a Website in only 12 minutes using Python & Streamlit
12:48
Coding Is Fun
Рет қаралды 530 М.
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Software Developer Diaries
Рет қаралды 72 М.
These Coding Projects Give You An Unfair Advantage
14:39
Harkirat Singh
Рет қаралды 327 М.
FastAPI, Flask or Django - Which Should You Use?
9:49
Tech With Tim
Рет қаралды 52 М.
How To Create a Python API With FastAPI - Full Tutorial
25:39
Tech With Tim
Рет қаралды 32 М.
Docker Tutorial For Beginners - How To Containerize Python Applications
22:17
1 or 2?🐄
00:12
Kan Andrey
Рет қаралды 39 МЛН