{ "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-bme680/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/bme680/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_BME680.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_BME680\n :alt: Build Status\n\nCircuitPython driver for BME680 sensor over I2C\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\nInstalling from PyPI\n=====================\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI `_. To install for current user:\n\n.. code-block:: shell\n\n pip3 install adafruit-circuitpython-bme680\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n sudo pip3 install adafruit-circuitpython-bme680\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n mkdir project-name && cd project-name\n python3 -m venv .env\n source .env/bin/activate\n pip3 install adafruit-circuitpython-bme680\n\nUsage Example\n=============\n\n.. code-block:: python\n\n\tfrom busio import I2C\n\timport adafruit_bme680\n\timport time\n\timport board\n\n\t# Create library object using our Bus I2C port\n\ti2c = I2C(board.SCL, board.SDA)\n\tbme680 = adafruit_bme680.Adafruit_BME680_I2C(i2c)\n\n\t# change this to match the location's pressure (hPa) at sea level\n\tbme680.sea_level_pressure = 1013.25\n\n\twhile True:\n\t print(\"\\nTemperature: %0.1f C\" % bme680.temperature)\n\t print(\"Gas: %d ohm\" % bme680.gas)\n\t print(\"Humidity: %0.1f %%\" % bme680.humidity)\n\t print(\"Pressure: %0.3f hPa\" % bme680.pressure)\n\t print(\"Altitude = %0.2f meters\" % bme680.altitude)\n\n\t time.sleep(2)\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-bme680 --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_BME680", "keywords": "adafruit blinka circuitpython micropython bme680 hardware temperature pressure humidity gas", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-bme680", "package_url": "https://pypi.org/project/adafruit-circuitpython-bme680/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-bme680/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_BME680" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-bme680/3.1.1/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for BME680 temperature, pressure and humidity sensor.", "version": "3.1.1" }, "last_serial": 5881237, "releases": { "3.0.3": [ { "comment_text": "", "digests": { "md5": "f8f2b1ac9a9d0e9ef36acccf968c84fe", "sha256": "266bc22337d63935ad8146d9c0fd241e180fbdaebca7f31455342b7fa0c200b8" }, "downloads": -1, "filename": "adafruit-circuitpython-bme680-3.0.3.tar.gz", "has_sig": false, "md5_digest": "f8f2b1ac9a9d0e9ef36acccf968c84fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21038, "upload_time": "2018-07-01T21:52:17", "url": "https://files.pythonhosted.org/packages/f1/c3/9aab536b42b29e5bd65052e6be1a1ce10f5b9310f3c3cbc1a23f72aaf3d3/adafruit-circuitpython-bme680-3.0.3.tar.gz" } ], "3.0.4": [ { "comment_text": "", "digests": { "md5": "d9de21a7408f345d07043d9509b57757", "sha256": "cf16268d94b2dd2df1aecafa1a99ecd529f6a6a509f8c10de8963957e4fa1fb0" }, "downloads": -1, "filename": "adafruit-circuitpython-bme680-3.0.4.tar.gz", "has_sig": false, "md5_digest": "d9de21a7408f345d07043d9509b57757", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21062, "upload_time": "2018-08-02T21:02:16", "url": "https://files.pythonhosted.org/packages/0c/5c/223a48174e2d863c27a3afa03b9c52d76d7239ad3651139e1264b9de42c0/adafruit-circuitpython-bme680-3.0.4.tar.gz" } ], "3.0.5": [ { "comment_text": "", "digests": { "md5": "c2dd2803fadfa9259207a13f34852ed8", "sha256": "e14f8a3e1dd2acf2b3a409bea85da516147f5839b055fccab9e3e2f604da05cd" }, "downloads": -1, "filename": "adafruit-circuitpython-bme680-3.0.5.tar.gz", "has_sig": false, "md5_digest": "c2dd2803fadfa9259207a13f34852ed8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21069, "upload_time": "2018-08-12T22:01:56", "url": "https://files.pythonhosted.org/packages/f2/6f/a081b4f5720db40a70311bd7c2b563cf62c2a12fac70873d8bd157671f34/adafruit-circuitpython-bme680-3.0.5.tar.gz" } ], "3.0.6": [ { "comment_text": "", "digests": { "md5": "892cd197d277a6b522e1cf362a600a5c", "sha256": "cd05f6f1e7392c278af919144e5b90efc776d3687aa5a53bf63557b40e217fe2" }, "downloads": -1, "filename": "adafruit-circuitpython-bme680-3.0.6.tar.gz", "has_sig": false, "md5_digest": "892cd197d277a6b522e1cf362a600a5c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21068, "upload_time": "2018-11-12T17:49:42", "url": "https://files.pythonhosted.org/packages/c8/7d/7af89d25937cea8dc9da90a88e86aa5ea8555bf87dfe1300636f3c4c0fe8/adafruit-circuitpython-bme680-3.0.6.tar.gz" } ], "3.0.7": [ { "comment_text": "", "digests": { "md5": "f1fba92c25f7ecbe76e9bfc0df3f8dd6", "sha256": "33b32439efedd92e183ef4339bfddadaca605a6189417c277d4790d7a962b386" }, "downloads": -1, "filename": "adafruit-circuitpython-bme680-3.0.7.tar.gz", "has_sig": false, "md5_digest": "f1fba92c25f7ecbe76e9bfc0df3f8dd6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20562, "upload_time": "2019-01-15T00:19:43", "url": "https://files.pythonhosted.org/packages/4a/a1/368f42e2922d4ba828ecd66a5876edfb890eba99e458430b26cbc05a8f06/adafruit-circuitpython-bme680-3.0.7.tar.gz" } ], "3.1.0": [ { "comment_text": "", "digests": { "md5": "f26c16abfbdb66effcd85542abd895fd", "sha256": "cbde0c11af1855b4a78d5400c1962958e3fd9708606e3c3b8ab2accc12cca68e" }, "downloads": -1, "filename": "adafruit-circuitpython-bme680-3.1.0.tar.gz", "has_sig": false, "md5_digest": "f26c16abfbdb66effcd85542abd895fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21090, "upload_time": "2019-03-14T02:48:56", "url": "https://files.pythonhosted.org/packages/f0/3d/d46e69e9f45f8498b41463c835b97f94128b7c2bac891d0e6f2cf3230290/adafruit-circuitpython-bme680-3.1.0.tar.gz" } ], "3.1.1": [ { "comment_text": "", "digests": { "md5": "730abf8f5e8dd9d5207f9662fb56312e", "sha256": "f2c7b7242749f4a3f19e183834641a96e27d2cd4a766c7aed05e2a1512b74a21" }, "downloads": -1, "filename": "adafruit-circuitpython-bme680-3.1.1.tar.gz", "has_sig": false, "md5_digest": "730abf8f5e8dd9d5207f9662fb56312e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21476, "upload_time": "2019-09-24T18:15:45", "url": "https://files.pythonhosted.org/packages/73/e1/e7864c2d8429b7c92c35a8c0120dc9fc9b32ef8ff2c967d0909b118d6c18/adafruit-circuitpython-bme680-3.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "730abf8f5e8dd9d5207f9662fb56312e", "sha256": "f2c7b7242749f4a3f19e183834641a96e27d2cd4a766c7aed05e2a1512b74a21" }, "downloads": -1, "filename": "adafruit-circuitpython-bme680-3.1.1.tar.gz", "has_sig": false, "md5_digest": "730abf8f5e8dd9d5207f9662fb56312e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21476, "upload_time": "2019-09-24T18:15:45", "url": "https://files.pythonhosted.org/packages/73/e1/e7864c2d8429b7c92c35a8c0120dc9fc9b32ef8ff2c967d0909b118d6c18/adafruit-circuitpython-bme680-3.1.1.tar.gz" } ] }