{ "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": "Adafruit CircuitPython CCS811 Library\n=====================================\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-ccs811/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/ccs811/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_CCS811.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_CCS811\n :alt: Build Status\n\nCircuitPython driver for the `CCS811 air quality sensor `_.\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython `_\n* `Bus Device `_\n* `Register `_\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\nSee `the guide `_\nfor wiring and installation instructions.\n\nOf course, you must import the library to use it:\n\n.. code:: python\n\n import busio\n import adafruit_ccs811\n\nNext, initialize the I2C bus object.\n\n.. code:: python\n\n from board import *\n i2c_bus = busio.I2C(SCL, SDA)\n\nOnce you have created the I2C interface object, you can use it to instantiate\nthe CCS811 object\n\n.. code:: python\n\n ccs = adafruit_ccs811.CCS811(i2c_bus)\n\nReading Sensor\n--------------\n\nTo read the gas sensor simply read the attributes:\n\n.. code:: python\n\n print(\"CO2: \", ccs.eco2, \" TVOC:\", ccs.tvoc)\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-ccs811 --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_CCS811", "keywords": "adafruit air quality voc eco2 breakout hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-ccs811", "package_url": "https://pypi.org/project/adafruit-circuitpython-ccs811/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-ccs811/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_CCS811" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-ccs811/1.1.6/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for CCS811 air quality sensor.", "version": "1.1.6" }, "last_serial": 5721795, "releases": { "1.1.1": [ { "comment_text": "", "digests": { "md5": "175878f7762e6898f053a3e1734e46e2", "sha256": "18f58bce59efe159920117ec22826509ab45733a55e729fdd532612f1141fd0c" }, "downloads": -1, "filename": "adafruit-circuitpython-ccs811-1.1.1.tar.gz", "has_sig": false, "md5_digest": "175878f7762e6898f053a3e1734e46e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23391, "upload_time": "2018-08-02T21:50:16", "url": "https://files.pythonhosted.org/packages/3c/14/2be18a0b2a1d657d1c16c24e2972abd1f42b2b45a4fc1a200c9825800a56/adafruit-circuitpython-ccs811-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "a1193abe20ef8bf7bef67cffe8f9f434", "sha256": "37078e4bec6dcb7b9926f91367de186c9b26f89c340f05982c6455023b630453" }, "downloads": -1, "filename": "adafruit-circuitpython-ccs811-1.1.2.tar.gz", "has_sig": false, "md5_digest": "a1193abe20ef8bf7bef67cffe8f9f434", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23388, "upload_time": "2018-08-02T22:27:48", "url": "https://files.pythonhosted.org/packages/9d/7c/36658eb7683524330990f61b2d9993b058a640c9acd2766ede5bc246fddd/adafruit-circuitpython-ccs811-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "e89b84805eab6baf742260122e4eb6a2", "sha256": "92aa1e5bc6fdfcc88bbaa6041a7099f6857d4bedc6c74aa6fca28f1744829377" }, "downloads": -1, "filename": "adafruit-circuitpython-ccs811-1.1.3.tar.gz", "has_sig": false, "md5_digest": "e89b84805eab6baf742260122e4eb6a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23479, "upload_time": "2018-11-12T18:05:37", "url": "https://files.pythonhosted.org/packages/d7/5e/eb5ccf1e17233c499f1593e358c0c508bb7352bfccc47b9263da0b4dd16d/adafruit-circuitpython-ccs811-1.1.3.tar.gz" } ], "1.1.4": [ { "comment_text": "", "digests": { "md5": "40e83f0e91954980f4656ce567ca0e94", "sha256": "1b4e6fce9d660b5a993830678d9fee6da848c4e15652a337ed87943f80ca4c5f" }, "downloads": -1, "filename": "adafruit-circuitpython-ccs811-1.1.4.tar.gz", "has_sig": false, "md5_digest": "40e83f0e91954980f4656ce567ca0e94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23307, "upload_time": "2019-01-15T00:30:29", "url": "https://files.pythonhosted.org/packages/dc/6b/09ad4fd86ee40a41262ba7dc8d76515381eaf545b0d04f7662ae892e019d/adafruit-circuitpython-ccs811-1.1.4.tar.gz" } ], "1.1.5": [ { "comment_text": "", "digests": { "md5": "b7563bf32870ae6ca232ce0a8d6f1585", "sha256": "8f943f5198884ff3db8eb7b455ced6fb62cef9cf726acfe17ab558d2c7155de8" }, "downloads": -1, "filename": "adafruit-circuitpython-ccs811-1.1.5.tar.gz", "has_sig": false, "md5_digest": "b7563bf32870ae6ca232ce0a8d6f1585", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23307, "upload_time": "2019-05-13T04:49:06", "url": "https://files.pythonhosted.org/packages/82/28/eb8310846e6be74455d7250a57d7cb1aaa44d548a24af7962571cc2f6395/adafruit-circuitpython-ccs811-1.1.5.tar.gz" } ], "1.1.6": [ { "comment_text": "", "digests": { "md5": "b62553172e5c02eabc0714db86593119", "sha256": "dc552d7377943d602b2df64edaf3c7ee6c5dd73917f40c54e7dd6ce1c851c38b" }, "downloads": -1, "filename": "adafruit-circuitpython-ccs811-1.1.6.tar.gz", "has_sig": false, "md5_digest": "b62553172e5c02eabc0714db86593119", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23258, "upload_time": "2019-08-23T17:29:59", "url": "https://files.pythonhosted.org/packages/fc/da/1144f88155efef3e6a026a75bafd8f0ea73f9acdb2ab01124f7b838ece61/adafruit-circuitpython-ccs811-1.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b62553172e5c02eabc0714db86593119", "sha256": "dc552d7377943d602b2df64edaf3c7ee6c5dd73917f40c54e7dd6ce1c851c38b" }, "downloads": -1, "filename": "adafruit-circuitpython-ccs811-1.1.6.tar.gz", "has_sig": false, "md5_digest": "b62553172e5c02eabc0714db86593119", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23258, "upload_time": "2019-08-23T17:29:59", "url": "https://files.pythonhosted.org/packages/fc/da/1144f88155efef3e6a026a75bafd8f0ea73f9acdb2ab01124f7b838ece61/adafruit-circuitpython-ccs811-1.1.6.tar.gz" } ] }