send and receive wolfvision wolfprot commands
Project description
PyWolfprot
It's a library to communicate with the WolfVision Cynap product family over socket or websocket
# examples
import wolfprot
#change box name
#wolfprot.json needed
host = '192.168.100.45'
boxname = {'Name of box' : 'cynap-stefan'}
cb1 = wolfprot.cynap.Cynap(host, 1)
req = cb1.send_package('Device', 'Boxname', 0, boxname, 'GET', True)
print(req)
#firmware update
host = '192.168.100.45'
cb1 = wolfprot.cynap.Cynap(host, 1)
cb1.set_firmware_update('cb1.wgz')
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
pywolfprot-0.4.tar.gz
(10.8 kB
view details)
Built Distribution
pywolfprot-0.4-py3-none-any.whl
(19.4 kB
view details)
File details
Details for the file pywolfprot-0.4.tar.gz
.
File metadata
- Download URL: pywolfprot-0.4.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4b245b8f78b528324345e61c19fba6635e141d4298d853afd9e8175f5769af9 |
|
MD5 | 916d45b613ab6afd9c57b3980e6401e8 |
|
BLAKE2b-256 | 8cf7f0781c84789cc18f64857bb1ee3187bf2c2f6383e50b8bf239632e0b9834 |
File details
Details for the file pywolfprot-0.4-py3-none-any.whl
.
File metadata
- Download URL: pywolfprot-0.4-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21eaf447dafb50d90c1286be06327ecfec0f21a55944718e4c1387f4b1e1f074 |
|
MD5 | 01b8ecc9bb295b8e5b41f9aa79d711d9 |
|
BLAKE2b-256 | b3f585b481dd8af379d41852e53a24fea1d9a99e1003fce0961c700860314efb |