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.0.tar.gz
(18.1 kB
view hashes)
Built Distribution
Close
Hashes for state_signals-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2c6e31b3390a0c8d12491163ebd513ff49f907a5fcb6478ed34b9cf0b4694ba |
|
MD5 | 70cc205c97b9e59005f833bdb6813da7 |
|
BLAKE2b-256 | a2146e4fb5569ca842f82cc2713b65709e01cbfa5d92511a0f70f7c17a72c346 |