Тёмный

Python Asyncio, Requests, Aiohttp | Make faster API Calls 

Patrick Collins
Подписаться 86 тыс.
Просмотров 126 тыс.
50% 1

#python #asyncio #aiohttp
Python, asynchronous programming, the event loop... what is all this stuff?
We learn what python is doing in the background so we can make more API Calls faster. We learn how to go from requests to aiohttp in our code, and refactor code for asynchronous programming.
✍️Medium Post: betterprogramming.pub/python-...
⌨️ Code: github.com/PatrickAlphaC/asyn...
✅✅ Donate ✅✅
I use donated funds to spend money on making fun & informational videos.
ETH Wallet address: 0x9680201d9c93d65a3603d2088d125e955c73BD65
😸😸Join the community!😸😸
Chainlink developers discord: / discord
Alpha Chain discord: / discord
Twitter: / alphachainio
Twitter (me): / patrickalphac
Medium: / patrick.collins_58673
Twitch Stream Uploads: / @patrickalphac-alt
Twitch: / patrickalphac
All thoughts and opinions are my own.

Наука

Опубликовано:

 

19 апр 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 348   
@saminyead1233
@saminyead1233 11 месяцев назад
"An event loop is when we let some stuff that takes a long time do it's thing in the background. And when it's all set, the 'event loop' will 'pick it up'." is the most helpful and intuitive definition of event loop I've heard.
@werthersoriginal
@werthersoriginal 3 года назад
I really enjoy the fast-pace and the humor of your tutorials. Keeps me from zoning out. You've got a gift for making these tutorials both informative and enjoyable.
@PatrickAlphaC
@PatrickAlphaC 3 года назад
Appreciate it! I’m trying to find the right style. I get some people saying they hate it, and others love it. Guess time will tell ahah
@werthersoriginal
@werthersoriginal 3 года назад
@@PatrickAlphaC HA! So true. Well it is definitely different and different is refreshing! I just subscribed. Looking forward to more!
@ubaidulkhan
@ubaidulkhan 3 года назад
Best async explanation in the burger loving world!!!
@PatrickAlphaC
@PatrickAlphaC 3 года назад
🙏🙏🙏
@ermalgashimramori
@ermalgashimramori Год назад
One of the greatest explanations of Async in RU-vid.
@abduwahabhasan
@abduwahabhasan 8 дней назад
Wow! I hope this legend continues to provide such useful lessons for all of us.
@apexlex1634
@apexlex1634 2 месяца назад
You’re the man. 13 second code down to half a second. Thank you
@pouyatoutounchy1238
@pouyatoutounchy1238 3 дня назад
Finally, someone who explained it in a language that I know the best FOODS! Thank you for the tutorial, much love from Iran 😊😊
@KermitDominicano
@KermitDominicano 22 дня назад
Fantastic video. I'm working on something for my internship that involves asyncio and aiohttp and this made it very easy to understand what is going on, you explain everything so well
@kapilsonyt
@kapilsonyt 2 года назад
One of the best asyncio tutorial!! Thanks much Patrick!
@padraic1983
@padraic1983 2 года назад
That was an AWESOME tutorial mate. Subscribed!
@davidkorn5253
@davidkorn5253 2 года назад
you have a skill for making tutorials very engaging. I didn't zone out for a sec
@PatrickAlphaC
@PatrickAlphaC 2 года назад
Yay :) Glad it was helpful!
@nam4574
@nam4574 2 года назад
I really really like this tutorial!! You made it really funny and enjoyable. Never had such a fun programming tutorial on youtube :D Keep going!
@PatrickAlphaC
@PatrickAlphaC 2 года назад
Thanks for the comment!
@billjellesma1371
@billjellesma1371 Год назад
Very informative. The cooking analogy was gold!
@sleepyimsomx354
@sleepyimsomx354 2 месяца назад
Usually i dont understand any of the programming video but this is by far the greatest explanation video ive ever watched
@evanfonseka5520
@evanfonseka5520 3 года назад
Ayo this is the best clip I have ever witnessed about making api calls faster, props to u my man!!
@PatrickAlphaC
@PatrickAlphaC 3 года назад
Much obliged friend
@903vulture
@903vulture Год назад
Dude, you have an amazing way for teaching things that in another way would result boring and complex. You've won a new and loyal subscriptor from Uruguay.
@PatrickAlphaC
@PatrickAlphaC Год назад
ty fren
@nassehk
@nassehk 8 месяцев назад
Loved the tutorial. Thanks 👍
@damiyagondha7153
@damiyagondha7153 3 месяца назад
Really loved this explanation!
@vadim921
@vadim921 2 года назад
Dude this is the most amusing programming tutorial I've seen in a while! Good stuff, you've got some acting skills
@PatrickAlphaC
@PatrickAlphaC 2 года назад
Glad it was fun and educational hehe
@vadim921
@vadim921 2 года назад
@@PatrickAlphaC I wish you made the whole course on that stuff
@Lorant1984
@Lorant1984 2 года назад
Oh Dude, I would love to see more tutorials done in this style! Super entertaining!
@Nikki713100
@Nikki713100 2 года назад
the best tutorial on the internet, ever
@vickysharma9227
@vickysharma9227 2 года назад
For a tricker topic Very Clearly Explained. Thanks brother once again.
@yerielkim327
@yerielkim327 2 года назад
Best teacher i've ever seen. Really impressive
@PatrickAlphaC
@PatrickAlphaC 2 года назад
Glad it was helpful!
@anoopisaac
@anoopisaac Год назад
really enjoyed the part where you shuttle between two pans to check if its done and in the process explaining the purpose event loop
@PatrickAlphaC
@PatrickAlphaC Год назад
Glad that was helpful! I might make this video again...
@EekaMau5
@EekaMau5 Год назад
i'm so glad I found you.. Awesomeness !!
@BillThornton-pm4hd
@BillThornton-pm4hd 10 месяцев назад
Thank you .. this changes everything
@smitjainsj
@smitjainsj 2 года назад
you have nailed it !!!! keep it up.
@mattmaximo8716
@mattmaximo8716 2 года назад
this is the best tutorial i've watched on youtube. Surprisingly enjoyable for my pea brain
@PatrickAlphaC
@PatrickAlphaC 2 года назад
Glad you enjoyed fren :)
@carterreynolds5649
@carterreynolds5649 Год назад
i was having a hell of a time understanding async coding and this video really helped. Thank you! Take my sub :)
@kovychchat__my_Teleqram_id
@kovychchat__my_Teleqram_id Год назад
For more enquiries, reach out⬆️⬆️⬆️..
@stro3277
@stro3277 2 года назад
your video solved my issue! thanks! highly appreciated
@PatrickAlphaC
@PatrickAlphaC 2 года назад
Let's gooo!!
@lucasvazdelima4420
@lucasvazdelima4420 Год назад
I can't click enough on 'like' button. Thanks, your video was amazing!
@dumisanimthethwa4279
@dumisanimthethwa4279 Год назад
Wow thank you so much Patrick
@FaizanUlHaq-mf3zt
@FaizanUlHaq-mf3zt 4 месяца назад
didnt even zone out once, loving this....SUBSCRIBED
@PatrickAlphaC
@PatrickAlphaC 4 месяца назад
Ty Fren :)
@127.
@127. 3 года назад
Finally understood how to implement asycio. Very well explained. You not trying to get everything correct in first attempt and giving errors so viewers can understand why it gave error was something very educational in this video. Subscribed.
@vickysharma9227
@vickysharma9227 2 года назад
Hey Man, Thanks for the video. using Tasks is a super duper and important way
@bravitheja1142
@bravitheja1142 3 месяца назад
wonder i completed 17mins tutorial without getting distracted. Great way of keeping audience on focus :)
@luxeave
@luxeave 2 года назад
this kind of guide, is life-altering. just amazing, man.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 Год назад
6:12 You could turn any synchronous (i.e. thread-blocking call) into an async one using the to_thread() function available in asyncio with Python 3.9 and later.
@PatrickAlphaC
@PatrickAlphaC Год назад
hot dog
@ravindrakakade9859
@ravindrakakade9859 Год назад
Loved the video and the enunciation!
@paulovinicius5833
@paulovinicius5833 2 года назад
It`s been less than 1 min of video and I already want to subscribe to his channel. Done.
@RenormalizedAdvait
@RenormalizedAdvait 2 года назад
Wow! This is revolutionary technique in teaching how to code, to be honest it is better than the best tutorials here. Keep it up.
@PatrickAlphaC
@PatrickAlphaC 2 года назад
Glad it’s fun fren :)
@kovychchat__my_Teleqram_id
@kovychchat__my_Teleqram_id Год назад
For more enquiries, reach out⬆️⬆️⬆️..
@filippov_es
@filippov_es 2 года назад
It’s a kind of magic! Thank u!!!
@peterwoo2718
@peterwoo2718 4 месяца назад
the video really cool and fun. and the code examples are really helpful. Thank you!
@venkatramachandran6345
@venkatramachandran6345 2 года назад
Incredible. Thank you so much. In the middle of a development that has 300,000 inevitable API calls. Let me check how it works. Again, Thank you
@PatrickAlphaC
@PatrickAlphaC 2 года назад
Good luck!
@venkatramachandran6345
@venkatramachandran6345 2 года назад
@@PatrickAlphaC Processed 320k API with 100 APIs at a time. Out of 320k, 91 got connection error (404). When I rerun the remaining APIs, it worked. How to avoid this connection failure? It looks like a common issue in asyncio but dont see proper fix.
@asimkhan-ko6ew
@asimkhan-ko6ew 11 месяцев назад
Best video on aync I have ever seen. It is just like Tom cruise movie, you have to stick till end, twist may come any moment. Who knows😂
@malakggh
@malakggh Год назад
I had to stop the video, to like and comment on this amazing explanation.
@PatrickAlphaC
@PatrickAlphaC Год назад
Thank you!
@akashsoren1368
@akashsoren1368 Год назад
Really Well explained and love the cooking. Subscribed. Very Fun to watch.
@Woeden
@Woeden 2 года назад
Fantastic video dude, please share more advanced tips for Python like this!!
@SaishShettytgroxx
@SaishShettytgroxx 2 года назад
This is exactly what I was looking for. Thankss a ton
@PatrickAlphaC
@PatrickAlphaC 2 года назад
Beautiful!
@eugenmalatov5470
@eugenmalatov5470 2 месяца назад
Really amazing, so well explained and funny
@h8handles
@h8handles 2 года назад
Dude please more more more where have you been my whole coding life.
@PatrickAlphaC
@PatrickAlphaC 2 года назад
I'm flattered beyond reason
@sevashpun
@sevashpun 2 года назад
Thanks! I subscribed :D😁
@kareemmahlees3597
@kareemmahlees3597 2 года назад
I watched many videos and read the docs but understandid the best from you
@PatrickAlphaC
@PatrickAlphaC 2 года назад
Glad to hear it :)
@Kaustubhingale952
@Kaustubhingale952 Год назад
This is greatest. I bow in front of you Sir!
@ziyiyang4550
@ziyiyang4550 2 года назад
Thank you for making this concept so straightforward!
@filippomarletta7867
@filippomarletta7867 14 дней назад
thank you, this video has been really helpfull
@galichandreyschool
@galichandreyschool 2 года назад
Very good! :) Thank you!
@AD-cw1ny
@AD-cw1ny 2 года назад
This is the best coding tutorial ever! Before finding it i was wondering what half of these things are. Now it's all clear, just like that! Thanks!
@PatrickAlphaC
@PatrickAlphaC 2 года назад
Perfect!!
@jbusmoove
@jbusmoove 8 месяцев назад
Got a new subscriber. Awesome
@idlenoodle2385
@idlenoodle2385 3 года назад
I didnt come here looking for an amazing channel. but here we are
@PatrickAlphaC
@PatrickAlphaC 3 года назад
😍😍😍
@Flyingnobull
@Flyingnobull Год назад
Great video Patrick! I wonder if you would make similar ones for threading, multi-processing and comparison of all concurrency features.
@rolandandrews7518
@rolandandrews7518 3 года назад
good quality video right there. Synthetic and well explained. Good job man
@PatrickAlphaC
@PatrickAlphaC 3 года назад
Appreciate it! It’s a pretty tricky topic, so glad to hear it makes sense
@sheracore9190
@sheracore9190 2 года назад
It was very useful thanks dude
@PatrickAlphaC
@PatrickAlphaC 2 года назад
Boom!
@rkiacnhg
@rkiacnhg 2 года назад
nice. thanks for this
@45234523452345
@45234523452345 8 месяцев назад
Thanks for sharing ..
@DM_MOTO
@DM_MOTO 2 года назад
Thank you !!
@danielhidefjall5060
@danielhidefjall5060 3 года назад
I like your energy and humor
@PatrickAlphaC
@PatrickAlphaC 3 года назад
I like you liking it
@GurashishSingh1
@GurashishSingh1 Год назад
This was a fun one!
@Whoosh12345
@Whoosh12345 2 года назад
Thank you! This is exactly what I needed. Great tutorial
@legateau5387
@legateau5387 2 года назад
Came back to this when exploring MEV and monitoring the chain for certain txs. All the code I've seen uses JS and async/await so was curious on implementing it in python.
@lapraschaos5152
@lapraschaos5152 2 года назад
so great! love from China
@EldorJ10
@EldorJ10 2 года назад
Great stuff!
@Ji8
@Ji8 Год назад
Thanks man ✨
@raghavarahulkalavala1542
@raghavarahulkalavala1542 Год назад
great explanation
@sujalpadhiyar5731
@sujalpadhiyar5731 Год назад
Patrick great job. I didn't skip even a second till end. I request you to make more interactive videos on python.
@PatrickAlphaC
@PatrickAlphaC Год назад
Glad you enjoyed, and I can do that!
@yerkebulanzhaukenov138
@yerkebulanzhaukenov138 2 года назад
Thank you bro for video so useful
@goodlack9093
@goodlack9093 Месяц назад
that's actually good!
@h00t-h00t
@h00t-h00t 11 месяцев назад
Amazing stuff ❤❤
@frederikdanielsen9314
@frederikdanielsen9314 2 года назад
Thank you
@talibuddeenabdulhakeem
@talibuddeenabdulhakeem 2 года назад
This was great!
@i701Dev
@i701Dev 3 года назад
Oh man what a fun video. You have definitely earned a sub mate!
@PatrickAlphaC
@PatrickAlphaC 3 года назад
Thank you!
@ahmed-samer
@ahmed-samer Год назад
Great explanation, thank you! It would be good too if you mention your learning process to grasp different topics
@PatrickAlphaC
@PatrickAlphaC Год назад
This is a HUGE part of it ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-IS5dAkFSo_Y.html
@hypebeastuchiha9229
@hypebeastuchiha9229 2 года назад
Who says programmers aren't funny? Great Vid!
@idunexist
@idunexist Год назад
funny yet educational!
@dgory
@dgory 2 года назад
Great video!
@sahabtariq4039
@sahabtariq4039 2 года назад
give that man a cookie.
@rezaeivazzadeh4800
@rezaeivazzadeh4800 2 года назад
Wonderful
@SpacebarWarrior
@SpacebarWarrior 2 года назад
Very clear and concise tutorial. Love it!
@agannain
@agannain Год назад
That was an AWESOME
@Tntpker
@Tntpker 2 года назад
Cooking example was on point lol
@PatrickAlphaC
@PatrickAlphaC 2 года назад
Glad you enjoyed
@saidaghzou7064
@saidaghzou7064 Месяц назад
Top explination.
@aspuser1081
@aspuser1081 22 дня назад
Next level😊🎉
@safeer786ful
@safeer786ful 3 года назад
Your channel is going to blow up. Amazing explanation, keep up the good work
@PatrickAlphaC
@PatrickAlphaC 3 года назад
“Blow up” I hope you meant ;)
@safeer786ful
@safeer786ful 3 года назад
@@PatrickAlphaC ofcourse! ☺
@dinimueterihrhurene2772
@dinimueterihrhurene2772 Год назад
cool I m leraning python the cooking is best analogy
@Networkprofessor
@Networkprofessor Год назад
This video makes me hungry and smarter at the same time.
@PatrickAlphaC
@PatrickAlphaC Год назад
yes
@__________________________6910
@__________________________6910 2 года назад
Thanks
@andyhawaii2819
@andyhawaii2819 Год назад
As a c++ guy, I can seriously appreciate this
@fuad471
@fuad471 3 года назад
amazing way of explanation with nicely chosen examples , you have a great teaching style man
@PatrickAlphaC
@PatrickAlphaC 3 года назад
Appreciate it! Hope it was helpful
@tungleanh9993
@tungleanh9993 2 года назад
this guy is just cool ! ^^
@hassanyahyaei2882
@hassanyahyaei2882 3 года назад
That's great and tnx
Далее
Python Asynchronous Programming - AsyncIO & Async/Await
25:57
Understanding Python: Asyncio
19:43
Просмотров 2,6 тыс.
🤘РОК или ПОП?💖
3:20:26
Просмотров 1,7 млн
Asynchronous Web Apps in Python
15:30
Просмотров 28 тыс.
ASYNCIO НА ПРАКТИЧЕСКОМ ПРИМЕРЕ
22:44
Learn Python's AsyncIO in 15 minutes
14:02
Просмотров 49 тыс.
Async for loops in Python
16:36
Просмотров 58 тыс.
This Is Why Python Data Classes Are Awesome
22:19
Просмотров 794 тыс.
Intro to async Python | Writing a Web Crawler
14:23
Просмотров 75 тыс.
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
When you have 32GB RAM in your PC
0:12
Просмотров 133 тыс.