Python Reactive Programming
Synopsis
Create and implement reactive applications with Python
About This Book
* See the intricate details and advantages associated with reactive programming
* There are broad spectrums of topics covered to help new Python developers refine their skills as application developer
* This step-by-step comprehensive guide will help you build fast, concurrent applications
Who This Book Is For
This book is for Python developers who are planning to build a reactive application. Knowledge of Python is essential for this book.
What You Will Learn
* Understand event-based and asynchronous programming
* Become acquainted with Reactive extensions for Python
* Explore the mechanics of a popular RP programming tool (RxPY)
* Create, compose, process, and listen to event streams
* See how to deal with concurrency and scheduling
* Use Reactive Programming with popular Python frameworks such as Qt and Tornado
* Understand virtual time and see how to unit test reactive code
* See how to deal with resource management and error handling
* Build custom operators to target specific needs with your application
* Comprehend the difference between hot and cold event streams
In Detail
Reactive Programming (RP) is central to many concurrent systems, but is famous for its steep learning curve where many developers feel like they're hitting a wall. This practical guide will take you steadily through an exploration of RP.
We'll cover the major libraries on Python reactive extensions (RxPY). We'll show you the role of asynchronous programming and event-based programming in detail to build reactive extensions. RP comes in many flavours and we will look at some of them in this book. We present several examples of Reactive applications implemented in various frameworks, so you'll develop an understanding of the subject. The book not only guides you about the 140 operators in Rx, but will focus on making you understand reactive programming and the most common operators.
By the end of the book, you will be equipped to solve real-world problems and have a clear understanding of when and how you should use the different approaches demonstrated. You will start to see the world with new eyes and will not be able to code things the “old” way anymore.
Publisher information
- Publisher: Packt Publishing Limited
- ISBN: 9781786463449
- Number of pages: 416
- Dimensions: 235 x 191 mm
- Languages: English


















