Python Reactive Programming
File Size: 3584 KB.
Print Length: 416 pages.
Formats: PDF, ePUB & mobi.
(4.6 / 5) (6 votes).
Python Reactive Programming
- 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
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.
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
About the Author
Dag Brattli is a senior software engineer at the FAST team within Outlook and Office 365 in the Applications and Services Group in Microsoft. He has been using Python since version 1.5, and is the author of the Reactive Extension for Python (https://github.com/ReactiveX/RxPY).
In his current role, he works with the design and implementation of reactive systems and services in the cloud. At work, he uses C# but likes to play with Python at weekends.
He holds a Master’s degree from the Department of Computer Science at the Arctic University of Norway and in his spare time, he loves cycling in the arctic landscape around his hometown of Tromsø.