Skip to main content

python ownet client library

Project description

Package Documentation

pyownet is a pure python package that allows to access an owserver via the owserver network protocol, in short ownet.

owserver is part of the OWFS 1-Wire File System:

OWFS is an easy way to use the powerful 1-wire system of Dallas/Maxim.

OWFS is a simple and flexible program to monitor and control the physical environment. You can write scripts to read temperature, flash lights, write to an LCD, log and graph, …

The pyownet.protocol module is a low-level implementation of the ownet protocol. Interaction with an owserver takes place via a proxy object whose methods correspond to ownet messages:

>>> owproxy = pyownet.protocol.proxy(host="owserver.example.com", port=4304)
>>> owproxy.ping()
>>> owproxy.dir()
['/10.67C6697351FF/', '/05.4AEC29CDBAAB/']
>>> owproxy.present('/10.67C6697351FF/temperature')
True
>>> owproxy.read('/10.67C6697351FF/temperature')
'     91.6195'

Python 3 is supported via 2to3 and use_2to3 = True in setup.py.

Project details


Download files

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

Source Distribution

pyownet-0.8.1.tar.gz (22.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyownet-0.8.1-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

pyownet-0.8.1-py2-none-any.whl (10.2 kB view details)

Uploaded Python 2

File details

Details for the file pyownet-0.8.1.tar.gz.

File metadata

  • Download URL: pyownet-0.8.1.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyownet-0.8.1.tar.gz
Algorithm Hash digest
SHA256 3588d94e0460e47a26f81e731b62646ec53a83f7f5f4917c37e9643ef55021fe
MD5 902b03bf14c630b0a95f518f2bbfc35b
BLAKE2b-256 1bea555965c067884677aca45caa81ed9c5ad5dae2bd2266e2525e283dcd419a

See more details on using hashes here.

File details

Details for the file pyownet-0.8.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyownet-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b1ad7fad38db7464019e136f79805a60af35d459331f13d7a6eeef9715533cf4
MD5 b19619c6d6fa0d04dad1e1af8b96ff39
BLAKE2b-256 501a31ff1540fbf3b4838462e9bb40ef6f2963010c6c580086493f691befaa21

See more details on using hashes here.

File details

Details for the file pyownet-0.8.1-py2-none-any.whl.

File metadata

File hashes

Hashes for pyownet-0.8.1-py2-none-any.whl
Algorithm Hash digest
SHA256 0996460a0b406b17fd2652bcf492438b2b5fa20892451b5f6590996ac8257eaf
MD5 c154e3b805d1c72bd5d3795523ebbe77
BLAKE2b-256 90bcf6dbb01c6fa8d449736332310413bf5467b00aca3b72ab05d95cc6f317db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page