{ "info": { "author": "Tom Smith", "author_email": "tom@takeontom.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3.5" ], "description": "===============================\nPyLuxafor\n===============================\n\n\n.. image:: https://img.shields.io/pypi/v/pyluxafor.svg\n :target: https://pypi.python.org/pypi/pyluxafor\n :remote:\n\n.. image:: https://img.shields.io/travis/takeontom/pyluxafor.svg\n :target: https://travis-ci.org/takeontom/pyluxafor\n :remote:\n\n.. image:: https://readthedocs.org/projects/pyluxafor/badge/?version=latest\n :target: https://pyluxafor.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n :remote:\n\n.. image:: https://pyup.io/repos/github/takeontom/pyluxafor/shield.svg\n :target: https://pyup.io/repos/github/takeontom/pyluxafor/\n :alt: Updates\n :remote:\n\n\nPython API for the Luxafor Flag\n\n\n* Free software: MIT license\n* Documentation: https://pyluxafor.readthedocs.io.\n\n\nFeatures\n--------\n\n* Python 3+\n* Simple, clean API to control the\n `Luxafor Flag `\n* Where possible, allows the setting of multiple, specific LEDs at once.\n\n\nInstallation\n------------\n\nInstall via pip::\n\n $ pip install pyluxafor\n\nCreate the file: `/etc/udev/rules.d/10-luxafor.rules` with the following\ncontents::\n\n ACTION==\"add\", SUBSYSTEM==\"usb\", ATTRS{idProduct}==\"f372\", ATTRS{idVendor}==\"04d8\", MODE:=\"666\"\n\nThen reload udev::\n\n $ sudo service udev reload\n\nThen unplug your Luxafor Flag and reinsert it.\n\nExample usage\n-------------\n\n::\n\n from pyluxafor import LuxaforFlag\n from time import sleep\n\n flag = LuxaforFlag()\n flag.off()\n flag.do_fade_colour(\n leds=[LuxaforFlag.LED_TAB_1, LuxaforFlag.LED_BACK_1, LuxaforFlag.LED_BACK_2],\n r=10, g=10, b=0,\n duration=255\n )\n flag.do_static_colour(leds=LuxaforFlag.LED_BACK_3, r=0, g=0, b=100)\n\n sleep(3)\n flag.off()\n\n flag.do_pattern(LuxaforFlag.PATTERN_POLICE, 3)\n\n\nCredits\n---------\n\nMany thanks to `vmitchell85 ` for his\n`luxafor-python ` project,\nwhich provided the initial inspiration for this project, and provided easy\nanswers to the problems I encountered.\n\nIf you're looking to control a Luxafor Flag in Windows using Python,\nvmitchell85's project is probably the best bet:\n\n* https://github.com/vmitchell85/luxafor-python\n\n\n=======\nHistory\n=======\n\n0.1.0 (2016-12-13)\n------------------\n\n* First release on PyPI.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/takeontom/pyluxafor", "keywords": "pyluxafor", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "pyluxafor", "package_url": "https://pypi.org/project/pyluxafor/", "platform": "", "project_url": "https://pypi.org/project/pyluxafor/", "project_urls": { "Homepage": "https://github.com/takeontom/pyluxafor" }, "release_url": "https://pypi.org/project/pyluxafor/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Python API for the Luxafor Flag", "version": "0.2.0" }, "last_serial": 2517215, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "9cae66ee3d30c670647d953838dfd829", "sha256": "d44e69e33d60278d8240d2924192fa702f9b3e18e03e31a2ddfe13d15895b24b" }, "downloads": -1, "filename": "pyluxafor-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9cae66ee3d30c670647d953838dfd829", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 5897, "upload_time": "2016-12-13T20:47:14", "url": "https://files.pythonhosted.org/packages/f9/51/f46146d6e98400c9d1a203d52d756ac76be3b42ecbc0e7f3960694b342e9/pyluxafor-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0cea9c4b6db0998ff9de2995fcb4c0e2", "sha256": "d41bf178a28d8f93458d6cf958bf5c12a3b3b60ea04a1e6f9033de23e655e207" }, "downloads": -1, "filename": "pyluxafor-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0cea9c4b6db0998ff9de2995fcb4c0e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14278, "upload_time": "2016-12-13T20:47:01", "url": "https://files.pythonhosted.org/packages/b5/1e/e46b897496d4a1efdab2f78a3f7147380fe9db2cc63547ef6c0dfab237cd/pyluxafor-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "a1ab5a6b45ce7659edde984022d293b0", "sha256": "576ecbe7406107f58790269a6b09649a4af14ffa4054e234b66f61257468fa06" }, "downloads": -1, "filename": "pyluxafor-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a1ab5a6b45ce7659edde984022d293b0", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 5950, "upload_time": "2016-12-13T21:00:33", "url": "https://files.pythonhosted.org/packages/60/e3/6158ee76e342efde4eef75d9375e81f2e277783d99fe34f970aa81e9797b/pyluxafor-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "53f1bf4a50e9747d56855d60a60782e4", "sha256": "9a810886503657f5fdc1314b081d11cd5b1ae9d5eaef2f751947d98de5627615" }, "downloads": -1, "filename": "pyluxafor-0.2.0.tar.gz", "has_sig": false, "md5_digest": "53f1bf4a50e9747d56855d60a60782e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23233, "upload_time": "2016-12-13T21:00:27", "url": "https://files.pythonhosted.org/packages/33/91/519c8ce34c4456ddd7488239a8899952247d430ff7b17fd8b720707294fe/pyluxafor-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a1ab5a6b45ce7659edde984022d293b0", "sha256": "576ecbe7406107f58790269a6b09649a4af14ffa4054e234b66f61257468fa06" }, "downloads": -1, "filename": "pyluxafor-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a1ab5a6b45ce7659edde984022d293b0", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 5950, "upload_time": "2016-12-13T21:00:33", "url": "https://files.pythonhosted.org/packages/60/e3/6158ee76e342efde4eef75d9375e81f2e277783d99fe34f970aa81e9797b/pyluxafor-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "53f1bf4a50e9747d56855d60a60782e4", "sha256": "9a810886503657f5fdc1314b081d11cd5b1ae9d5eaef2f751947d98de5627615" }, "downloads": -1, "filename": "pyluxafor-0.2.0.tar.gz", "has_sig": false, "md5_digest": "53f1bf4a50e9747d56855d60a60782e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23233, "upload_time": "2016-12-13T21:00:27", "url": "https://files.pythonhosted.org/packages/33/91/519c8ce34c4456ddd7488239a8899952247d430ff7b17fd8b720707294fe/pyluxafor-0.2.0.tar.gz" } ] }