{ "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-ws2801/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/ws2801/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_WS2801.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_WS2801\n :alt: Build Status\n\nHigher level WS2801 driver that presents the LED string as a sequence.\nIt is the same api as the\n`NeoPixel library `_.\n\nColors are stored as tuples by default. However, you can also use int hex syntax\nto set values similar to colors on the web. For example, ``0x800000`` (``#800000``\non the web) is equivalent to ``(0x80, 0, 0)``.\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\nThis example demonstrates the library driving \n`a strand of 25 RGB leds `_ by a\n`Gemma M0 `_ using the hardware SPI capable outputs.\n\n.. code-block:: python\n\n import board\n import adafruit_ws2801\n\n leds = adafruit_ws2801.WS2801(board.D2, board.D0, 25)\n leds.fill((0x80, 0, 0))\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\nZip release files\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-ws2801 --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_WS2801", "keywords": "adafruit ws2801 leds led rgb hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-ws2801", "package_url": "https://pypi.org/project/adafruit-circuitpython-ws2801/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-ws2801/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_WS2801" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-ws2801/0.9.2/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for WS2801 LEDs.", "version": "0.9.2" }, "last_serial": 4697159, "releases": { "0.9.0": [ { "comment_text": "", "digests": { "md5": "9f60829daa21d35296fcf600de30e959", "sha256": "cfa9a7cabd0a8943de46db60b86301a4688f7b46de57568bebcac9dcea67f211" }, "downloads": -1, "filename": "adafruit-circuitpython-ws2801-0.9.0.tar.gz", "has_sig": false, "md5_digest": "9f60829daa21d35296fcf600de30e959", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21154, "upload_time": "2018-08-08T22:25:06", "url": "https://files.pythonhosted.org/packages/8d/cc/ace3c49d7c0a25ce671bd4ff16a9f0d3f82e1b322c7b3837ccc8dd295b69/adafruit-circuitpython-ws2801-0.9.0.tar.gz" } ], "0.9.1": [ { "comment_text": "", "digests": { "md5": "b91f014d3ef48da7423dcf7ce968b552", "sha256": "15527d510214601189a306175a01f18ccbeaed35e0ec6ff4e89b98b6d20a4c6a" }, "downloads": -1, "filename": "adafruit-circuitpython-ws2801-0.9.1.tar.gz", "has_sig": false, "md5_digest": "b91f014d3ef48da7423dcf7ce968b552", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21160, "upload_time": "2018-11-12T17:43:04", "url": "https://files.pythonhosted.org/packages/22/09/7f21be092a16dff1c5456cea872024cd8617a5c857f3a3112bf3af135456/adafruit-circuitpython-ws2801-0.9.1.tar.gz" } ], "0.9.2": [ { "comment_text": "", "digests": { "md5": "fb9167e528e1b713c9a3dbde46cea6cc", "sha256": "c2172bf6ce17bea497aa595899e4ba46eb01cb7fc6a2db70dbf114b408311726" }, "downloads": -1, "filename": "adafruit-circuitpython-ws2801-0.9.2.tar.gz", "has_sig": false, "md5_digest": "fb9167e528e1b713c9a3dbde46cea6cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20148, "upload_time": "2019-01-15T03:15:09", "url": "https://files.pythonhosted.org/packages/84/08/0dc8a39694a8206bb19bbf4098946ce53bc4fb4026a298e67b0eb46d4ec9/adafruit-circuitpython-ws2801-0.9.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fb9167e528e1b713c9a3dbde46cea6cc", "sha256": "c2172bf6ce17bea497aa595899e4ba46eb01cb7fc6a2db70dbf114b408311726" }, "downloads": -1, "filename": "adafruit-circuitpython-ws2801-0.9.2.tar.gz", "has_sig": false, "md5_digest": "fb9167e528e1b713c9a3dbde46cea6cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20148, "upload_time": "2019-01-15T03:15:09", "url": "https://files.pythonhosted.org/packages/84/08/0dc8a39694a8206bb19bbf4098946ce53bc4fb4026a298e67b0eb46d4ec9/adafruit-circuitpython-ws2801-0.9.2.tar.gz" } ] }