https://github.com/python-trio/trio-owfs
Access 1wire buses (via owserver)
https://github.com/python-trio/trio-owfs
Last synced: 6 months ago
JSON representation
Access 1wire buses (via owserver)
- Host: GitHub
- URL: https://github.com/python-trio/trio-owfs
- Owner: python-trio
- License: other
- Created: 2018-09-04T13:15:55.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-03-05T17:46:18.000Z (almost 2 years ago)
- Last Synced: 2025-06-09T18:11:31.447Z (7 months ago)
- Language: Python
- Size: 182 KB
- Stars: 3
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
.. image:: https://img.shields.io/badge/chat-join%20now-blue.svg
:target: https://gitter.im/python-trio/general
:alt: Join chatroom
.. image:: https://img.shields.io/badge/docs-read%20now-blue.svg
:target: https://asyncowfs.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://img.shields.io/pypi/v/asyncowfs.svg
:target: https://pypi.org/project/asyncowfs
:alt: Latest PyPi version
.. image:: https://travis-ci.org/python-trio/asyncowfs.svg?branch=master
:target: https://travis-ci.org/python-trio/asyncowfs
:alt: Automated test status
.. image:: https://codecov.io/gh/python-trio/asyncowfs/branch/master/graph/badge.svg
:target: https://codecov.io/gh/python-trio/asyncowfs
:alt: Test coverage
Async 1wire
===========
Welcome to `Async 1wire `__!
This library allows you to access 1wire buses with Python, using any
async library (trio, asyncio, curio).
AsyncOWFS does *not* try to talk to any 1wire interface by itself; it
uses TCP port 4304 (by default) to access one or more ``owserver``\ s.
Bus enumeration (when starting up, plus periodically in the background
if desired) is automatic and can be turned off.
This module supports background polling, alerts, and simultaneous
conversions. Bus couplers (DS2509) are handled transparently. Accessors to
device attributes are created from device descriptors, read from
``owserver``, and augmented by device-specific classes when necessary.
AsyncOWFS includes a test suite, including a mock 1wire server written in
Python, which you can easily re-use to test your own code. See `distowfs
`__ for an example.
License: Your choice of MIT or Apache License 2.0