{ "info": { "author": "Denver P", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Programming Language :: Python :: 3", "Topic :: Home Automation" ], "description": "[![PyPI Version](https://img.shields.io/pypi/v/lifxtools.svg)](https://pypi.python.org/pypi/lifxtools/)\n[![GitHub release](https://img.shields.io/github/release-pre/drtexxofficial/lifxtools.svg)](https://GitHub.com/DrTexx/lifxtools/releases/)\n[![GitHub license](https://img.shields.io/github/license/DrTexx/lifxtools.svg?branch=master)](https://github.com/DrTexx/lifxtools/blob/master/LICENSE)\n[![Github all releases](https://img.shields.io/github/downloads/DrTexx/lifxtools/total.svg)](https://GitHub.com/DrTexx/lifxtools/releases/)\n[![Platform: Windows,Mac,Linux](https://img.shields.io/badge/Platform-Windows%20%7C%20Mac%20%7C%20Linux-blue.svg)](#)\n\n\n# lifxtools\n\n_[NOTE]: This readme is a work-in-progress. If you require any specific information, please submit a github issue. I will try my best to address any questions you have in this readme once I get the chance. Thanks! :)_\n\n_[NOTE]: For the moment, live_audio_level.py is WAAAAY less responsive on Windows than on Linux, this is being worked on._\n\n_[NOTE]: The latest version of a dependency (PyAudio v0.2.11) doesn't support the most recent version of python (3.7.4) on Windows 10 as of this commit (2019/10/07 @ 07:75PM)_\n\n_[NOTE]: Mac requires a method to pipe your desktop audio into an audio input, soundflower can be used for this_\n\n## Starting scripts\n1. Ensure you've navigated to the root of the repo after cloning\n\n### GUI (WIP)\n#### Linux\n1. `python3 -m lifxtools`\n\n### Real-time Audio Visualiser\n#### Linux\n1. `chmod +x live_audio_level.py` (ensure live_audio_level.py is executable)\n1. `python3 -m venv venv` (set up a venv)\n1. `source venv/bin/activate` (activate the venv)\n1. `pip install -r requirements.txt` (install the necessary requirements)\n1. `./live_audio_level.py` (launch the script)\n\n\n\n## Notable usages\n### average_screen_color.py\n(Ultra-slow fade mode)\nStanley Kubrick's A Clockwork Orange is well enhanced by the effect of average_screen_color.py; first few minutes of the film are of particularly strong effect.\n\n(Slow fade mode)\nBlade Runner (1997). Movie full of both muted and vibrant tones. Takes full advantage of the vividness of the colour of lifx bulbs\n\n(Game fade mode)\nHalf-Life 2: Episode 1. The first few levels of this game are truly awesome with live colour averages.\n\n## Todo\n### Public Transport API Intergration\nIntergration for multiple public transport APIs. This will involve making a package to translate multiple APIs to the general format (which is likely object-based)\n\nPlanned APIs to intergrate:\n- PTV (Public Transport Victoria)\n\n### Better colours for \"Dusk and Dawn\" lifx bulbs\nThe plan:\n\n| color condition | effect |\n| --- | --- |\n| blue > red | cooler light |\n| blue == red | neutral light |\n| blue < red | warmer light |\n\n### Add preferences for monitor refresh related\nWith the addition of benchmarking capabilities available to the user, this will allow users to compare their color average processing time with the refresh rate of their displays. Ideally, this number should be as close to matching as possible (with consideration for network speed also)\n\n### Don't send packets if colour is identical to last sent colour\nThis has the intention of saving network bandwidth (and potenially a small amount of processing time)\n\n### Add firewall issue detection\nAdd tests for if a firewall is in place and whether it may cause issues for the scripts, if it's detected that it will, return a verbose error to the user to help them rectify the issue.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/DrTexx/lifxtools", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "lifxtools", "package_url": "https://pypi.org/project/lifxtools/", "platform": "", "project_url": "https://pypi.org/project/lifxtools/", "project_urls": { "Bug Reports": "https://github.com/DrTexx/lifxtools/issues", "Homepage": "https://github.com/DrTexx/lifxtools", "Source": "https://github.com/DrTexx/lifxtools/" }, "release_url": "https://pypi.org/project/lifxtools/0.3.2/", "requires_dist": [ "wheel", "bitstring (==3.1.6)", "lifxlan (==1.2.5)", "netifaces (==0.10.9)", "colorama (==0.4.1)", "numpy (==1.17.0)", "PyAudio (==0.2.11)" ], "requires_python": "", "summary": "Graphical interface for controlling lifx bulbs", "version": "0.3.2", "yanked": false, "yanked_reason": null }, "last_serial": 6036935, "releases": { "0.3.0": [ { "comment_text": "", "digests": { "md5": "d6b70a60f73bf329ff0a3289ea2b271a", "sha256": "ba07d99c289203cdc6c6c8731ce58309c8b31d658d9ce1cfc0ac40457a4cf5a9" }, "downloads": -1, "filename": "lifxtools-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d6b70a60f73bf329ff0a3289ea2b271a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 24744, "upload_time": "2019-10-25T09:57:14", "upload_time_iso_8601": "2019-10-25T09:57:14.127555Z", "url": "https://files.pythonhosted.org/packages/86/4f/4cf70fa2c46669dbb9e8f245338d14ce3d4b61a2a19a6738a3c3236ee8bd/lifxtools-0.3.0-py3-none-any.whl", "yanked": false, "yanked_reason": null } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "415f0f370f6169515cbc90e8fe7a0c80", "sha256": "a250efd8628840ca6604ddd017ff7f92c5f0b95d22ed7be89569ba552a22cb80" }, "downloads": -1, "filename": "lifxtools-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "415f0f370f6169515cbc90e8fe7a0c80", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 27156, "upload_time": "2019-10-27T12:44:41", "upload_time_iso_8601": "2019-10-27T12:44:41.385654Z", "url": "https://files.pythonhosted.org/packages/a8/7f/10eaeadcc58673ba9ed02c15c68ee5dfe9d27ed95fe3024038848d7ef739/lifxtools-0.3.1-py3-none-any.whl", "yanked": false, "yanked_reason": null } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "a52a25c7836ce1641c3cef65ace62113", "sha256": "83fdf573a615a3fd0159ac7a8c705c6537408ff960cb8329058b0838d25e326b" }, "downloads": -1, "filename": "lifxtools-0.3.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a52a25c7836ce1641c3cef65ace62113", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 26471, "upload_time": "2019-10-27T13:25:29", "upload_time_iso_8601": "2019-10-27T13:25:29.886512Z", "url": "https://files.pythonhosted.org/packages/0c/f8/9ef1f7a6a148be0649689739e8070f1e9d2819bf93c16e428c2486b29a83/lifxtools-0.3.2-py3-none-any.whl", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a52a25c7836ce1641c3cef65ace62113", "sha256": "83fdf573a615a3fd0159ac7a8c705c6537408ff960cb8329058b0838d25e326b" }, "downloads": -1, "filename": "lifxtools-0.3.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a52a25c7836ce1641c3cef65ace62113", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 26471, "upload_time": "2019-10-27T13:25:29", "upload_time_iso_8601": "2019-10-27T13:25:29.886512Z", "url": "https://files.pythonhosted.org/packages/0c/f8/9ef1f7a6a148be0649689739e8070f1e9d2819bf93c16e428c2486b29a83/lifxtools-0.3.2-py3-none-any.whl", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }