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/
Release files for pyownet 0.10.0.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyownet-0.10.0.post1.tar.gz | 17.1 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyownet-0.10.0.post1-py3-none-any.whl | Python 3 | none | any | Details |
| pyownet-0.10.0.post1-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 44.7 kB
Release files / pyownet-0.10.0.post1.tar.gz
| Download URL | pyownet-0.10.0.post1.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f2fa4471c2f806b35090bdc6c092305c6eded3ff3736f8b586d35bdb157de62
|
|
BLAKE2b-256 checksum How to use checksums |
139703560c37663b70cf503e9e0896c60646996de6b5730fd1a6f2f79bb869e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pyownet-0.10.0.post1-py3-none-any.whl
| Download URL | pyownet-0.10.0.post1-py3-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d229a39ecf924a9c7e419a2fcad9346fc931c9bd7062d6aa0e982f986ddb3341
|
|
BLAKE2b-256 checksum How to use checksums |
01c60e9960d960e90bec12cc5b21ae6b15dc00aaada0991782b122bc282e6f02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pyownet-0.10.0.post1-py2-none-any.whl
| Download URL | pyownet-0.10.0.post1-py2-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
42a8b2e44f1ab4bc0ba0ee0ef6bdd0f288fcaec098958ed4c2955a73f8518049
|
|
BLAKE2b-256 checksum How to use checksums |
504dec7a565f8bc36307c6900c176416dd8e1824e6e03da0319672372bb69283
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|