{ "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-ds18x20/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/ds18x20/en/latest/\n :alt: Documentation Status\n\n.. image :: https://img.shields.io/discord/327254708534116352.svg\n :target: https://adafru.it/discord\n :alt: Discord\n\n.. image:: https://travis-ci.com/adafruit/Adafruit_CircuitPython_DS18X20.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_DS18X20\n :alt: Build Status\n\nCircuitPython driver for Dallas 1-Wire temperature sensor.\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython `_\n* `Adafruit OneWire `_\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 from adafruit_ds18x20 import DS18X20\n ow_bus = OneWireBus(board.D2)\n ds18 = DS18X20(ow_bus, ow_bus.scan()[0])\n ds18.temperature\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-ds18x20 --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_DS18X20", "keywords": "adafruit 1-wire temperature sensor ds18x20 hardware breakout micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-ds18x20", "package_url": "https://pypi.org/project/adafruit-circuitpython-ds18x20/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-ds18x20/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_DS18X20" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-ds18x20/1.2.0/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython driver for Dallas 1-Wire temperature sensor.", "version": "1.2.0" }, "last_serial": 5838320, "releases": { "1.1.2": [ { "comment_text": "", "digests": { "md5": "897ed426761d9fa25120a9cea57c4e76", "sha256": "90ab347c3e0997399d94c485ed8fc5e5425186bea7ef85c8c84008399c31c2c7" }, "downloads": -1, "filename": "adafruit-circuitpython-ds18x20-1.1.2.tar.gz", "has_sig": false, "md5_digest": "897ed426761d9fa25120a9cea57c4e76", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19593, "upload_time": "2018-11-12T23:35:18", "url": "https://files.pythonhosted.org/packages/b7/a8/6465e177ca5d576f776531a51eeb0e226e9494a158b70e5e507d86f96067/adafruit-circuitpython-ds18x20-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "25dc7915aca8c2cb736584b38b765a2d", "sha256": "7cc6d97d9be32c579ad34a9a69f0e2b1d7372938004b4d367b35da5e50656738" }, "downloads": -1, "filename": "adafruit-circuitpython-ds18x20-1.1.3.tar.gz", "has_sig": false, "md5_digest": "25dc7915aca8c2cb736584b38b765a2d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18408, "upload_time": "2019-01-16T02:09:03", "url": "https://files.pythonhosted.org/packages/67/37/a871700190326b14b52d3f0d830f675165f4f891187309e1fc9b23a3acb1/adafruit-circuitpython-ds18x20-1.1.3.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "4ec72bc9d0012de8352f5ae027740d53", "sha256": "fbe354f0556a411c2c229fda99575942f8272431db45149b18cbdacdbe8aa997" }, "downloads": -1, "filename": "adafruit-circuitpython-ds18x20-1.2.0.tar.gz", "has_sig": false, "md5_digest": "4ec72bc9d0012de8352f5ae027740d53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18855, "upload_time": "2019-09-16T21:39:03", "url": "https://files.pythonhosted.org/packages/df/37/77b5d1e233e6ea120c48089037a97e1fbb7a3b1925a89990cfff6bb382c1/adafruit-circuitpython-ds18x20-1.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4ec72bc9d0012de8352f5ae027740d53", "sha256": "fbe354f0556a411c2c229fda99575942f8272431db45149b18cbdacdbe8aa997" }, "downloads": -1, "filename": "adafruit-circuitpython-ds18x20-1.2.0.tar.gz", "has_sig": false, "md5_digest": "4ec72bc9d0012de8352f5ae027740d53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18855, "upload_time": "2019-09-16T21:39:03", "url": "https://files.pythonhosted.org/packages/df/37/77b5d1e233e6ea120c48089037a97e1fbb7a3b1925a89990cfff6bb382c1/adafruit-circuitpython-ds18x20-1.2.0.tar.gz" } ] }