Tous nos rayons

Déjà client ? Identifiez-vous

Mot de passe oublié ?

Nouveau client ?

CRÉER VOTRE COMPTE
asyncio Recipes: A Problem-Solution Approach
Ajouter à une liste

Librairie Eyrolles - Paris 5e
Indisponible

asyncio Recipes: A Problem-Solution Approach

asyncio Recipes: A Problem-Solution Approach

Mohamed Mustapha Tahrioui

315 pages, parution le 21/05/2019

Résumé

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.
asyncio Recipes

Chapter 1: Preparing for the Recipes

Chapter 2: Working with Event Loops

Chapter 3: Working with Coroutines and async/await

Chapter 4: Working with async Generators

Chapter 5: Working with async Context Manager

Chapter 6: Communication Between asyncio Components

Chapter 7: Synchronization Between asyncio Components

Chapter 8: Improving asyncio Applications

Chapter 9: Working with Network Protocols

Chapter 10: Preventing Common asyncio Mistakes

Appendix A: Setting up Your Environment
Appendix B: Event Loops OS Specifics



Mohamed T. is a developer of 7 years and an enthusiastic Pythonista.Using asyncio since it's advent in the 3.4 Python version as the backbone of the Smartspeaker project of the Deutsche Telekom he is well suited to show how to use asyncio in a production setting.When he is not hacking on asyncio (or bugging Yuri with his asyncio questions) he prefers to familiarise himself with the Yocto build system or read kernel changelogs.

Caractéristiques techniques

  PAPIER
Éditeur(s) Apress
Auteur(s) Mohamed Mustapha Tahrioui
Parution 21/05/2019
Nb. de pages 315
EAN13 9781484244005

Avantages Eyrolles.com

Livraison à partir de 0,01 en France métropolitaine
Paiement en ligne SÉCURISÉ
Livraison dans le monde
Retour sous 15 jours
+ d'un million et demi de livres disponibles
satisfait ou remboursé
Satisfait ou remboursé
Paiement sécurisé
modes de paiement
Paiement à l'expédition
partout dans le monde
Livraison partout dans le monde
Service clients sav.client@eyrolles.com
librairie française
Librairie française depuis 1925
Recevez nos newsletters
Vous serez régulièrement informé(e) de toutes nos actualités.
Inscription