RxPY lets Python programs compose asynchronous event streams with Observables, operators, and schedulers. It supports fluent chaining and pipe-style composition.
Overview
ReactiveX for Python (RxPY) models asynchronous and event-based programs using observable sequences and query operators. Developers subscribe to streams and apply operators such as map and filter to transform events.
The library supports both fluent method chaining and functional pipe syntax, so teams can pick a style or mix approaches in one pipeline. Installation is via pip on Python 3.11 or newer.
Documentation covers operator references and migration notes from older RxPY major versions. The design mirrors other ReactiveX ports, using schedulers to coordinate concurrency on streams.
Typical examples start from rx.of sequences, pipe transformations, and print results in subscribe callbacks.
Key features
- Observable event streams
- Pipeable operators
- Fluent method chaining
- Scheduler concurrency
- Python 3.11 plus support
- Migration guides
Use cases
- Event-driven Python apps
- Stream processing pipelines
- UI or socket event handling
- Composing async data flows