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.8
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.8.tar.gz | 15.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_zatobox-0.3.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:31.9 kB
Release files / python_zatobox-0.3.8.tar.gz
| Download URL | python_zatobox-0.3.8.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b41986434b7e1df8df81cf87a6fb60354afde411bff096c8f4fe85e3b1cf447
|
|
BLAKE2b-256 checksum How to use checksums |
65903d70763dd88ff4db5bc47eb65ff6bb54938ba6e0c43488f1376168f16b5d
|
| 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.8-py3-none-any.whl
| Download URL | python_zatobox-0.3.8-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c27a3a6b189fe5b026b190a1b3998de5a3ec61e18c949435b6d99efd6ba98e14
|
|
BLAKE2b-256 checksum How to use checksums |
4ef43ebbf3514e8f1c360fe973536b4036be142b01a78d982ff4858db0472ca8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.9.13 Windows/10
|