Pre-release
This release is a pre-release and may not be stable for production use.
Heraut
Heraut, the herald of pythonic message passing.
A python 3.6+ package for message passing between threads and processes.
Minimal example:
Sending Information
from src import heraut
# Initialize the sender, once per process per sender
sender = heraut.Sender(name='process A')
# Send the message
sender.send(message='hello world', label='', target='process B')
# Tell the listner no more messages will be coming.
sender.stop_listener(target='process B')
Recieving Information
from src import heraut
listener = heraut.Listener()
flag = True
while flag and listener.listening():
# get the message
flag, message, label, metadata = listener.get_message()
# do something with the message
print(message)
# Shut down the listner.
listener.end()
Release files for heraut 0.0.1.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| heraut-0.0.1.dev1.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| heraut-0.0.1.dev1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / heraut-0.0.1.dev1.tar.gz
| Download URL | heraut-0.0.1.dev1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee68755a83eb3428425d94d6425fecc08be265bd99d5e160c5512f6c04ba9eb6
|
|
BLAKE2b-256 checksum How to use checksums |
388533d062548980cb68ea50a1604cb93ecd21b14e5a7773cb132d2a533bb0c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10
|
Release files / heraut-0.0.1.dev1-py3-none-any.whl
| Download URL | heraut-0.0.1.dev1-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34f7d19d9f1e3e32b16389032c84f81a2a2c9a42972affa682ad3b13e41410bc
|
|
BLAKE2b-256 checksum How to use checksums |
60b09152364c9a340fd57869ad794b5b986cdd65e1dad1e2f6b49088c66ad4b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.10
|