Package for easy management of state/event signal publishing, subscribing, and responding
Project description
state-signals
A temporary repo for testing packaging and getting a demo package available
NOTE: License will likely be changed when moved to official repo, just in place here for safety in meantime
State/Event Signal Module
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 code.
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.1.tar.gz
(18.1 kB
view hashes)
Built Distribution
Close
Hashes for state_signals-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5cb2ce969479b0417078144fea5cefb14e4e0d86d30a2c8ae889054ef41df58 |
|
MD5 | f5902c0fd239c6a507490e014aee4c69 |
|
BLAKE2b-256 | 3c1739c45d8809c2a7adee07503473f1db3a95b81b4c9f1bd1fc99383b1b22fe |