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
File details
Details for the file pyownet-0.10.0.post1.tar.gz
.
File metadata
- Download URL: pyownet-0.10.0.post1.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f2fa4471c2f806b35090bdc6c092305c6eded3ff3736f8b586d35bdb157de62 |
|
MD5 | ae5dfb8f0b209a744415fc5f43240a51 |
|
BLAKE2b-256 | 139703560c37663b70cf503e9e0896c60646996de6b5730fd1a6f2f79bb869e2 |
File details
Details for the file pyownet-0.10.0.post1-py3-none-any.whl
.
File metadata
- Download URL: pyownet-0.10.0.post1-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d229a39ecf924a9c7e419a2fcad9346fc931c9bd7062d6aa0e982f986ddb3341 |
|
MD5 | d4b285f789bf6ebd803cdebb71fa0757 |
|
BLAKE2b-256 | 01c60e9960d960e90bec12cc5b21ae6b15dc00aaada0991782b122bc282e6f02 |
File details
Details for the file pyownet-0.10.0.post1-py2-none-any.whl
.
File metadata
- Download URL: pyownet-0.10.0.post1-py2-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42a8b2e44f1ab4bc0ba0ee0ef6bdd0f288fcaec098958ed4c2955a73f8518049 |
|
MD5 | 77f45ac0c9cdd546bf7fe7c44527ffd8 |
|
BLAKE2b-256 | 504dec7a565f8bc36307c6900c176416dd8e1824e6e03da0319672372bb69283 |