Python Asyncio Mastery
Python Asyncio Mastery
Discover Modern Asynchronous Programming In Python With Asyncio
Asynchronous programming is built into Python.
The language directly supports coroutines as first-class objects with the async and await expressions for asynchronous programming. The asyncio module provides tools for creating and managing asynchronous task and for developing non-blocking I/O client and server programs.
Asyncio is not coming, it's here.
Skills in asyncio are in demand and the demand is growing.
Asynchronous programming and asyncio are how we develop modern scalable event-driven programs in Python. This paradigm dominates modern Python web development, API development, and network programming, and there are few Python programs that do not touch on these areas.
Developing concurrent programs using coroutines and the asyncio module API can be very challenging, especially for Python developers who are new to asynchronous programming.
Introducing: "Python Asyncio Mastery". A new book designed to teach you asyncio in Python, super fast!
You will get fast-paced tutorials showing you how to develop asyncio programs on advanced topics, including:
- How to define, schedule, execute, check the status, and get results from asynchronous tasks.
- How to manage groups of asynchronous tasks, including waiting for tasks, getting results, grouping tasks and using timeouts.
- How to use more advanced features of tasks such as shielding, sleeping, waiting for, and executing blocking tasks.
- How to define, create, and use asynchronous iterators, generators, context managers, and queues.
- How to safely synchronize and coordinate the behavior of coroutines with mutex locks, semaphores, barriers, and more.
- How to run commands and perform non-blocking inter-process communication with subprocesses.
- How to develop clients and servers with socket programming and perform non-blocking reads and writes.
Each tutorial is carefully designed to teach one critical aspect of how to use asyncio in your Python programs.
Learn Python asyncio correctly, step-by-step.
Table of Contents
The book is divided into 7 parts and 36 tutorials, they are:
Part I: Asyncio
- Tutorial 01: What is Asyncio
- Tutorial 02: What is a Coroutine
- Tutorial 03: Asyncio Hello World
Part II: Asyncio Tasks
- Tutorial 04: What Are Tasks
- Tutorial 05: Task Name
- Tutorial 06: Task Status
- Tutorial 07: Task Cancellation
- Tutorial 08: Task Results
- Tutorial 09: Task Exceptions
- Tutorial 10: Task Done Callbacks
- Tutorial 11: Task Done Callbacks
- Tutorial 12: Main and Current Task
- Tutorial 13: All Tasks
Part III: Multiple Tasks
- Tutorial 14: Gather Tasks
- Tutorial 15: Wait on Tasks
- Tutorial 16: Tasks As Completed
- Tutorial 17: Task Group
- Tutorial 18: Tasks with Timeouts
Part IV: More Tasks
- Tutorial 19: Shield Tasks
- Tutorial 20: Sleep Tasks
- Tutorial 21: Wait For Tasks
- Tutorial 22: Blocking Tasks
Part V: Structure
- Tutorial 23: Asynchronous Iterators
- Tutorial 24: Asynchronous Generators
- Tutorial 25: Asynchronous Context Managers
- Tutorial 26: Asynchronous Queues
Part VI: Synchronization
- Tutorial 27: Locks
- Tutorial 28: Events
- Tutorial 29: Conditions
- Tutorial 30: Semaphores
- Tutorial 31: Barriers
Part VII: Streams
- Tutorial 32: Subprocesses
- Tutorial 33: Streams
- Tutorial 34: Check Website Status
- Tutorial 35: Servers
- Tutorial 36: Chat Client and Server
Learn more about this book here:
How to Buy
- Click the "I want this!" button (in the upper right)
- Choose Credit Card or PayPal and complete the order form then click the "Pay" button.
- You will be redirected to a webpage where you can download your bundle immediately (you will also get an email with the download link, just in case you need it).
About the Author
Jason Brownlee, Ph.D. helps Python developers bring modern concurrency methods to their projects with hands-on tutorials.
Jason loves Python Concurrency. It's all he does. It’s his main thing.
Jason has:
- Read all the books on Python concurrency.
- Used all of the Python concurrency APIs in the standard library.
- Written 500+ tutorials and 12+ books on Python concurrency.
Learn more at SuperFastPython.com
Jason is a software engineer and research scientist with a background in artificial intelligence and high-performance computing. He has authored more than 20 technical books on machine learning and has built, operated, and exited online businesses.
See his LinkedIn profile here:
- Jason Brownlee on LinkedIn (follow him!)
Any Questions?
Hi, Jason here, do you have any questions?
Contact me directly at any time about this product or Python concurrency generally. I'm here to help as best I can.
You can send an email directly to my inbox via:
You'll get a .zip download containing both ebook formats (pdf and epub) and all .py code files.