A library to make multi-process and multi-machine programs easy to write
Project description
Hive is designed to simplify distributed systems that communicate over messages published to topics. It is designed for robotics/cloud systems, to be simple to use and flexible. The basic worker structure is modelled after ROS.
Example of connecting to MQTT running locally:
from hive.mqtt import HiveMqtt
from hive import HiveWorker
bee = HiveWorker(
host='localhost'
)
publisher = bee.publisher("foo", dict)
bee.subscribe("foo", dict, lambda msg: print(msg))
publisher.publish({
"id": "test",
"x": 1.5,
"list_foo": [1, 2, 3]
})
bee.spin()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hive-py-0.0.7.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file hive-py-0.0.7.tar.gz
.
File metadata
- Download URL: hive-py-0.0.7.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using 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.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
86328eb8a9a8352f98e62bd4f5bf82beef9ace0812a80ec1fbe5c06492e139d1
|
|
MD5 |
91edc3731f561aa38f3d2bc6c30bc18b
|
|
BLAKE2b-256 |
9ca98e4bc217b6df6982cc1097b11810dd175854c3df62e00a33a75afdd51bfe
|
File details
Details for the file hive_py-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: hive_py-0.0.7-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using 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.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
fd558320e4279f611df4a4cf0cc1e3c635d60c5b045721c90623e60421f81582
|
|
MD5 |
dd11450bf0e9840718ecdb4ee310ce88
|
|
BLAKE2b-256 |
7762ba37af3f20c43ec488a5dde92d314d4182205f479ae0d3af48b53528498f
|