{ "info": { "author": "Adam Garcia", "author_email": "garciadam@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License" ], "description": "aioroku\n=======\n\nScrew remotes. Control your `Roku `_ via Python. Asynchronously.\n\n\nInstallation\n------------\n\n::\n\n pip install aioroku\n\n\nUsage\n-----\n\n\nRequires Python 3.5 and uses asyncio and aiohttp.\n\n::\n\n import asyncio\n import aiohttp\n from aioroku import AioRoku\n\n def get_args():\n arg_parser = ArgumentParser()\n arg_parser.add_argument('--roku_ip', '-r', metavar=\"ROKU_IP_ADDRESS\")\n args = arg_parser.parse_args()\n return args.roku_ip\n\n async def main():\n async with aiohttp.ClientSession() as session:\n my_roku = AioRoku(host, session)\n print(await my_roku.active_app)\n \n if __name__ == '__main__':\n roku_ip = get_args()\n loop = asyncio.get_event_loop()\n loop.run_until_complete(main(roku_ip))\n loop.close()\n\n\n\nTODO\n----\n\n* Docs\n* Tests, of course.\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/pancho-villa/aioroku", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "aioroku", "package_url": "https://pypi.org/project/aioroku/", "platform": "", "project_url": "https://pypi.org/project/aioroku/", "project_urls": { "Homepage": "https://gitlab.com/pancho-villa/aioroku" }, "release_url": "https://pypi.org/project/aioroku/1.0.0/", "requires_dist": [ "aiohttp" ], "requires_python": "", "summary": "Asynchronous library to the Roku media player. Easy, breezy, beautiful.", "version": "1.0.0" }, "last_serial": 4957513, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "5c145fecbef6c28d9da6c6643036e157", "sha256": "fde40cde660f82ae36925834aadd74c5cd42c31b75c3cfeaf21af48f66640ee8" }, "downloads": -1, "filename": "aioroku-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5c145fecbef6c28d9da6c6643036e157", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15415, "upload_time": "2019-03-13T08:02:47", "url": "https://files.pythonhosted.org/packages/9e/ed/365b90965c18d3d65d9b5dbb2d806ee37c59ab2f87771185e7045062a592/aioroku-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a167011850b4b3031a2ff0025d9f5f21", "sha256": "bb57e6c3524a9996f9557728034fb2b3b5bb9fa5ca3cc63e135671bfe3445b4a" }, "downloads": -1, "filename": "aioroku-0.0.2.tar.gz", "has_sig": false, "md5_digest": "a167011850b4b3031a2ff0025d9f5f21", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7835, "upload_time": "2019-03-13T08:02:49", "url": "https://files.pythonhosted.org/packages/d9/ed/28993ca6d24936d1d5bb924915b80f5fe8e117070405df0931360eb0605d/aioroku-0.0.2.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "67e2120c7d511569eee8e9e6ae36d5f4", "sha256": "af247c272d7530e36e56895256c492caf038ea3737656dd3f2100fc28f8b2060" }, "downloads": -1, "filename": "aioroku-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "67e2120c7d511569eee8e9e6ae36d5f4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13443, "upload_time": "2019-03-19T08:05:42", "url": "https://files.pythonhosted.org/packages/f5/28/6fa5d406428ed5224ee3f33bb01807792c80cce12b1babc07aa1c023c90a/aioroku-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "135ed6bf960c1beb12a5d283280e27ac", "sha256": "fcbac1d68da1685951c07899430691f4fe710e499660f982c6bd525a0e3da179" }, "downloads": -1, "filename": "aioroku-1.0.0.tar.gz", "has_sig": false, "md5_digest": "135ed6bf960c1beb12a5d283280e27ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7310, "upload_time": "2019-03-19T08:05:44", "url": "https://files.pythonhosted.org/packages/b6/55/f9695e02ce96e3c8606c5419e846418aeb987abd286da1996c92f8ee0aea/aioroku-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "67e2120c7d511569eee8e9e6ae36d5f4", "sha256": "af247c272d7530e36e56895256c492caf038ea3737656dd3f2100fc28f8b2060" }, "downloads": -1, "filename": "aioroku-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "67e2120c7d511569eee8e9e6ae36d5f4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13443, "upload_time": "2019-03-19T08:05:42", "url": "https://files.pythonhosted.org/packages/f5/28/6fa5d406428ed5224ee3f33bb01807792c80cce12b1babc07aa1c023c90a/aioroku-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "135ed6bf960c1beb12a5d283280e27ac", "sha256": "fcbac1d68da1685951c07899430691f4fe710e499660f982c6bd525a0e3da179" }, "downloads": -1, "filename": "aioroku-1.0.0.tar.gz", "has_sig": false, "md5_digest": "135ed6bf960c1beb12a5d283280e27ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7310, "upload_time": "2019-03-19T08:05:44", "url": "https://files.pythonhosted.org/packages/b6/55/f9695e02ce96e3c8606c5419e846418aeb987abd286da1996c92f8ee0aea/aioroku-1.0.0.tar.gz" } ] }