Making software run optimized, lazy, performant, and concurrent without errors is hard. You will learn to master the use of generators and coroutines that are the keystone to async concurrency and lazy computations.
Life is about waiting, so how about for once letting Python wait for you? Generators and coroutines are Python's main ingredients for lazy programming and letting code run concurrently in the same thread. In this course, Advanced Generators and Coroutines, you will learn foundational knowledge of generators and coroutines in Python. First, you will learn generators. Next, you will discover how generators can be chained in complex data pipelines. Finally, you will explore how to run code concurrently and single-threaded with coroutines and event loops. When you’re finished with this course, you will have the skills and knowledge of generators and coroutines needed to make features run concurrently and optimized easier than ever before.
Axel Sirota has a Masters degree in Mathematics with a deep interest in Deep Learning and Machine Learning Operations. After researching in Probability, Statistics and Machine Learning optimization, he is currently working at JAMPP as a Machine Learning Research Engineer leveraging customer data for making accurate predictions at Real Time Bidding.
Course Overview Hi, everyone. My name is Axel Sirota. Welcome to my course, Advanced Generators and Coroutines. I am a machine learning engineer at ASAPP, ML fanatic, Python Overtime lover, and I am very excited to present this to you. Life is about waiting. So how about for once letting Python wait for you? Generators and Coroutines are Python's main ingredients for lazy programming and letting code run concurrently in the same thread, but they are so much more. While combining them, we will discover new paradigms of programming that push these concepts to the extreme. Our journey begins at the definition of generators as in Python 2.2, and we will revisit the value added by yielding. Next, we will learn about generator chaining and how they can enable pipelines that process infinite data in a super scalable way only to go deep dive into coroutines, the final ingredient to decouple generators from iteration. Finally, you will explore about concurrency with coroutines and ML loops instead of threads. When you finish this course, you will have a foundational knowledge of generators and coroutines in Python that will help you make features run concurrently and optimize easier than ever before. I hope you'll join me on this journey to learn generators and coroutines with the Advanced Generators and Coroutines course at Pluralsight.