Coder Social home page Coder Social logo

packtpublishing / hands-on-reactive-programming-with-python Goto Github PK

View Code? Open in Web Editor NEW
71.0 7.0 22.0 33.14 MB

Hands-On-Reactive-Programming-with-Python, published by Packt

License: MIT License

Python 96.59% Shell 3.14% Dockerfile 0.27%
python python3 reactivex rxpy cyclotron reactive-programming reactive-extensions asyncio

hands-on-reactive-programming-with-python's Introduction

Hands-On Reactive Programming with Python

This is the code repository for Hands-On Reactive Programming with Python, published by Packt.

A comprehensive guide to help you understand the principles of Reactive and asynchronous programming and its benefits

About this repository

The master branch of this repository contains code that has been updated to work with rxpy v4 and cyclotron v2.

The code updated for rxpy v3 and cyclotron v1 is available on the ed1/rxpy3 branch.

The original code published with the book is available on the ed1/rxpy1 branch.

What is this book about?

Reactive programming is central to many concurrent systems, but it’s famous for its steep learning curve, which makes most developers feel like they're hitting a wall. With this book, you will get to grips with reactive programming by steadily exploring various concepts

This book covers the following exciting features:

  • Structure Python code for better readability, testing, and performance
  • Explore the world of event-based programming
  • Grasp the use of the most common operators in Rx
  • Understand reactive extensions beyond simple examples
  • Master the art of writing reusable components
  • Deploy an application on a cloud platform with Docker and Traefik

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

rx.from_(...).pipe(
    ops.filter(),
    ops.distinct(),
    ops.take(20),
    ops.map(...),
)

Following is what you need for this book:

This book is intended for software developers who are already at ease with Python and have heard about reactive programming but have not had a chance to work with it yet. However, no expertise is needed beyond that. Each chapter of the book describes new notions step by step so that the reader can gradually gain the necessary knowledge to understand the chapters that follow.

Hopefully, this will not be a read once and put on the shelf book. The operators documentation and descriptions of ways to tackle common problems should make this book regularly handy, even after being fully read.

With the following software and hardware list you can run all code files present in the book (Chapter 1-12).

Software and Hardware List

Chapter Software required OS required
All Python 3.7 Linux, macOS, or Windows

Related products

Get to Know the Author

Romain Picard is currently a data science engineer. He has been working in the digital TV and telecommunications industry for 20 years. His daily work consists of data manipulation, machine learning model training, and model deployment. Almost all of these tasks are based on Python code, and he uses reactive programming whenever it's applicable. He was previously a media software architect and a software developer. In these previous positions, he designed and developed TV and OTT players that have been used in tens of millions of set top boxes. Romain is especially interested in algorithms, looking for the most suitable algorithm for each use case.

Suggestions and Feedback

Click here if you have any feedback or suggestions.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781789138726

hands-on-reactive-programming-with-python's People

Contributors

mainro avatar packt-itservice avatar packtutkarshr avatar romydias avatar zeeyan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

hands-on-reactive-programming-with-python's Issues

Installation instructions update for poetry

Can the install instructions be updated for poetry?

I am trying to install and run the examples in Chapter 12 using poetry.
I've added a section tool.poetry to pyproject.toml in the Chapter 12 cloned git repo for rmux_server

Typing poetry install after adding the missing section tool.poetry yields no error, but then doing the following:
cd rmux_server python3 tcp_server.py

yields nothing running.

I've not used poetry before, so apologies if this is simple.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.