{ "info": { "author": "Shenghao Yang", "author_email": "me@shenghaoyang.info", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries" ], "description": "apa102_gpiod\n------------\nA python library for accessing ``APA102`` addressable LEDs using ``libgpiod``,\na library used to access the userspace gpio character device.\n\nUseful for situations where you need to drive LEDs attached to non-SPI capable\nI/O lines, or when the in-kernel ``spi-gpio`` driver is not available (example:\nPimoroni Blinkt on the default kernels from mainstream distributions)\n\nThe usage of this library is probably frowned upon by virture of\n``linux/Documentation/driver-api/gpio/drivers-on-gpio.rst``, so go and pressure\nthe Raspberry Pi kernel devs to include ``spi-gpio``, so we wouldn't have to\nresort to custom out-of-tree kernels or _evil bitbanging in userspace_!\n\nPrerequisites\n-------------\n- Linux Kernel >= ``4.8``\n- ``libgpiod`` >= ``039b301b173c78664775d1ea93493825ef80c9d4``\n- Python >= ``3.6``\n\nInstallation\n------------\n- ``libgpiod``\n - ``https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/``\n - Remember to ``--enable-bindings-python`` when configuring.\n- ``apa102_gpiod``\n - ``pip install apa102_gpiod``\n\nTests\n-----\n- Tests can be found in the ``test`` directory.\n - Only unit tests are present now, more tests welcome.\n- Use your favourite test runner to run the tests, or:\n - ``pip install setuptools``\n - ``pip install pytest``\n - ``python setup.py test``\n\n\nPerformance\n-----------\nSince we're accessing the GPIOs through the character device and not through\nsome memory-mapped magic, performance is guaranteed to be lower. Here are some\ntest results:\n\nDevice | Software | Achieved data rate (``kByte/s``)\n-------| --------------------------------| --------------------------------\nRPI3 B | Arch Linux ARM Linux 4.14.37 | 13962\n\nCaveats\n-------\n- No clock rate control is implemented, since the achieved data rates are\n way below the maximum data rates supported by the ``APA102``.\n - File an issue report if needed.\n\nExamples\n--------\nSee the ``examples`` directory.\n\nLicensing\n---------\nThis project is licensed under the *MIT License*.\nSee ``LICENSE.txt`` for more details.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/shenghaoyang/apa102_gpiod", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "apa102-gpiod", "package_url": "https://pypi.org/project/apa102-gpiod/", "platform": "", "project_url": "https://pypi.org/project/apa102-gpiod/", "project_urls": { "Homepage": "http://github.com/shenghaoyang/apa102_gpiod" }, "release_url": "https://pypi.org/project/apa102-gpiod/0.3.0/", "requires_dist": null, "requires_python": ">=3.6, <4", "summary": "apa102 driver using userspace gpio character device through libgpiod", "version": "0.3.0" }, "last_serial": 3871651, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "7f6c85d974670ad2c76674bff5a76872", "sha256": "cfd540ca2796cc4bf999fbf33b10ad2fc314b1e1ccbdf8afad86aaa8a42fa0ba" }, "downloads": -1, "filename": "apa102_gpiod-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7f6c85d974670ad2c76674bff5a76872", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6, <4", "size": 5412, "upload_time": "2018-04-30T08:55:18", "url": "https://files.pythonhosted.org/packages/50/20/52556fcdfd37f88c4686b2f0030a5bad2e1704537e795e07679b968bbe4c/apa102_gpiod-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "98a3ba37e464e3326d04b0adee2ea463", "sha256": "d8c2e4272020328cb49d923522ef1fffa66a67f8daffcb7ba59871a99fb0e503" }, "downloads": -1, "filename": "apa102_gpiod-0.1.2.tar.gz", "has_sig": false, "md5_digest": "98a3ba37e464e3326d04b0adee2ea463", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6, <4", "size": 5464, "upload_time": "2018-05-03T05:48:26", "url": "https://files.pythonhosted.org/packages/21/e3/7773dffda014d972771c0257aa24c3d3e753832a5a4ea9e287847b3b6019/apa102_gpiod-0.1.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "d3976e8edf81e079b496f7b3d10ec115", "sha256": "64f1ce5744813ab48f8659aec5294d2d9c5d2ddc48dc7eee38d7ca82e6b07775" }, "downloads": -1, "filename": "apa102_gpiod-0.3.0.tar.gz", "has_sig": false, "md5_digest": "d3976e8edf81e079b496f7b3d10ec115", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6, <4", "size": 5836, "upload_time": "2018-05-17T09:31:07", "url": "https://files.pythonhosted.org/packages/8d/93/541d43e39d0eca8c38cbb268e36576592ad15eba707e55faafe7c52dd291/apa102_gpiod-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d3976e8edf81e079b496f7b3d10ec115", "sha256": "64f1ce5744813ab48f8659aec5294d2d9c5d2ddc48dc7eee38d7ca82e6b07775" }, "downloads": -1, "filename": "apa102_gpiod-0.3.0.tar.gz", "has_sig": false, "md5_digest": "d3976e8edf81e079b496f7b3d10ec115", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6, <4", "size": 5836, "upload_time": "2018-05-17T09:31:07", "url": "https://files.pythonhosted.org/packages/8d/93/541d43e39d0eca8c38cbb268e36576592ad15eba707e55faafe7c52dd291/apa102_gpiod-0.3.0.tar.gz" } ] }