Python OWFS client library (owserver protocol)
Project description
Pyownet is a pure python package that allows network client access to the OWFS 1-Wire File System via an owserver and the owserver network protocol, in short ownet.
The pyownet.protocol module is an implementation of the owserver client protocol that exposes owserver messages as methods of a proxy object:
>>> owproxy = pyownet.protocol.proxy(host="owserver.example.com", port=4304) >>> owproxy.dir() ['/10.67C6697351FF/', '/05.4AEC29CDBAAB/'] >>> owproxy.read('/10.67C6697351FF/temperature') ' 91.6195'
Installation
To install pyownet:
$ pip install pyownet
Python version support
The code base is written in Python 2, but Python 3 is fully supported, and is the main developing language. Running the 2to3 tool will generate valid and, whenever possible, idiomatic Python 3 code.
Explicitly supported versions are Python 2.7, 3.3 through 3.7.
Documentation
Full package documentation is available at http://pyownet.readthedocs.org/en/latest/
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
Built Distributions
Hashes for pyownet-0.10.0.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d229a39ecf924a9c7e419a2fcad9346fc931c9bd7062d6aa0e982f986ddb3341 |
|
MD5 | d4b285f789bf6ebd803cdebb71fa0757 |
|
BLAKE2b-256 | 01c60e9960d960e90bec12cc5b21ae6b15dc00aaada0991782b122bc282e6f02 |
Hashes for pyownet-0.10.0.post1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42a8b2e44f1ab4bc0ba0ee0ef6bdd0f288fcaec098958ed4c2955a73f8518049 |
|
MD5 | 77f45ac0c9cdd546bf7fe7c44527ffd8 |
|
BLAKE2b-256 | 504dec7a565f8bc36307c6900c176416dd8e1824e6e03da0319672372bb69283 |