{ "info": { "author": "Ben Lebherz & Auke Willem Oosterhoff", "author_email": "git@benleb.de", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Multimedia", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "[![Build\nStatus](https://travis-ci.org/benleb/horimote.svg?branch=master)](https://travis-ci.org/benleb/horimote)\n[![PyPI](https://img.shields.io/pypi/v/horimote.svg)](https://pypi.python.org/pypi/horimote/)\n\nHorimote ======\n\nHorimote is an API wrapper for the set-top boxes SMT C7400 and SMT\nC7401. In the Netherlands these boxes are sold by a big Dutch cable\noperator under the name Horizon Box. The name Einder is a Dutch synonym\nfor horizon.\n\nI'd like to thank [OrangeTux](https://github.com/OrangeTux) & [kuijp](https://github.com/kuijp) for their [einder](https://github.com/OrangeTux/einder) work on [horizoncontrol](https://github.com/kuijp/horizoncontrol). This is just another shameless Python rip off. Focus on Horzion Box from Unitymedia Germany.\n\nInstallation\n============\n\n``` {.sourceCode .shell}\n$ pip install horimote\n```\n\nUsage\n=====\n\n`horimote.Client` controls the set-top box by sending bytes. These bytes\nrepresent the buttons of a remote control. You can find all supported\nkeys in [horimote.keys](horimote/keys.py). The example shows how to send\nkeys.\n\n``` {.sourceCode .python}\nimport time\n\nimport logging\nfrom horimote import Client\nfrom horimote import keys\n\n# Enable logging.\nlogging.basicConfig(level=logging.DEBUG)\n\n# Replace IP with the IP of your set-top box. The port parameter is optional,\n# by default its 5900.\nc = Client(\"192.168.1.245\", port=5900)\n\nc.power_on()\n\n# Wait a few seconds to let the set-top box have some time to start.\ntime.sleep(5)\n\n# Select channel 501.\nc.send_key(keys.NUM_5)\nc.send_key(keys.NUM_0)\nc.send_key(keys.NUM_1)\n\n# For selecting a channel horimote.Client offers a small helper function.\nc.select_channel(501)\n\n# No watch some TV...\n\nc.power_off()\nc.disconnect()\n```\n\nThe `horimote.Client` can also be used as a context manager:\n\n``` {.sourceCode .python}\nfrom horimote import Client\n\nwith Client(\"192.168.1.245\") as c:\n c.select_channel(501)\n```\n\nLicense\n=======\n\nThis software is licensed under the [MIT license](LICENSE).\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/benleb/horimote", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "horimote", "package_url": "https://pypi.org/project/horimote/", "platform": "", "project_url": "https://pypi.org/project/horimote/", "project_urls": { "Homepage": "https://github.com/benleb/horimote" }, "release_url": "https://pypi.org/project/horimote/0.4.1/", "requires_dist": null, "requires_python": "", "summary": "Async API wrapper for Samsumgs set-top boxes SMT-G7400 and SMT-G7401.", "version": "0.4.1" }, "last_serial": 4948802, "releases": { "0.4.1": [ { "comment_text": "", "digests": { "md5": "242e0a2c386c8e093fd0dc3a24acdc09", "sha256": "d39ca27a0085c099b533a50d10250cfe3e9013eefe2b19da60561f8c85f78eaf" }, "downloads": -1, "filename": "horimote-0.4.1-py3-none-any.whl", "has_sig": false, "md5_digest": "242e0a2c386c8e093fd0dc3a24acdc09", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5841, "upload_time": "2019-03-16T21:33:54", "url": "https://files.pythonhosted.org/packages/4d/68/10e281a2cf0f554931c2fbd19ac73ff75f8b0d700d3b44a25f2d2a2a4b1d/horimote-0.4.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d96d57e8a7f05ab476f71d8f4c6b13ab", "sha256": "3409596a068f07e86b2a4a51d41cfeb1127b8fee208dab696936c2ca0c9fc26e" }, "downloads": -1, "filename": "horimote-0.4.1.tar.gz", "has_sig": false, "md5_digest": "d96d57e8a7f05ab476f71d8f4c6b13ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4537, "upload_time": "2019-03-16T21:33:56", "url": "https://files.pythonhosted.org/packages/7e/c9/53653eaa596939de4e14758fd63d62ae1b5e715a34abdd18ad46dfa68136/horimote-0.4.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "242e0a2c386c8e093fd0dc3a24acdc09", "sha256": "d39ca27a0085c099b533a50d10250cfe3e9013eefe2b19da60561f8c85f78eaf" }, "downloads": -1, "filename": "horimote-0.4.1-py3-none-any.whl", "has_sig": false, "md5_digest": "242e0a2c386c8e093fd0dc3a24acdc09", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5841, "upload_time": "2019-03-16T21:33:54", "url": "https://files.pythonhosted.org/packages/4d/68/10e281a2cf0f554931c2fbd19ac73ff75f8b0d700d3b44a25f2d2a2a4b1d/horimote-0.4.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d96d57e8a7f05ab476f71d8f4c6b13ab", "sha256": "3409596a068f07e86b2a4a51d41cfeb1127b8fee208dab696936c2ca0c9fc26e" }, "downloads": -1, "filename": "horimote-0.4.1.tar.gz", "has_sig": false, "md5_digest": "d96d57e8a7f05ab476f71d8f4c6b13ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4537, "upload_time": "2019-03-16T21:33:56", "url": "https://files.pythonhosted.org/packages/7e/c9/53653eaa596939de4e14758fd63d62ae1b5e715a34abdd18ad46dfa68136/horimote-0.4.1.tar.gz" } ] }