|
| 1 | +# Python Asyncio Jump-Start |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | +* <https://github.com/SuperFastPython/PythonAsyncioJumpStart> |
| 6 | + |
| 7 | +This repository provides all source code for the book: |
| 8 | + |
| 9 | +* **Python Asyncio Jump-Start**: _Asynchronous Programming And Non-Blocking I/O With Coroutines_, Jason Brownlee, 2022. |
| 10 | + |
| 11 | + |
| 12 | +## Source Code |
| 13 | +You can access all Python .py files directly here: |
| 14 | + |
| 15 | +* [src/](src/) |
| 16 | + |
| 17 | + |
| 18 | +## Get the Book |
| 19 | + |
| 20 | +You can learn more about the book here: |
| 21 | + |
| 22 | +* Coming soon... |
| 23 | + |
| 24 | + |
| 25 | +### Book Blurb |
| 26 | + |
| 27 | +>Asyncio is an exciting new addition to Python. |
| 28 | +> |
| 29 | +>It allows regular python programs to be developed using the asynchronous programming paradigm. |
| 30 | +> |
| 31 | +>It includes changes to the language to support coroutines as first-class objects, such as the `async def` and `await` expressions, and the lesser discussed `async for` and `async with` expressions for asynchronous iterators and context managers respectively. |
| 32 | +> |
| 33 | +>Asyncio is the way to rapidly develop scalable Python programs capable of tens or hundreds of thousands of concurrent tasks. |
| 34 | +> |
| 35 | +>Developing concurrent programs using coroutines and the asyncio module API can be very challenging for beginners, especially those new to asynchronous programming. |
| 36 | +> |
| 37 | +>Introducing: "Python Asyncio Jump-Start". A new book designed to teach you asyncio in Python, super fast! |
| 38 | +> |
| 39 | +>You will get a rapid-paced, 7-part course to get you started and make you awesome at using asyncio. |
| 40 | +> |
| 41 | +>Including: |
| 42 | +> |
| 43 | +>* How to define, schedule, and execute asynchronous tasks as coroutines. |
| 44 | +>* How to manage groups of asynchronous tasks, including waiting for al tasks, the first that, or the first task to fail. |
| 45 | +>* How to define, create, and use asynchronous iterators, generators, and context manages |
| 46 | +>* How to share data between coroutines with quests and how to synchronize coroutines to make code coroutine-safe. |
| 47 | +>* How to run commands as subprocesses and how to implement asynchronous socket programming with streams. |
| 48 | +>* How to develop a port scanner that is 3,000+ times faster than the sequential version. |
| 49 | +> |
| 50 | +>Each of the 7 lessons was carefully designed to teach one critical aspect of asyncio, with explanations, code snippets, and worked examples. |
| 51 | +> |
| 52 | +>Each lesson ends with an exercise for you to complete to confirm you understood the topic, a summary of what was learned, and links for further reading if you want to go deeper. |
| 53 | +> |
| 54 | +>Stop copy-pasting code from StackOverflow answers. |
| 55 | +> |
|