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.7
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.7.tar.gz | 14.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_zatobox-0.3.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:30.7 kB
Release files / python_zatobox-0.3.7.tar.gz
| Download URL | python_zatobox-0.3.7.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea2e5155f20babb41250917e13d28274bdb8ff2d3b7c71057d9ed540f1bf54a1
|
|
BLAKE2b-256 checksum How to use checksums |
ce10d21a08666bc281145e191c47f2a3657b3eeb6cca89402e4c02df203c2f6b
|
| 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.7-py3-none-any.whl
| Download URL | python_zatobox-0.3.7-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
442300ec3c6d509aa9c09bd75b84cd021b6bc3cc0dfea8211b7af1187f390ba2
|
|
BLAKE2b-256 checksum How to use checksums |
f962d53d699cc90e581f52b9ad5b73591674daf8bd518b6fd62c0b999fbef06e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.9.13 Windows/10
|