Package for easy management of state/event signal publishing, subscribing, and responding
Project description
State/Event Signal Module
A python package for handling state/event signals
Adds two new, simple-to-use objects:
- SignalExporter (for publishing state signals and handling subscribers + responses)
- SignalResponder (for receiving state signals, locking onto publishers, and publishing responses)
Also provides two dataclass specifications:
- Signal (state signal protocol definition)
- Response (response protocol definition)
Combining redis pubsub features with state signal + response protocols, these additions make state signal publishing, subscribing, receiving, and responding incredibly easy to integrate into any python code.
See full documentation here
Installation
The state-signals PyPI package is available here
To install, run pip install state-signals
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
state-signals-0.1.4.tar.gz
(18.1 kB
view hashes)
Built Distribution
Close
Hashes for state_signals-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3716dec86141af8d6c7f7786a271db7622e8c266d9e8e852f03f25bf2a0eed97 |
|
MD5 | 0bc89b3dc4eb8731f78d1e168dd29292 |
|
BLAKE2b-256 | 0cf5d32aca0692654c7c2c6d92c218b6db3d4bc5a0fdf6961e4f8ea7118e17bb |