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.

Source Distribution

pyownet-0.9.0.tar.gz (25.0 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.9.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

pyownet-0.9.0-py2-none-any.whl (10.5 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for pyownet-0.9.0.tar.gz
Algorithm Hash digest
SHA256 c07e3cf980eb4683841d25e99b047837dfa761f10abc05426bd4fdb51df858f4
MD5 04287ddd1d1c82dd81f5d147d5ed3ba2
BLAKE2b-256 532ce89bccb7be4426f412b88bde56406e758a081ed444a5901e0248f8d1a5a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyownet-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4715257108a32b55ccfa4d86eb79d1a5ac6ba6a7bfba73520704161240450b7a
MD5 f3d009da7d96cdffa1fa0a6de4f3af2b
BLAKE2b-256 3436b44018edcfb49b2c38031d13ac2ebd9dafce6cea1b3be3601b6ca1226974

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyownet-0.9.0-py2-none-any.whl
Algorithm Hash digest
SHA256 564db834af516b217acbd9627a55113dac9cc28742ec0468c191485ad283f559
MD5 f96a6ae4b6d39aa642abdf9087931dc6
BLAKE2b-256 21fe2574b3a21ab361c0a83d4b6641301f41c9a1959baffe49bcdc17b8f312a8

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