Single-thread dict-based messenger inspired by the Robot Operation System.
Project description
dictmsgr
Dict Messenger inspired by Robot Operation System, publish topic by setting item to a dict-like Context
object. Callback subscription can be registered to be used in a single thread. The callback function should have signature callback(ctx, msg)
and will be called when Context.__setitem__()
is fired. This dict is designed to function like a project-wide globals() that you can read&write. '/' is used to specify multi-level nested dict keys.
pip install dictmsgr
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
Built Distribution
File details
Details for the file dictmsgr-0.2.tar.gz
.
File metadata
- Download URL: dictmsgr-0.2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48c7cb94b94e7318d1bf48eb96bd0c7382210de5bf005fb902b4f8c594a89cbb |
|
MD5 | be3e46d2a7d9fe943d2a075f385e9436 |
|
BLAKE2b-256 | 7ccf25c6deba4332367362a8e066b4b3e257a8766a0321ef527aea547101b51a |
File details
Details for the file dictmsgr-0.2-py3-none-any.whl
.
File metadata
- Download URL: dictmsgr-0.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d051268e82c149c615bda69507e92ed414da47de17ca2658aa9f57e72ae82df6 |
|
MD5 | 55ab04bcbbc0f80b6622f8d640bfb33b |
|
BLAKE2b-256 | 939475e22d119a8622d570468f37fd344f0970a7e94a8684ed62e487978ec423 |