{ "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-tsl2561/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/tsl2561/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_TSL2561.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_TSL2561\n :alt: Build Status\n\nCircuitPython driver for TSL2561 Light 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 Example\n=============\n\n.. code-block:: python\n\n >>> import board\n >>> import busio\n >>> i2c = busio.I2C(board.SCL, board.SDA)\n >>> import adafruit_tsl2561\n >>> tsl = adafruit_tsl2561.TSL2561(i2c)\n >>> tsl.lux\n 3294.37\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-tls2561 --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_TSL2561", "keywords": "adafruit tsl2561 light sensor hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-tsl2561", "package_url": "https://pypi.org/project/adafruit-circuitpython-tsl2561/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-tsl2561/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_TSL2561" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-tsl2561/3.2.2/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for TSL2561 Light Sensor.", "version": "3.2.2" }, "last_serial": 5722026, "releases": { "3.1.1": [ { "comment_text": "", "digests": { "md5": "7f8ad06ef9155ab84f09cb05a229409d", "sha256": "ccfb1727ead549c55ec5bb349dc482294d25d699100671c60d8467700e0f297d" }, "downloads": -1, "filename": "adafruit-circuitpython-tsl2561-3.1.1.tar.gz", "has_sig": false, "md5_digest": "7f8ad06ef9155ab84f09cb05a229409d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20634, "upload_time": "2018-08-08T22:05:03", "url": "https://files.pythonhosted.org/packages/2c/21/222efca69a307592a339ed7e698b9b1e4ff9fc3916fb3d8a928ac8bde2e2/adafruit-circuitpython-tsl2561-3.1.1.tar.gz" } ], "3.1.2": [ { "comment_text": "", "digests": { "md5": "36a9ac37928a2fdef9e2da8aad45051a", "sha256": "b792880e2187f5d64a7e18eafbb4b873216d0e727d93c7660921febf56c79ec7" }, "downloads": -1, "filename": "adafruit-circuitpython-tsl2561-3.1.2.tar.gz", "has_sig": false, "md5_digest": "36a9ac37928a2fdef9e2da8aad45051a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20639, "upload_time": "2018-11-12T17:41:20", "url": "https://files.pythonhosted.org/packages/f1/e9/2a57d847d9a204dccd81ad8c456781f25f6bc64e861a6a22579ab00916b2/adafruit-circuitpython-tsl2561-3.1.2.tar.gz" } ], "3.1.3": [ { "comment_text": "", "digests": { "md5": "32bb61a036d5a159311156f9c222efcc", "sha256": "56e46f340e6c61923d68fb9f39194efdc1369c94c408250c4dda287c274b960e" }, "downloads": -1, "filename": "adafruit-circuitpython-tsl2561-3.1.3.tar.gz", "has_sig": false, "md5_digest": "32bb61a036d5a159311156f9c222efcc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19433, "upload_time": "2019-01-15T00:25:09", "url": "https://files.pythonhosted.org/packages/1f/f4/7aa9a97f1b0c5d6a4cfd61c84db308140318a0d3314c0ff36d651883e0d5/adafruit-circuitpython-tsl2561-3.1.3.tar.gz" } ], "3.2.0": [ { "comment_text": "", "digests": { "md5": "2167b7768c034625b69683ba5a0190d3", "sha256": "f9c5366482e0ea495193387413c94031528180d36eb314cb37245896a51b323b" }, "downloads": -1, "filename": "adafruit-circuitpython-tsl2561-3.2.0.tar.gz", "has_sig": false, "md5_digest": "2167b7768c034625b69683ba5a0190d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19925, "upload_time": "2019-02-07T01:09:53", "url": "https://files.pythonhosted.org/packages/57/f3/b804cd370d1ccf9b70d1274ecf23b4f10e34f0c0aaa873375fb5e3da9141/adafruit-circuitpython-tsl2561-3.2.0.tar.gz" } ], "3.2.1": [ { "comment_text": "", "digests": { "md5": "3eaf6018bfe466170d7eab7356c86568", "sha256": "8cf504a3ace72920c5be2146c22a9ac4e6ecf7f8aa75bb4fac1e4cefeb0bc7b1" }, "downloads": -1, "filename": "adafruit-circuitpython-tsl2561-3.2.1.tar.gz", "has_sig": false, "md5_digest": "3eaf6018bfe466170d7eab7356c86568", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19941, "upload_time": "2019-06-18T16:48:52", "url": "https://files.pythonhosted.org/packages/77/e5/52ea9fcdefddd12d55686a70737a62f8e2ab3ca23b2072a7518723ad8c62/adafruit-circuitpython-tsl2561-3.2.1.tar.gz" } ], "3.2.2": [ { "comment_text": "", "digests": { "md5": "de442bea8f80f2872abbfc82bd5da513", "sha256": "48a90f7ca386d77cc5acae14d9127008aee112981c65744290b8b6a9692f8740" }, "downloads": -1, "filename": "adafruit-circuitpython-tsl2561-3.2.2.tar.gz", "has_sig": false, "md5_digest": "de442bea8f80f2872abbfc82bd5da513", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19941, "upload_time": "2019-08-23T18:15:54", "url": "https://files.pythonhosted.org/packages/07/02/c68e520e38bda2983b9ee1fdcaf6eb4d81357e9c85f50d03c1e0579fd383/adafruit-circuitpython-tsl2561-3.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "de442bea8f80f2872abbfc82bd5da513", "sha256": "48a90f7ca386d77cc5acae14d9127008aee112981c65744290b8b6a9692f8740" }, "downloads": -1, "filename": "adafruit-circuitpython-tsl2561-3.2.2.tar.gz", "has_sig": false, "md5_digest": "de442bea8f80f2872abbfc82bd5da513", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19941, "upload_time": "2019-08-23T18:15:54", "url": "https://files.pythonhosted.org/packages/07/02/c68e520e38bda2983b9ee1fdcaf6eb4d81357e9c85f50d03c1e0579fd383/adafruit-circuitpython-tsl2561-3.2.2.tar.gz" } ] }