Build the package
build the package poetry build
publish the package to python poetry publish
How to use the the python package
Example how to use vanubus for a zatobox device with python.
More information about the vanubus protocol can be found in the developer documentation. https://web-documentation.zatobox.com/docs/developer/vanubus
from python_zatobox.vanubus import Vanubus
host = "192.168.68.102" # Replace with the actual IP address of the device
from python_zatobox.vanubus import Vanubus
ip_adress = "192.168.68.103"
client = Vanubus(ip_adress)
infodata =client.request_all_info()
if infodata == None:
return
while True:
sensorids = []
for sensordata in infodata.sensordata:
sensorids.append(sensordata.id)
data = client.getdata(sensorids)
print(data[0])
time.sleep(5)
Release files for python-zatobox 0.3.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_zatobox-0.3.6.tar.gz | 14.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_zatobox-0.3.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:30.7 kB
Release files / python_zatobox-0.3.6.tar.gz
| Download URL | python_zatobox-0.3.6.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1c7267f7a4085764ae9558f9a54439ab70d921095fa1fbe841ecb088120df29
|
|
BLAKE2b-256 checksum How to use checksums |
04859cb365a4cfc7fdb80fcaa68cd2fb1ef50d3fdf7d6920cd6fe2df868f2430
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.9.13 Windows/10
|
Release files / python_zatobox-0.3.6-py3-none-any.whl
| Download URL | python_zatobox-0.3.6-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80404eb3c31099ca32dab550a569a3ef26435e45a3e965d2161611a002c9a6f0
|
|
BLAKE2b-256 checksum How to use checksums |
ce68d706af7ab2fadef526a115476b9be3579b2eefa6667579a8d6d1e63f13f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.9.13 Windows/10
|