Introduction
============
.. image:: https://readthedocs.org/projects/adafruit-circuitpython-onewire/badge/?version=latest
:target: https://docs.circuitpython.org/projects/onewire/en/latest/
:alt: Documentation Status
.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg
:target: https://adafru.it/discord
:alt: Discord
.. image:: https://github.com/adafruit/Adafruit_CircuitPython_OneWire/workflows/Build%20CI/badge.svg
:target: https://github.com/adafruit/Adafruit_CircuitPython_OneWire/actions/
:alt: Build Status
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Code Style: Black
Classes for use in communicating with devices on a 1-Wire bus.
Dependencies
=============
This driver depends on:
* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_
Please ensure all dependencies are available on the CircuitPython filesystem.
This is easily achieved by downloading
`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.
**Note:** This library does **not** work on the Raspberry Pi as there is no kernel interface for it
Usage Example
=============
.. code-block:: python
import board
from adafruit_onewire.bus import OneWireBus
ow_bus = OneWireBus(board.D2)
devices = ow_bus.scan()
for d in devices:
print("ROM={}\tFamily=0x{:02x}".format(d.rom, d.family_code))
Documentation
=============
API documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/onewire/en/latest/>`_.
For information on building library documentation, please check out `this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.
Contributing
============
Contributions are welcome! Please read our `Code of Conduct
<https://github.com/adafruit/Adafruit_CircuitPython_OneWire/blob/main/CODE_OF_CONDUCT.md>`_
before contributing to help this project stay welcoming.
Raw data
{
"_id": null,
"home_page": null,
"name": "adafruit-circuitpython-onewire",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "adafruit, onewire, dallas, 1-wire, breakout, hardware, micropython, circuitpython",
"author": null,
"author_email": "Adafruit Industries <circuitpython@adafruit.com>",
"download_url": "https://files.pythonhosted.org/packages/dd/dd/f4d34128fc1e793a07cad48108c9516ca2c3d8be1c5c051b5bc3e313c841/adafruit_circuitpython_onewire-2.0.8.tar.gz",
"platform": null,
"description": "\nIntroduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-onewire/badge/?version=latest\n :target: https://docs.circuitpython.org/projects/onewire/en/latest/\n :alt: Documentation Status\n\n.. image:: https://raw.githubusercontent.com/adafruit/Adafruit_CircuitPython_Bundle/main/badges/adafruit_discord.svg\n :target: https://adafru.it/discord\n :alt: Discord\n\n.. image:: https://github.com/adafruit/Adafruit_CircuitPython_OneWire/workflows/Build%20CI/badge.svg\n :target: https://github.com/adafruit/Adafruit_CircuitPython_OneWire/actions/\n :alt: Build Status\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n :target: https://github.com/psf/black\n :alt: Code Style: Black\n\nClasses for use in communicating with devices on a 1-Wire bus.\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython <https://github.com/adafruit/circuitpython>`_\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>`_.\n\n**Note:** This library does **not** work on the Raspberry Pi as there is no kernel interface for it\n\nUsage Example\n=============\n\n.. code-block:: python\n\n import board\n from adafruit_onewire.bus import OneWireBus\n ow_bus = OneWireBus(board.D2)\n devices = ow_bus.scan()\n for d in devices:\n print(\"ROM={}\\tFamily=0x{:02x}\".format(d.rom, d.family_code))\n\n\nDocumentation\n=============\n\nAPI documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/onewire/en/latest/>`_.\n\nFor information on building library documentation, please check out `this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>`_.\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n<https://github.com/adafruit/Adafruit_CircuitPython_OneWire/blob/main/CODE_OF_CONDUCT.md>`_\nbefore contributing to help this project stay welcoming.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "CircuitPython OneWire helper library for 1-wire bus devices.",
"version": "2.0.8",
"project_urls": {
"Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_OneWire"
},
"split_keywords": [
"adafruit",
" onewire",
" dallas",
" 1-wire",
" breakout",
" hardware",
" micropython",
" circuitpython"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f7dba4fe343c92e2895e330ee72bb2ff94995889af455119a1b1ee3cee8c9b9a",
"md5": "eba8396899eac83486a9a25a4a2fd6c6",
"sha256": "cae7e2a15e24ff8fe17bf1b83f137ee34357dffe08d816be4203c436015de1f2"
},
"downloads": -1,
"filename": "adafruit_circuitpython_onewire-2.0.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "eba8396899eac83486a9a25a4a2fd6c6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 6791,
"upload_time": "2024-10-07T22:31:57",
"upload_time_iso_8601": "2024-10-07T22:31:57.811721Z",
"url": "https://files.pythonhosted.org/packages/f7/db/a4fe343c92e2895e330ee72bb2ff94995889af455119a1b1ee3cee8c9b9a/adafruit_circuitpython_onewire-2.0.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ddddf4d34128fc1e793a07cad48108c9516ca2c3d8be1c5c051b5bc3e313c841",
"md5": "87fd6afc0c358be5c741ae99e9d7ce2f",
"sha256": "6074cf79ba0b49a9b2a698a7537bc0341b964fa7e80d8d276895d4fb9df975c4"
},
"downloads": -1,
"filename": "adafruit_circuitpython_onewire-2.0.8.tar.gz",
"has_sig": false,
"md5_digest": "87fd6afc0c358be5c741ae99e9d7ce2f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 27092,
"upload_time": "2024-10-07T22:31:58",
"upload_time_iso_8601": "2024-10-07T22:31:58.724582Z",
"url": "https://files.pythonhosted.org/packages/dd/dd/f4d34128fc1e793a07cad48108c9516ca2c3d8be1c5c051b5bc3e313c841/adafruit_circuitpython_onewire-2.0.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-07 22:31:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "adafruit",
"github_project": "Adafruit_CircuitPython_OneWire",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "adafruit-circuitpython-onewire"
}