Datahub core
Project description
Datahub-py
Pip version of Datahub core
Emitter focused for now, with buffered queue if RabbitMQ isn't running on the local network, rabbitMQ auto-connect, buffer delivery on connection.
Service auto-discovery on the entire wifi network via /specs endpoint
Project Integration
from datahub_py import Project
import config
project = Project(config)
project.beacon.emit("my_queue", { "hello": "world" })
project.beacon.helper.get_local_ip_address()
project.beacon.helper.find_emitters_and_consumers()
project.beacon.helper.find_on_ip("192.168.0.3")
project.beacon.helper.get_available_port()
project.beacon.helper.get_rabbitmq_local_ip()
project.beacon.callService(address, port, endpoint, params)
Build & deploy from source
pip install -e .
python setup.py sdist
twine upload dist/datahub_py-0.0.14.tar.gz
twine upload dist/datahub_py-{version}.tar.gz
pip uninstall datahub_py && pip install datahub_py
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
datahub_py-0.0.15.tar.gz
(8.0 kB
view details)
File details
Details for the file datahub_py-0.0.15.tar.gz.
File metadata
- Download URL: datahub_py-0.0.15.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99ae8eb6f07634ffda20cec456b7adfd0ea49984fda20b96326272efc2b8718c
|
|
| MD5 |
37ddfa1c8196531f2e8290f0ddd7d516
|
|
| BLAKE2b-256 |
0d13c1a24e0138577d2a551f085f999bd8bc06814e5291bd15f04a9ae6100aab
|