Check nearby libraries
Buy this book
This edition doesn't have a description yet. Can you add one?
Check nearby libraries
Buy this book
Edition | Availability |
---|---|
1
Using Asyncio in Python: Understanding Python’s Asynchronous Programming Features
2020, O'Reilly
ebook
in English
1492075337 9781492075332
|
aaaa
|
2
Using Asyncio in Python: Understanding Python's Asynchronous Programming Features
2020, O'Reilly Media, Incorporated
in English
1492075337 9781492075332
|
zzzz
|
Book Details
First Sentence
"The most common question I receive about Asyncio in Python 3 is this: “What is it, and what do I do with it?”"
Table of Contents
Preface.
1. Introducing Asyncio
The Restaurant of ThreadBots
Epilogue
What Problem Is Asyncio Trying to Solve?
2. The Truth About Threads
Benefits of Threading
Drawbacks of Threading
Case Study: Robots and Cutlery
3. Asyncio Walk-Through
Quickstart
The Tower of Asyncio
Coroutines
* The New async def Keywords
* The New await Keyword
Event Loop
Tasks and Futures
* Create a Task? Ensure a Future? Make Up Your Mind!
Async Context Managers: async with
* The contextlib Way
Async Iterators: async for
Simpler Code with Async Generators
Async Comprehensions
Starting Up and Shutting Down (Gracefully!)
* What Is the return_exceptions=True for in gather()?
* Signals
* Waiting for the Executor During Shutdown
4. 20 Asyncio Libraries You Aren’t Using (But…Oh, Never Mind)
Streams (Standard Library)
* Case Study: A Message Queue
* Case Study: Improving the Message Queue
Twisted
The Janus Queue
aiohttp
* Case Study: Hello World
* Case Study: Scraping the News
ØMQ (ZeroMQ)
* Case Study: Multiple Sockets
* Case Study: Application Performance Monitoring
asyncpg and Sanic
* Case Study: Cache Invalidation
Other Libraries and Resources
5. Concluding Thoughts
A. A Short History of Async Support in Python
B. Supplementary Material
Index.
Edition Notes
Contributors
The Physical Object
ID Numbers
Community Reviews (1)
Feedback?
Pace 1
Medium paced
100%
Clarity 1
Well organized
50%
Clearly written
50%
Difficulty 1
Intermediate
100%
Breadth 1
Focused
50%
Introductory
50%
Genres 1
How-to
33%
Nonfiction
33%
Technical
33%
Mood 1
Informative
100%
Impressions 1
Recommend
100%
Length 1
Medium
100%
Credibility 1
Accurate
50%
Outdated
50%
Features 1
Table of contents
20%
Index
20%
Illustrations
20%
Appendix
20%
Chapters
20%
Style 1
Technical
100%
Purpose 1
How-to
33%
Problem solving
33%
Learn about
33%
August 22, 2024 | Edited by Freso | Edited without comment. |
August 26, 2020 | Created by ImportBot | import new book |