py_openshowvar
A Python port of KUKA VarProxy client (OpenShowVar).
Python version
Supports 2.6+ / 3.3+, tested at 2.7.11 and 3.6.3.
Install
On PYPI: https://pypi.python.org/pypi/py-openshowvar
pip install py_openshowvar
Usage
Module usage:
>>> from py_openshowvar import openshowvar
>>> client = openshowvar('192.168.19.132', 7001)
>>> client.can_connect
True
>>> ov = client.read('$OV_PRO', debug=True)
[DEBUG] (48, 6, 0, 3, '100', '\x00\x01\x01')
100
>>> print(ov)
100
>>> client.close()
Built-in shell usage:
$ python ./py_openshowvar.py
IP Address: 192.168.19.132
Port: 7001
Connected KRC Name: "xxxxxxxxxx"
Input var_name [, var_value]
(`q` for quit): $OV_PRO
[DEBUG] (66, 5, 0, 2, '50', '\x00\x01\x01')
50
Input var_name [, var_value]
(`q` for quit): $OV_PRO, 100
[DEBUG] (67, 6, 1, 3, '100', '\x00\x01\x01')
100
Input var_name [, var_value]
(`q` for quit): q
Bye
Metadata
Release files for py-openshowvar 1.1.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 | Provenance | Actions |
|---|---|---|---|---|
| py_openshowvar-1.1.7.tar.gz | 3.5 kB | Without provenance | Details for py_openshowvar-1.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_openshowvar-1.1.7-py3-none-any.whl | Python 3 | none | any | Details for py_openshowvar-1.1.7-py3-none-any.whl |
Total release size: 7.6 kB
Release files / py_openshowvar-1.1.7.tar.gz
| Download URL | py_openshowvar-1.1.7.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8abfb4bb8a63155b14d727b3c5940948c155d65f47adae17701a04747cbcbcf
|
|
BLAKE2b-256 checksum How to use checksums |
2891562eb8f4d8bd9ebab49e4a47dd550130a4b55a33c56bb05c2c16b3b89ba8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.9
|
Release files / py_openshowvar-1.1.7-py3-none-any.whl
| Download URL | py_openshowvar-1.1.7-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ffd6380ba3351f256e115239cf00861356f5437fddc58458eacfa0226cf54caa
|
|
BLAKE2b-256 checksum How to use checksums |
ffcbd01624a00a6e6d989d62e26d397d73f2179f4f39a4f75306b1a75c7228f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.9
|
Security for py-openshowvar 1.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.