Async Techniques and Examples in Python Transcripts
Chapter: Built on asyncio
Lecture: Python async landscape: asyncio derivatives
0:00 In this chapter, we're going to talk about libraries
0:02 that are built on top of async and await.
0:05 And I'm not talking about just libraries like
0:07 uMongo that let you use async in a way with Mongodb
0:11 but libraries that are specifically built as frameworks
0:14 for creating asynchronous programs that themselves
0:18 use things like asyncio and async and await.
0:21 So, there's a bunch of these out there
0:23 we're going to cover a couple of them
0:25 more as an example of a few great libraries you could use
0:29 not an exhaustive list of all of them, of course.
0:33 Now, I could either gray pretty much everything out
0:36 or I could line up almost everything.
0:37 As you'll see, we're going to touch
0:38 on many of the things before.
0:41 So, we're definitely built on top of async
0:43 and that's going to let us do more at once.
0:45 One library were going to work with, unsync
0:47 actually works with multiprocessing threads and asyncio
0:50 but it's primarily an asyncio type of library.
0:53 And trio is built entirely on asyncio.
0:57 With these two libraries, you can both do more at once
1:00 and do them faster.
1:02 But the reason their in this course is because
1:05 they let you do these things more easily.
1:08 They let you coordinate them better
1:10 they put a unifying API on top of them
1:12 they simplify things, stuff like that.
1:15 They both add their own special capabilities
1:18 so it's not like we're doing two takes on the same thing.
1:21 They're actually quite different
1:22 in their goals and what they do.
1:24 I think you find unsync and trio to be excellent
1:26 additions to the core libraries you're already
1:29 familiar with from earlier in this course.