Using Asyncio in Python

Understanding Python's Asynchronous Programming Features



Bookstore > Books > Using Asyncio in Python

Price$16.99 - $51.99
Rating
AuthorCaleb Hattingh
PublisherO'Reilly Media
Published2020
Pages166
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101492075337
ISBN-139781492075332
EBook Hardcover Paperback

If you're among the Python developers put off by asyncio's complexity, it's time to take another look. Asyncio is complicated because it aims to solve problems in concurrent network programming for both framework and end-user developers. The features you need to consider are a small subset of the whole asyncio API, but picking out the right features is the tricky part. That's where this practical book comes in.

Veteran Python developer Caleb Hattingh helps you gain a basic understanding of asyncio's building blocks - enough to get started writing simple event-based programs. You'll learn why asyncio offers a safer alternative to preemptive multitasking (threading) and how this API provides a simple way to support thousands of simultaneous socket connections.

Get a critical comparison of asyncio and threading for concurrent network programming; Take an asyncio walk-through, including a quickstart guide for hitting the ground looping with event-based programming; Learn the difference between asyncio features for end-user developers and those for framework developers; Understand asyncio's new async/await language syntax, including coroutines and task and future APIs; Get detailed case studies (with code) of some popular asyncio-compatible third-party libraries.





5 5 4

Similar Books


Kivy - Interactive Applications and Games in Python, 2nd Edition

Kivy - Interactive Applications and Games in Python, 2nd Edition

by Roberto Ulloa

Kivy - Interactive Applications and Games in Python 2nd Edition, will equip you with all the necessary knowledge to create interactive, responsive, and cross-platform applications and games.This book introduces the Kivy language and the necessary components so you can implement a graphical user interface (GUI) and learn techniques to hand...

Price:  $34.61  |  Publisher:  Packt Publishing  |  Release:  2015

Kivy: Interactive Applications in Python

Kivy: Interactive Applications in Python

by Roberto Ulloa

Mobiles and tablets have brought with them a dramatic change in the utility of applications. Compatibility has become essential, and this has increased the kind of interaction that users expect: gestures, multi-touches, animations, and magic pens. Kivy is an open source Python solution that covers these market needs with an easy-to-learn ...

Price:  $20.99  |  Publisher:  Packt Publishing  |  Release:  2013

Practical Computer Vision Applications Using Deep Learning with CNNs

Practical Computer Vision Applications Using Deep Learning with CNNs

by Ahmed Fawzy Gad

Deploy deep learning applications into production across multiple platforms. You will work on computer vision applications that use the convolutional neural network (CNN) deep learning model and Python. This book starts by explaining the traditional machine-learning pipeline, where you will analyze an image dataset. Along the way you will...

Price:  $43.34  |  Publisher:  Apress  |  Release:  2018

Parallel Programming with Python

Parallel Programming with Python

by Jan Palach

Starting with the basics of parallel programming, you will proceed to learn about how to build parallel algorithms and their implementation. You will then gain the expertise to evaluate problem domains, identify if a particular problem can be parallelized, and how to use the Threading and Multiprocessor modules in Python.The Python Parall...

Price:  $13.99  |  Publisher:  Packt Publishing  |  Release:  2014

Programming in Python 3, 2nd Edition

Programming in Python 3, 2nd Edition

by Mark Summerfield

It is more powerful, convenient, consistent, and expressive than ever before. Now, leading Python programmer Mark Summerfield demonstrates how to write code that takes full advantage of Python 3's features and idioms. Programming in Python 3, Second Edition, brings together all the knowledge you need to write any program, use any standard...

Price:  $33.54  |  Publisher:  Addison-Wesley  |  Release:  2009

Introducing Python

Introducing Python

by Bill Lubanovic

Easy to understand and fun to read, Introducing Python is ideal for beginning programmers as well as those new to the language. Author Bill Lubanovic takes you from the basics to more involved and varied topics, mixing tutorials with cookbook-style code recipes to explain concepts in Python 3. End-of-chapter exercises help you practice wh...

Price:  $13.40  |  Publisher:  O'Reilly Media  |  Release:  2014

Clean Python

Clean Python

by Sunil Kapil

Discover the right way to code in Python. This book provides the tips and techniques you need to produce cleaner, error-free, and eloquent Python projects.Your journey to better code starts with understanding the importance of formatting and documenting your code for maximum readability, utilizing built-in data structures and Python dicti...

Price:  $24.27  |  Publisher:  Apress  |  Release:  2019

Introducing Python, 2nd Edition

Introducing Python, 2nd Edition

by Bill Lubanovic

Easy to understand and fun to read, this updated edition of Introducing Python is ideal for beginning programmers as well as those new to the language. Author Bill Lubanovic takes you from the basics to more involved and varied topics, mixing tutorials with cookbook-style code recipes to explain concepts in Python 3. End-of-chapter exerci...

Price:  $32.77  |  Publisher:  O'Reilly Media  |  Release:  2019