{ "info": { "author": "Adafruit Industries & Damien P. George", "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 NeoPixel\n===============================\n\n.. image:: https://readthedocs.org/projects/adafruit-circuitpython-neopixel/badge/?version=latest\n :target: https://circuitpython.readthedocs.io/projects/neopixel/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_NeoPixel.svg?branch=master\n :target: https://travis-ci.com/adafruit/Adafruit_CircuitPython_NeoPixel\n :alt: Build Status\n\nHigher level NeoPixel driver that presents the strip as a sequence. This is a\nsupercharged version of the original MicroPython driver. Its now more like a\nnormal Python sequence and features slice support, ``repr`` and ``len`` support.\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\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 (0, 0, 0, 0xff) in the tuple syntax. Setting\n a pixel value with an int will use the white pixel if the RGB channels are\n identical. For full, independent, control of each color component use the\n 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 NeoPixel on the\n`Feather M0 Express `_ and\n`Metro M0 Express `_.\n\n.. code-block:: python\n\n import board\n import neopixel\n\n pixels = neopixel.NeoPixel(board.NEOPIXEL, 1)\n pixels[0] = (10, 0, 0)\n\nThis example demonstrates the library with the ten built-in NeoPixels on the\n`Circuit Playground Express `_. It turns\noff ``auto_write`` so that all pixels are updated at once when the ``show``\nmethod is called.\n\n.. code-block:: python\n\n import board\n import neopixel\n\n pixels = neopixel.NeoPixel(board.NEOPIXEL, 10, auto_write=False)\n pixels[0] = (10, 0, 0)\n pixels[9] = (0, 10, 0)\n pixels.show()\n\nThis example demonstrates using a single NeoPixel tied to a GPIO pin and with\na ``pixel_order`` to specify the color channel order. Note that ``bpp`` does not\nneed to be specified as it is computed from the supplied ``pixel_order``.\n\n.. code-block:: python\n\n import board\n import neopixel\n\n pixel = neopixel.NeoPixel(board.D0, 1, pixel_order=neopixel.RGBW)\n pixel[0] = (30, 0, 20, 10)\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-neopixel --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_NeoPixel", "keywords": "adafruit neopixel rgb rgbw led hardware micropython circuitpython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "adafruit-circuitpython-neopixel", "package_url": "https://pypi.org/project/adafruit-circuitpython-neopixel/", "platform": "", "project_url": "https://pypi.org/project/adafruit-circuitpython-neopixel/", "project_urls": { "Homepage": "https://github.com/adafruit/Adafruit_CircuitPython_NeoPixel" }, "release_url": "https://pypi.org/project/adafruit-circuitpython-neopixel/3.4.0/", "requires_dist": null, "requires_python": "", "summary": "CircuitPython library for NeoPixel LEDs.", "version": "3.4.0" }, "last_serial": 5952229, "releases": { "3.3.0": [ { "comment_text": "", "digests": { "md5": "50285ec262af82f33e69b23790ebec4a", "sha256": "30fde13c9c47dc4abdbc2a5c0a9f0dc318016a446cd84e4a7ea0482a2ff7105d" }, "downloads": -1, "filename": "adafruit-circuitpython-neopixel-3.3.0.tar.gz", "has_sig": false, "md5_digest": "50285ec262af82f33e69b23790ebec4a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22555, "upload_time": "2018-08-03T18:01:27", "url": "https://files.pythonhosted.org/packages/13/be/247b778e7777c548b31b33761879cd1c2d2350402c2209abf7e883cba3fd/adafruit-circuitpython-neopixel-3.3.0.tar.gz" } ], "3.3.1": [ { "comment_text": "", "digests": { "md5": "709d02ed9555e5eb81614932d6e0d697", "sha256": "bf49e8a18d1065f02189a92a859bf576213694229e7a75bfeef2ebfcdedaedff" }, "downloads": -1, "filename": "adafruit-circuitpython-neopixel-3.3.1.tar.gz", "has_sig": false, "md5_digest": "709d02ed9555e5eb81614932d6e0d697", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22554, "upload_time": "2018-08-25T21:23:26", "url": "https://files.pythonhosted.org/packages/cf/8d/240a15027b80c1204f903d51a5c72046dc326f3151d147bb1b0fc230e357/adafruit-circuitpython-neopixel-3.3.1.tar.gz" } ], "3.3.2": [ { "comment_text": "", "digests": { "md5": "da2bba660b0843638136858ca30607f2", "sha256": "23f234860a5cbabb42348d00c346af9bdc8b00787ed7a6e97fb732fadbf93886" }, "downloads": -1, "filename": "adafruit-circuitpython-neopixel-3.3.2.tar.gz", "has_sig": false, "md5_digest": "da2bba660b0843638136858ca30607f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22645, "upload_time": "2018-10-17T21:20:09", "url": "https://files.pythonhosted.org/packages/2a/51/26062159de1de45130860c30092b2515d5e17c3345b1c0289c2d2a4d1485/adafruit-circuitpython-neopixel-3.3.2.tar.gz" } ], "3.3.4": [ { "comment_text": "", "digests": { "md5": "f1f93fbad8eb5ff4f2f919b9fa1fe29e", "sha256": "30a02c309e8ef851395e6aa75987062d8919e10a9a51c25ac3b266f6f64ddb61" }, "downloads": -1, "filename": "adafruit-circuitpython-neopixel-3.3.4.tar.gz", "has_sig": false, "md5_digest": "f1f93fbad8eb5ff4f2f919b9fa1fe29e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22948, "upload_time": "2018-10-30T01:03:43", "url": "https://files.pythonhosted.org/packages/2a/89/ac49d02b5ff22db2a8db0bbdb4a66482c5fa1b38df5d73b1e455b5270a06/adafruit-circuitpython-neopixel-3.3.4.tar.gz" } ], "3.3.5": [ { "comment_text": "", "digests": { "md5": "c20c480e83a4b4e29913ef0e2b76c608", "sha256": "a0fe74ad1f506cfb8f14c746901dd1c29e963d45e417687301c3d84a7e24b8ea" }, "downloads": -1, "filename": "adafruit-circuitpython-neopixel-3.3.5.tar.gz", "has_sig": false, "md5_digest": "c20c480e83a4b4e29913ef0e2b76c608", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21064, "upload_time": "2019-01-16T00:18:13", "url": "https://files.pythonhosted.org/packages/d0/ab/d60f104e52bcfcfa29762aad8767d964cc5809868fed9969def0139b5728/adafruit-circuitpython-neopixel-3.3.5.tar.gz" } ], "3.3.6": [ { "comment_text": "", "digests": { "md5": "fd69dadec5e655e0cf472e2add68876c", "sha256": "2bb83a94ed7701db92738e769d205f70cda6acbdd08db1a19f5ad14a5ffe1df2" }, "downloads": -1, "filename": "adafruit-circuitpython-neopixel-3.3.6.tar.gz", "has_sig": false, "md5_digest": "fd69dadec5e655e0cf472e2add68876c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21069, "upload_time": "2019-03-20T22:15:34", "url": "https://files.pythonhosted.org/packages/7c/cb/b4ecc18843d80689e8e7bb242ab065b4ec05a1f33eb9344fe7f39600e867/adafruit-circuitpython-neopixel-3.3.6.tar.gz" } ], "3.3.7": [ { "comment_text": "", "digests": { "md5": "a3a30bf2b13e3dbaf4d36f7cd842d338", "sha256": "b280f3ef9ecf4f307cd7ebf1952ee802ee050faf96ff3c70d61e95ed609dc609" }, "downloads": -1, "filename": "adafruit-circuitpython-neopixel-3.3.7.tar.gz", "has_sig": false, "md5_digest": "a3a30bf2b13e3dbaf4d36f7cd842d338", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21079, "upload_time": "2019-05-11T15:24:24", "url": "https://files.pythonhosted.org/packages/f8/f3/a9c114f66ae5e5c4da390991109442c33baa76a69e615bfdca5bc8c668bf/adafruit-circuitpython-neopixel-3.3.7.tar.gz" } ], "3.4.0": [ { "comment_text": "", "digests": { "md5": "3da3baf553264d61fe1d30fa9ef9fc34", "sha256": "a961eb84041bc21f33750b4eb4604edf5b7d00fbe7687969a1699d5d9e75534b" }, "downloads": -1, "filename": "adafruit-circuitpython-neopixel-3.4.0.tar.gz", "has_sig": false, "md5_digest": "3da3baf553264d61fe1d30fa9ef9fc34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22872, "upload_time": "2019-10-09T22:05:19", "url": "https://files.pythonhosted.org/packages/7c/23/7bdba7f48f2129dea0bb384b3ebaad0a579114595c9e3e5e02c51d75138a/adafruit-circuitpython-neopixel-3.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3da3baf553264d61fe1d30fa9ef9fc34", "sha256": "a961eb84041bc21f33750b4eb4604edf5b7d00fbe7687969a1699d5d9e75534b" }, "downloads": -1, "filename": "adafruit-circuitpython-neopixel-3.4.0.tar.gz", "has_sig": false, "md5_digest": "3da3baf553264d61fe1d30fa9ef9fc34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22872, "upload_time": "2019-10-09T22:05:19", "url": "https://files.pythonhosted.org/packages/7c/23/7bdba7f48f2129dea0bb384b3ebaad0a579114595c9e3e5e02c51d75138a/adafruit-circuitpython-neopixel-3.4.0.tar.gz" } ] }