Skip to main content

A collection of mini projects for a reactive programming approach

Project description

Reactive Reference

This is a collection of mini projects with the intent to have a more reactive programming approach in Python.

Event

A Producer/Subscriber library with Async capabilities.

Main Entities

EventStream

A stream of data that triggers subscribers on new events. It is structured with Domains in mind, meaning the data can be sent to every subscriber listening or specifically to the Domain of the Producer.

EventSubscriber

A listener to the data emitted by the EventStream. Can listen to multiple Domains at a time, but can only have 1 main Domain.

EventProducer

Producer will emit data to the stream triggering the Subscribers. The data sent via the producer will be encapsulated in an Event object which will be stored in the stream and spread across.

Key Points

  • Each Subscriber can adhere to a ReplayStrategy for late joining
  • Per design only one stream can exist (Singleton)
  • Subscribers can also listen to lifecycle events emitted by the stream

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reactive_reference-0.2.0.tar.gz (115.1 kB view details)

Uploaded Source

Built Distribution

reactive_reference-0.2.0-py3-none-any.whl (143.2 kB view details)

Uploaded Python 3

File details

Details for the file reactive_reference-0.2.0.tar.gz.

File metadata

  • Download URL: reactive_reference-0.2.0.tar.gz
  • Upload date:
  • Size: 115.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.11 Windows/10

File hashes

Hashes for reactive_reference-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5ada75d1fc1a2deb7b14458a62354669c6d30b091759925951caa2772eb418df
MD5 5d2f144dd2e610ceffd0ee12ea994019
BLAKE2b-256 6e7775beb7d83024f316c1bbecc6f972d373cfbc9deb888e9227cb24e236f4e8

See more details on using hashes here.

File details

Details for the file reactive_reference-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for reactive_reference-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eed9eb79d02d93b503a60b3c834ba18b41d44b516f6b9fbda9bec5c74facee44
MD5 1541c0ca17ff3897af6d80e47d48fad5
BLAKE2b-256 321273f0b9fa80242f391b84361222d67aa98fe4a0ba17b780663286ae50deac

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page