FastAPI Tutorial | FastAPI vs Flask

  Рет қаралды 96,564

codebasics

codebasics

Күн бұрын

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'.

Пікірлер: 67
@codebasics
@codebasics 2 жыл бұрын
Do you want to learn technology from me? Check codebasics.io/ for my affordable video courses.
@aishaabubakarshema5243
@aishaabubakarshema5243 Жыл бұрын
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'))
@aishaabubakarshema5243
@aishaabubakarshema5243 Жыл бұрын
Any help please
@shayankabasi160
@shayankabasi160 2 жыл бұрын
Best teacher in the KZfaq so far, very precise and crisp ... specially I liked the samosa part :)
@ajaykushwaha-je6mw
@ajaykushwaha-je6mw 2 жыл бұрын
Amazing, kindly make full playlist of this.
@anonymousgal100
@anonymousgal100 10 ай бұрын
Your video are always easy to understand with great examples ♥💻
@aliyananwar7633
@aliyananwar7633 2 жыл бұрын
Awesome video very well explained for someone like me from data science background
@burnhell15
@burnhell15 2 жыл бұрын
Great video, thank you! Best wishes from Germany.
@brendensong8000
@brendensong8000 Жыл бұрын
Great video! Thank you for the great tutorial!!!
@ajaysuresh8856
@ajaysuresh8856 Жыл бұрын
Best tutorial for fast api will recommend to my folks
@jaysoni7812
@jaysoni7812 2 жыл бұрын
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 😂
@codebasics
@codebasics 2 жыл бұрын
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 :)
@komalashashidhar9795
@komalashashidhar9795 2 жыл бұрын
@@codebasics sir how can I meet u through discord
@manojkbn
@manojkbn Жыл бұрын
Informative, Thank you!
@jorge1869
@jorge1869 2 жыл бұрын
fastAPI, the new revolution, a game changer.
@its_kumar
@its_kumar 2 жыл бұрын
Waiting for this 🤗
@danielkamau8436
@danielkamau8436 2 жыл бұрын
waoh.....what a nice stuff. you achieve a lot. truly it's fastapi.
@mhb432
@mhb432 2 жыл бұрын
Thanks a lot! This is so helpful :)
@codebasics
@codebasics 2 жыл бұрын
Glad it was helpful!
@Akhildesignsbuddy
@Akhildesignsbuddy 6 ай бұрын
True respect to you sir thank you for such a great video ❤😊
@Da-Bolt
@Da-Bolt 12 күн бұрын
thanks great help me lots
@andreaf6143
@andreaf6143 Жыл бұрын
very nice. many thank's
@apurvavhatkar8520
@apurvavhatkar8520 7 ай бұрын
Nice Explanation 👌👍
@Guidemint
@Guidemint Жыл бұрын
02 Hours of content in 16 minutes 🎯.
@yashindane2844
@yashindane2844 2 жыл бұрын
Great tutorial
@anuradhachougule7935
@anuradhachougule7935 2 жыл бұрын
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
@rahulshukla5033
@rahulshukla5033 Жыл бұрын
great explanation
@datareactor4143
@datareactor4143 2 жыл бұрын
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?
@UpendraKumar-zc8lm
@UpendraKumar-zc8lm 2 жыл бұрын
Sir, please make complete tutorial on fast api...🙏🙏
@vinoths7140
@vinoths7140 Жыл бұрын
Great explanation sir, do you have course for Fast API?
@yoggita
@yoggita Жыл бұрын
Thank you!!!
@ramupoonjolai9974
@ramupoonjolai9974 2 жыл бұрын
Nice video, I like it.
@codebasics
@codebasics 2 жыл бұрын
I'm glad you like it
@hacendjaout7471
@hacendjaout7471 2 жыл бұрын
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
@auto-diciplime237
@auto-diciplime237 Жыл бұрын
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 ?
@_chiku11
@_chiku11 2 жыл бұрын
Sir please make full course on FASTAPI
@souravbarua3991
@souravbarua3991 Жыл бұрын
Please make a video which will covers all aspects of fastapi tutorial in hindi.
@pratyushsingh7846
@pratyushsingh7846 2 жыл бұрын
Can we use both fast-api and django
@smangal1308
@smangal1308 11 ай бұрын
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?"
@codebasics
@codebasics 11 ай бұрын
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.
@bandhalaraja3481
@bandhalaraja3481 2 ай бұрын
Amazing ... 🤩 Which is best framework for dashboard development work ? could you suggest me on this.
@sarthak7413
@sarthak7413 Жыл бұрын
Please help me explain meaning of endpoints..Why they are necessary??
@muhammad_mohsin_ali4070
@muhammad_mohsin_ali4070 2 жыл бұрын
Which one is better django vs fast api???
@its_kumar
@its_kumar 2 жыл бұрын
Django is for full big website and fastApi is only for APIs
@codebasics
@codebasics 2 жыл бұрын
@@its_kumar Well said
@asenabukanalda
@asenabukanalda 10 ай бұрын
How can ı use MINGW64 command prompt to write this command ?
@MarathiDubbs
@MarathiDubbs 2 жыл бұрын
Error loading ASGI app. Could not import module .
@ajaykushwaha-je6mw
@ajaykushwaha-je6mw 2 жыл бұрын
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.
@codebasics
@codebasics 2 жыл бұрын
yes I have an end to end deep learning project here: kzfaq.info/sun/PLeo1K3hjS3ut49PskOfLnE6WUoOp_2lsD
@mohnishdubey5
@mohnishdubey5 2 жыл бұрын
great video
@AchuVlogs
@AchuVlogs 2 жыл бұрын
Is fastApi better than asp net web api?
@user-pj6im1qv6w
@user-pj6im1qv6w 3 ай бұрын
what is the first interface i didn't reconise it
@sweetie_py
@sweetie_py 2 жыл бұрын
should I use FastAPI in my Data Science workflow?
@codebasics
@codebasics 2 жыл бұрын
Yes
@tarunchoudhary-nx4eo
@tarunchoudhary-nx4eo 10 күн бұрын
Sir i am pursuing ai ml ,does i have to learn web development also
@sureshabeyweera6733
@sureshabeyweera6733 2 жыл бұрын
Thanks
@user-pj6im1qv6w
@user-pj6im1qv6w 3 ай бұрын
I have problem with python. I INSTALL IT 100 times it just don't work and I can't know the problem. pls help
@akshayugale414
@akshayugale414 2 жыл бұрын
Will FastAPI beat Node.js ?
@its_kumar
@its_kumar 2 жыл бұрын
May be it will because it is almost fast as nodejs
@codebasics
@codebasics 2 жыл бұрын
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).
@akshayugale414
@akshayugale414 2 жыл бұрын
@@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.
@shilpabadge194
@shilpabadge194 2 жыл бұрын
Thank You Sir
@redwooid
@redwooid 2 жыл бұрын
Second
@MOHDANAS-zc9cy
@MOHDANAS-zc9cy 2 жыл бұрын
4th
@Mohammed_783
@Mohammed_783 2 жыл бұрын
First
Building a Machine Learning API in 15 Minutes | Coding Challenge
20:04
Nicholas Renotte
Рет қаралды 123 М.
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 14 МЛН
Happy 4th of July 😂
00:12
Pink Shirt Girl
Рет қаралды 61 МЛН
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 6 МЛН
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 145 МЛН
Create A Python API in 12 Minutes
12:05
Tech With Tim
Рет қаралды 585 М.
Flask vs Django in 2024 - Make a RIGHT Choice (Difference Explained)
9:32
Daniel Dan | Tech & Data
Рет қаралды 41 М.
FastAPI, Flask or Django - Which Should You Use?
9:49
Tech With Tim
Рет қаралды 55 М.
Python FastAPI Tutorial: Build a REST API in 15 Minutes
15:16
Complete Python Flask Tutorial For Data Science Projects In Hindi
39:48
Krish Naik Hindi
Рет қаралды 39 М.
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Alex Hyett
Рет қаралды 210 М.
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,5 МЛН
Why You NEED To Learn FastAPI | Hands On Project
21:15
Travis Media
Рет қаралды 153 М.
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 14 МЛН