{ "info": { "author": "Adafruit Industries", "author_email": "circuitpython@adafruit.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries", "Topic :: System :: Hardware" ], "description": "Introduction\n============\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-onewire/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/onewire/en/latest/\n :alt: Documentation Status\n\n.. image :: https://img.shields.io/discord/327254708534116352.svg\n :target: https://discord.gg/nBQh6qu\n :alt: Discord\n\n.. image:: https://travis-ci.com/adafruit/Adafruit_CircuitPython_OneWire.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_OneWire\n :alt: Build Status\n\nClasses for use in communicating with devices on a 1-Wire bus.\n\nDependencies\n=============\nThis driver depends on:\n\n* `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 `_.\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\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n`_\nbefore contributing to help this project stay welcoming.\n\nBuilding locally\n================\n\nTo build this library locally you'll need to install the\n`circuitpython-build-tools `_ package.\n\n.. code-block:: shell\n\n python3 -m venv .env\n source .env/bin/activate\n pip install circuitpython-build-tools\n\nOnce installed, make sure you are in the virtual environment:\n\n.. code-block:: shell\n\n source .env/bin/activate\n\nThen run the build:\n\n.. code-block:: shell\n\n circuitpython-build-bundles --filename_prefix adafruit-circuitpython-onewire --library_location .\n\nSphinx documentation\n-----------------------\n\nSphinx is used to build the documentation based on rST files and comments in the code. First,\ninstall dependencies (feel free to reuse the virtual environment from above):\n\n.. code-block:: shell\n\n python3 -m venv .env\n source .env/bin/activate\n pip install Sphinx sphinx-rtd-theme\n\nNow, once you have the virtual environment activated:\n\n.. code-block:: shell\n\n cd docs\n sphinx-build -E -W -b html . _build/html\n\nThis will output the documentation to ``docs/_build/html``. Open the index.html in your browser to\nview them. It will also (due to -W) error out on any warning like Travis will. This is a good way to\nlocally verify it will pass.", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/adafruit/Adafruit_CircuitPython_OneWire", "keywords": "adafruit onewire dallas 1-wire breakout hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-onewire", "package_url": "https://pypi.org/project/adafruit-circuitpython-onewire/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-onewire/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_OneWire" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-onewire/1.1.2/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython OneWire helper library for 1-wire bus devices.", "version": "1.1.2" }, "last_serial": 4701010, "releases": { "1.1.0": [ { "comment_text": "", "digests": { "md5": "2c089f5f0cf5307193fa8f1e7ad6f9f2", "sha256": "32e7e80e68cbc1afb5cc3ba32de6937633bbd382ddaf9295e18526bcefe8a3c9" }, "downloads": -1, "filename": "adafruit-circuitpython-onewire-1.1.0.tar.gz", "has_sig": false, "md5_digest": "2c089f5f0cf5307193fa8f1e7ad6f9f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21138, "upload_time": "2018-08-03T23:19:11", "url": "https://files.pythonhosted.org/packages/ca/98/1081b363eb47ebdda65783c2556e8d159143f58f27f0f31b67125082e29c/adafruit-circuitpython-onewire-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "11827d7670454aca538b315bc9853b60", "sha256": "f717d0b982816ba93b6b59aff8c2fa6547ed4b2ad33b3368c4497c2df0477c69" }, "downloads": -1, "filename": "adafruit-circuitpython-onewire-1.1.1.tar.gz", "has_sig": false, "md5_digest": "11827d7670454aca538b315bc9853b60", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21385, "upload_time": "2018-11-12T22:07:31", "url": "https://files.pythonhosted.org/packages/5d/ba/a053041d3523f85633f64ba939d1caf10f2f67cbb27036eae0ddf0baa69c/adafruit-circuitpython-onewire-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "6bb83bc1babaf7999e07f39f0882d401", "sha256": "04bfb049cbace5413d667f75d6226c22e3aa89250be7a8202c1934dc5d15420b" }, "downloads": -1, "filename": "adafruit-circuitpython-onewire-1.1.2.tar.gz", "has_sig": false, "md5_digest": "6bb83bc1babaf7999e07f39f0882d401", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20165, "upload_time": "2019-01-16T00:23:08", "url": "https://files.pythonhosted.org/packages/f0/8a/18b27d097cefd25b312c7f099c1a27ebf0dea968e50a24b30cb263b0f847/adafruit-circuitpython-onewire-1.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6bb83bc1babaf7999e07f39f0882d401", "sha256": "04bfb049cbace5413d667f75d6226c22e3aa89250be7a8202c1934dc5d15420b" }, "downloads": -1, "filename": "adafruit-circuitpython-onewire-1.1.2.tar.gz", "has_sig": false, "md5_digest": "6bb83bc1babaf7999e07f39f0882d401", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20165, "upload_time": "2019-01-16T00:23:08", "url": "https://files.pythonhosted.org/packages/f0/8a/18b27d097cefd25b312c7f099c1a27ebf0dea968e50a24b30cb263b0f847/adafruit-circuitpython-onewire-1.1.2.tar.gz" } ] }