Skip to main content

Python OWFS client library (owserver protocol)

Project description

Package Documentation Python Package Index version

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.6, 2.7, 3.2 through 3.5.

Documentation

Full package documentation is available at http://pyownet.readthedocs.org/en/latest/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyownet-0.10.0-py2-none-any.whl (12.5 kB) Copy SHA256 hash SHA256 Wheel py2 Mar 30, 2016
pyownet-0.10.0-py3-none-any.whl (12.5 kB) Copy SHA256 hash SHA256 Wheel py3 Mar 30, 2016
pyownet-0.10.0.tar.gz (26.7 kB) Copy SHA256 hash SHA256 Source None Mar 30, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page