Book Image

Daniel Arbuckle's Mastering Python

By : Daniel Arbuckle
Book Image

Daniel Arbuckle's Mastering Python

By: Daniel Arbuckle

Overview of this book

Daniel Arbuckle's Mastering Python covers the basics of operating in a Python development environment, before moving on to more advanced topics. Daniel presents you with real-world solutions to Python 3.6 and advanced-level concepts, such as reactive programming, microservices, ctypes, and Cython tools. You don't need to be familiar with the Python language to use this book, as Daniel starts with a Python primer. Throughout, Daniel highlights the major aspects of managing your Python development environment, shows you how to handle parallel computation, and helps you to master asynchronous I/O with Python 3.6 to improve performance. Finally, Daniel will teach you the secrets of metaprogramming and unit testing in Python, helping you acquire the perfect skillset to be a Python expert. Daniel will get you up to speed on everything from basic programming practices to high-end tools and techniques, things that will help set you apart as a successful Python programmer.
Table of Contents (13 chapters)

Building a simple reactive programming framework

You have gained an understanding of what reactive programming means in a theoretical way. Now, we're going to get very concrete and build a simple reactive programming system, then build a demo so we can watch it in action. The roots of formalized reactive programming are in statically typed languages, particularly C#. That's of little concern to us as users of a language based around dynamic typing, but it does mean that the standard presentation of these ideas is heavily intertwined with types, templates, interfaces, and anonymous functions. We'll be a little less Pythonic here and perhaps a little more C#-ish. That said, let's move on to the coding.

Observers

...