Skip to content

Commit 6dc5061

Browse files
first commit
0 parents  commit 6dc5061

31 files changed

Lines changed: 787 additions & 0 deletions

‎.gitignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# git ignore
2+
**/.DS_Store
3+
.DS_Store

‎README.md‎

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Python Asyncio Jump-Start
2+
3+
![Python Asyncio Jump-Start](cover.png)
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+
>