FastAPI Tutorial | FastAPI vs Flask
Вставка
- Опубліковано 14 лип 2024
- FastAPI is a Python based web framework that allows you to write backend server in a matter of minutes. It can be used as a general backend for any website or a way to deploy machine learning model in form of a REST api server.
FaskAPI tutorials: fastapi.tiangolo.com/tutorial/
Code: github.com/codebasics/py/blob...
⭐️ Timestamps ⭐️
00:00 Introduction
00:50 FaskAPI installation
01:46 Simple hello world api server
04:50 Passing parameters to api server
06:01 GET, POST, PUT and DELETE in REST protocol
06:52 FastAPI vs Flask: FaskAPI inbuilt validation (benefit # 1)
12:51 Inbuilt documentation supporte (benefit # 2)
15:14 Faster runtime performance (benefit # 3)
15:32 Faster code development, few bugs (benefit # 4)
15:54 Quick summary of why fastapi is better than Flask
Do you want to learn technology from me? Check codebasics.io/ for my affordable video courses.
🌎 Website: www.codebasics.io/
🎥 Codebasics Hindi channel: / @codebasicshindi
#️⃣ Social Media #️⃣
🔗 Discord: / discord
📸 Instagram: / codebasicshub
🔊 Facebook: / codebasicshub
📱 Twitter: / codebasicshub
📝 Linkedin (Personal): / dhavalsays
📝 Linkedin (Codebasics): / codebasics
❗❗ DISCLAIMER: All opinions expressed in this video are of my own and not that of my employers'.
Do you want to learn technology from me? Check codebasics.io/ for my affordable video courses.
Im using fastapi everything is working but im getting this error on endpoint requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8888): Max retries exceeded with url: /v1/MyModels/KAFDISEASEDETECTION:predict (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))
Any help please
Best teacher in the UA-cam so far, very precise and crisp ... specially I liked the samosa part :)
Amazing, kindly make full playlist of this.
Your video are always easy to understand with great examples ♥💻
Awesome video very well explained for someone like me from data science background
Great video, thank you! Best wishes from Germany.
Great video! Thank you for the great tutorial!!!
Best tutorial for fast api will recommend to my folks
Your ppt is amazing as always your ppt is far better than presentation of Google I/O, I'm requesting you please make a tutorial playlist for ppt skills, It would be better for us to learn amazing ppt skills from you ☺️
And on your birthday party we want samosa party 😂
Ha ha .. sure Jay :) I will make a video on effective ppt (at some point in the future). And yes next time I travel to India we can have a samosa and chai party together.. he he ... I will plan out a small meet up for all discord mentors :)
@@codebasics sir how can I meet u through discord
Informative, Thank you!
fastAPI, the new revolution, a game changer.
Waiting for this 🤗
waoh.....what a nice stuff. you achieve a lot. truly it's fastapi.
Thanks a lot! This is so helpful :)
Glad it was helpful!
True respect to you sir thank you for such a great video ❤😊
thanks great help me lots
very nice.
many thank's
Nice Explanation 👌👍
02 Hours of content in 16 minutes 🎯.
Great tutorial
Thanks for the video.. I am following your all videos.. can I use Django instead of FastAPI as I have used django before in many projects
great explanation
Hello Sir, I have tried to implement Fast api n a very small linear algo for understanding purpose where I m getting 500 as Internal Server error. Can you kindly help me to solve this?
Sir, please make complete tutorial on fast api...🙏🙏
Great explanation sir, do you have course for Fast API?
Thank you!!!
Nice video, I like it.
I'm glad you like it
Hello ,
thank you for the great video.
Could you do a tutorial on how to work with muti tenant in fastapi... Some thing that do what django-tenant does.please.
thank you
Thank very much for this great tutorial about fastAPI I'm a beginner in coding I have a question I want to create a website with html css and javascript in the website I want to change a prize of many items it's possible to create a API that can update de prise ?
Sir please make full course on FASTAPI
Please make a video which will covers all aspects of fastapi tutorial in hindi.
Can we use both fast-api and django
Hey there, where are you executing this uvicorn command to obtain the address? I'm working with FastAPI in a Jupyter Notebook. Do I need to use Powershell? Where are you launching this terminal window labelled as MinGW?"
That is called git bash. Just google it. you should be able to install it freely in 5 minutes. It provides you an ability to run linux commands on windows.
Amazing ... 🤩 Which is best framework for dashboard development work ? could you suggest me on this.
Please help me explain meaning of endpoints..Why they are necessary??
Which one is better django vs fast api???
Django is for full big website and fastApi is only for APIs
@@its_kumar Well said
How can ı use MINGW64 command prompt to write this command ?
Error loading ASGI app. Could not import module .
Hi Mota bhai, everyone says tat in industry we create ML project in Pycharm or VS code using OOPs concept but there not a sing video on youtube for this. Kindly create a end to end project on this.
yes I have an end to end deep learning project here: ua-cam.com/play/PLeo1K3hjS3ut49PskOfLnE6WUoOp_2lsD.html
great video
Is fastApi better than asp net web api?
what is the first interface i didn't reconise it
should I use FastAPI in my Data Science workflow?
Yes
Sir i am pursuing ai ml ,does i have to learn web development also
Thanks
I have problem with python. I INSTALL IT 100 times it just don't work and I can't know the problem. pls help
Will FastAPI beat Node.js ?
May be it will because it is almost fast as nodejs
Well, when it comes to web app development node.js is quite popular so if you are building a traditional app that doesn't have any data science or in general doesn't require using python ecosystem then I'd still prefer node.js (for various reasons).
@@codebasics Can you state some of the reasons ? Even Python is popular like javascript.The main issue of async calls being resolved can't it beat node.js ? I am currently in a dilema of technology selection for back-end api development.I know python but I am new to js.
Thank You Sir
Second
4th
First