{ "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-si7021/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/si7021/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_SI7021.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_SI7021\n :alt: Build Status\n\nCircuitPython module for use with the SI7021 Temperature and Humidity Sensor.\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython `_\n* `Bus Device `_\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 Notes\n===========\n\nOf course, you must import the library to use it:\n\n.. code:: python\n\n import adafruit_si7021\n\nThis driver takes an instantiated and active I2C object (from the ``busio`` or\nthe ``bitbangio`` library) as an argument to its constructor. The way to create\nan I2C object depends on the board you are using. For boards with labeled SCL\nand SDA pins, you can:\n\n.. code:: python\n\n from busio import I2C\n from board import SCL, SDA\n\n i2c = I2C(SCL, SDA)\n\nOnce you have created the I2C interface object, you can use it to instantiate\nthe sensor object:\n\n.. code:: python\n\n sensor = adafruit_si7021.SI7021(i2c)\n\n\nAnd then you can start measuring the temperature and humidity:\n\n.. code:: python\n\n print(sensor.temperature)\n print(sensor.relative_humidity)\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-si7021 --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_SI7021", "keywords": "adafruit si7021 temperature humidity sensorbreakout hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-si7021", "package_url": "https://pypi.org/project/adafruit-circuitpython-si7021/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-si7021/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_SI7021" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-si7021/3.1.4/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for SI7021 Temperature and Humidity Sensor.", "version": "3.1.4" }, "last_serial": 5720387, "releases": { "3.1.0": [ { "comment_text": "", "digests": { "md5": "b7d954df333ad1b7c7ce24eeb2f43ecf", "sha256": "1673c8a05b24d2b5bc29351167dc8e59ac3796db3e58fb7c8022040c8a24601d" }, "downloads": -1, "filename": "adafruit-circuitpython-si7021-3.1.0.tar.gz", "has_sig": false, "md5_digest": "b7d954df333ad1b7c7ce24eeb2f43ecf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20358, "upload_time": "2018-08-07T23:12:49", "url": "https://files.pythonhosted.org/packages/cc/98/2bda0d8498e19d07ca6ed182f0ccfe264f6b3421a40096af26b5db4c8cc1/adafruit-circuitpython-si7021-3.1.0.tar.gz" } ], "3.1.1": [ { "comment_text": "", "digests": { "md5": "838df05fdc70c7b9bf9f3bb5033a6370", "sha256": "ce4c2c33b0daf6d0733e37b224dc7c60edea82dc93afe541fb4bfb925c1062c0" }, "downloads": -1, "filename": "adafruit-circuitpython-si7021-3.1.1.tar.gz", "has_sig": false, "md5_digest": "838df05fdc70c7b9bf9f3bb5033a6370", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20357, "upload_time": "2018-11-12T17:29:16", "url": "https://files.pythonhosted.org/packages/0a/10/4b1a42b3dbc890e315aa3627fdd73b6642bc4a7e1f68692bb21eff888129/adafruit-circuitpython-si7021-3.1.1.tar.gz" } ], "3.1.2": [ { "comment_text": "", "digests": { "md5": "44edb1d4cbb92285d8a4f998238d985b", "sha256": "9edaef97cb2154558d8c5737a49dbc9e6bd70b587fba4c55febafa57ed122e02" }, "downloads": -1, "filename": "adafruit-circuitpython-si7021-3.1.2.tar.gz", "has_sig": false, "md5_digest": "44edb1d4cbb92285d8a4f998238d985b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18952, "upload_time": "2019-01-15T02:51:08", "url": "https://files.pythonhosted.org/packages/de/95/6f429521e1b4eafe4685fe8b939769f163fba9b246ab88cd6637cb9b9539/adafruit-circuitpython-si7021-3.1.2.tar.gz" } ], "3.1.3": [ { "comment_text": "", "digests": { "md5": "0e631bb719b106f04c23539734ff0680", "sha256": "579154b7f4bf2b2f5bf999d23d50037a78636ced63c1a6f0b0473399b3156c8f" }, "downloads": -1, "filename": "adafruit-circuitpython-si7021-3.1.3.tar.gz", "has_sig": false, "md5_digest": "0e631bb719b106f04c23539734ff0680", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18971, "upload_time": "2019-08-05T18:45:09", "url": "https://files.pythonhosted.org/packages/6a/de/4936d29e0ce53ecb4de6a84591453dabdaf27c896633e714aaf9be521cb0/adafruit-circuitpython-si7021-3.1.3.tar.gz" } ], "3.1.4": [ { "comment_text": "", "digests": { "md5": "caf8fef61c86ae3a64a1015bd92335e3", "sha256": "e43d3d3cce8609c0543020b8e85d763176848489e3e3ebb7716415fe6f62f933" }, "downloads": -1, "filename": "adafruit-circuitpython-si7021-3.1.4.tar.gz", "has_sig": false, "md5_digest": "caf8fef61c86ae3a64a1015bd92335e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18954, "upload_time": "2019-08-23T11:56:25", "url": "https://files.pythonhosted.org/packages/9d/8c/17133d9fa50701a7b5bb846035c6ac31ea53275977066c745ca6d5d68436/adafruit-circuitpython-si7021-3.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "caf8fef61c86ae3a64a1015bd92335e3", "sha256": "e43d3d3cce8609c0543020b8e85d763176848489e3e3ebb7716415fe6f62f933" }, "downloads": -1, "filename": "adafruit-circuitpython-si7021-3.1.4.tar.gz", "has_sig": false, "md5_digest": "caf8fef61c86ae3a64a1015bd92335e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18954, "upload_time": "2019-08-23T11:56:25", "url": "https://files.pythonhosted.org/packages/9d/8c/17133d9fa50701a7b5bb846035c6ac31ea53275977066c745ca6d5d68436/adafruit-circuitpython-si7021-3.1.4.tar.gz" } ] }