asyncio Recipes: A Problem-Solution Approach
Get the most out of asyncio and find solutions to your most troubling Python programming problems. This book offers a pragmatic collection of recipes by going beyond online resources and docs to provide guidance on using this complex library. As such, you’ll see how to improve application performance and run computationally intensive programs faster.
asyncio Recipes starts with examples illustrating the primitives that come with the asyncio library, and explains how to determine if asyncio is the right choice for your application. It shows how to use asyncio to yield performance gains without multiple threads, and identifies common mistakes and how to prevent them. Later chapters cover error-handling, testing, and debugging. By the end of this book, you’ll understand how asyncio runs behind the scenes, and be confident enough to contribute to asyncio-first projects.
What You Will Learn
- Discover quirky APIs such as the event loop policies
- Write asyncio code with native coroutines
- Use the ast module to find legacy asyncio code
- Work with contextvars
- See what a async context manager is and why a lot of asyncio APIs use them
Who This Book Is For
Experienced Python developers or hobbyists who want to understand asyncio and speed up their applications by adding concurrency to their toolkit.
This website strictly complies with DMCA Digital Copyright Laws..
Please be clear that we (edownloads.me) do not own copyrights of these e-books. The intention behind sharing these books and educational material is to provide easy access to students, researchers and other readers who don't have access to these books at their local libraries, "thus only for educational purpose". We highly encourage our readers to purchase this content from the respected publishers. If anyone holding copyrights wants us to remove this content, please contact us rightaway. All books and educational material on edownloads.me are free and NOT HOSTED ON OUR WEBSITE. If you feel that your copyrights have been violated, then please contact us immediately. You may send an email to firstname.lastname@example.org for all DMCA / Removal Requests. edownloads.me doesn’t have any material hosted on the server of this page, only links to books that are taken from other sites on the web are published and these links are unrelated to the book server. edownloads.me server doesnot store any type of book or material. No illegal copies are made or any copyright © and / or copyright is damaged or infringed since all material is free on the internet.