Using Asyncio in Python
Understanding Python's Asynchronous Programming Features
Price | $16.99 - $30.51
|
Rating | |
Author | Caleb Hattingh |
Publisher | O'Reilly Media |
Published | 2020 |
Pages | 166 |
Language | English |
Format | Paper book / ebook (PDF) |
ISBN-10 | 1492075337 |
ISBN-13 | 9781492075332 |
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.
- Caleb Hattingh
4 5 151
Similar Books
by Moshe Zadka
Take advantage of Python to automate complex systems with readable code. This new edition will help you move from operations/system administration into easy-to-learn coding.You'll start by writing command-line scripts and automating simple DevOps-style tasks followed by creating reliable and fast unit tests designed to avoid incident...
Price: $26.25 | Publisher: Apress | Release: 2022
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
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
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
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
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 sta...
Price: $12.78 | Publisher: Addison-Wesley | Release: 2009
Annotated Algorithms in Python
by Massimo Di Pierro
This book is assembled from lectures given by the author over a period of 10 years at the School of Computing of DePaul University. The lectures cover multiple classes, including Analysis and Design of Algorithms, Scientific Computing, Monte Carlo Simulations, and Parallel Algorithms. These lectures teach the core knowledge required by an...
Price: $33.89 | Free ebook | Publisher: Self-publishing | Release: 2013
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: $5.19 | Publisher: O'Reilly Media | Release: 2014