Gå direkt till innehållet
asyncio Recipes
asyncio Recipes
Spara

asyncio Recipes

Lägsta pris på PriceRunner
Läs i Adobe DRM-kompatibel e-boksläsareDen här e-boken är kopieringsskyddad med Adobe DRM vilket påverkar var du kan läsa den. Läs mer
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 LearnDiscover quirky APIs such as the event loop policiesWrite asyncio code with native coroutines  Use the ast module to find legacy asyncio codeWork with contextvars See what a async context manager is and why a lot of asyncio APIs use themWho This Book Is ForExperienced Python developers or hobbyists who want to understand asyncio and speed up their applications by adding concurrency to their toolkit.
Undertitel
A Problem-Solution Approach
ISBN
9781484244012
Språk
Engelska
Utgivningsdatum
2019-05-21
Förlag
APRESS
Tillgängliga elektroniska format
  • Epub - Adobe DRM
Läs e-boken här
  • E-boksläsare i mobil/surfplatta
  • Läsplatta
  • Dator