{ "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 DotStar\n==============================\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-dotstar/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/dotstar/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_DotStar.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_DotStar\n :alt: Build Status\n\nHigher level DotStar driver that presents the strip as a sequence. It is the\nsame api as the `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, ``0x100000`` (``#100000``\non the web) is equivalent to ``(0x10, 0, 0)``.\n\nIf you send a tuple with 4 values, you can control the brightness value, which appears in DotStar but not NeoPixels.\nIt should be a float. For example, (0xFF,0,0, 1.0) is the brightest red possible, (1,0,0,0.01) is the dimmest red possible.\n\n.. note:: The int hex API represents the brightness of the white pixel when\n present by setting the RGB channels to identical values. For example, full\n white is 0xffffff but is actually (0xff, 0xff, 0xff) in the tuple syntax. \n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython `_\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 with the single built-in DotStar on the\n`Trinket M0 `_ and\n`Gemma M0 `_.\n\n.. code-block:: python\n\n import board\n import adafruit_dotstar\n\n pixels = adafruit_dotstar.DotStar(board.APA102_SCK, board.APA102_MOSI, 1)\n pixels[0] = (10, 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\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-dotstar --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_DotStar", "keywords": "adafruit dotstar leds rgb spi addressable hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-dotstar", "package_url": "https://pypi.org/project/adafruit-circuitpython-dotstar/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-dotstar/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_DotStar" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-dotstar/1.5.0/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for DotStar LEDs.", "version": "1.5.0" }, "last_serial": 4701387, "releases": { "1.3.0": [ { "comment_text": "", "digests": { "md5": "c7d2ffed9b53f5328906294edfd08f23", "sha256": "01d29494f41e39b897ed52302e4c3fd6e077b411623889ca96ee106d1c85d39b" }, "downloads": -1, "filename": "adafruit-circuitpython-dotstar-1.3.0.tar.gz", "has_sig": false, "md5_digest": "c7d2ffed9b53f5328906294edfd08f23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21983, "upload_time": "2018-08-03T23:54:31", "url": "https://files.pythonhosted.org/packages/28/7d/d6126de39301d42eee5055aca6726ae924a9ef068af860d1e0ac4195346e/adafruit-circuitpython-dotstar-1.3.0.tar.gz" } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "bfd2cd30d5fc2cd6a0eb83d8d1bbc67f", "sha256": "e29c49e69c901bad6fccb70bdcbe8c80c45fb62c63565ee1c58428b7630498b6" }, "downloads": -1, "filename": "adafruit-circuitpython-dotstar-1.4.0.tar.gz", "has_sig": false, "md5_digest": "bfd2cd30d5fc2cd6a0eb83d8d1bbc67f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21998, "upload_time": "2018-10-16T17:52:57", "url": "https://files.pythonhosted.org/packages/08/97/1728b7580fae612de1f4b4119e0f4fc246e68ee1e72da7efaa45ab5c0c8c/adafruit-circuitpython-dotstar-1.4.0.tar.gz" } ], "1.5.0": [ { "comment_text": "", "digests": { "md5": "71ba2d9499231c582cc146c088ae9a19", "sha256": "9bfdd8fc300a772445ce7152eecb7655d2d92c9d7d8ea71e5b983a72706d2a20" }, "downloads": -1, "filename": "adafruit-circuitpython-dotstar-1.5.0.tar.gz", "has_sig": false, "md5_digest": "71ba2d9499231c582cc146c088ae9a19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29369, "upload_time": "2019-01-16T03:31:50", "url": "https://files.pythonhosted.org/packages/5d/fa/124c2f2f349c060f4e6bc8f08cd026ec82aa1a826795799cf2cd417a89de/adafruit-circuitpython-dotstar-1.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "71ba2d9499231c582cc146c088ae9a19", "sha256": "9bfdd8fc300a772445ce7152eecb7655d2d92c9d7d8ea71e5b983a72706d2a20" }, "downloads": -1, "filename": "adafruit-circuitpython-dotstar-1.5.0.tar.gz", "has_sig": false, "md5_digest": "71ba2d9499231c582cc146c088ae9a19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29369, "upload_time": "2019-01-16T03:31:50", "url": "https://files.pythonhosted.org/packages/5d/fa/124c2f2f349c060f4e6bc8f08cd026ec82aa1a826795799cf2cd417a89de/adafruit-circuitpython-dotstar-1.5.0.tar.gz" } ] }