Horimote ======
Horimote is an API wrapper for the set-top boxes SMT C7400 and SMT C7401. In the Netherlands these boxes are sold by a big Dutch cable operator under the name Horizon Box. The name Einder is a Dutch synonym for horizon.
I'd like to thank OrangeTux & kuijp for their einder work on horizoncontrol. This is just another shameless Python rip off. Focus on Horzion Box from Unitymedia Germany.
Installation
$ pip install horimote
Usage
horimote.Client controls the set-top box by sending bytes. These bytes
represent the buttons of a remote control. You can find all supported
keys in horimote.keys. The example shows how to send
keys.
import time
import logging
from horimote import Client
from horimote import keys
# Enable logging.
logging.basicConfig(level=logging.DEBUG)
# Replace IP with the IP of your set-top box. The port parameter is optional,
# by default its 5900.
c = Client("192.168.1.245", port=5900)
c.power_on()
# Wait a few seconds to let the set-top box have some time to start.
time.sleep(5)
# Select channel 501.
c.send_key(keys.NUM_5)
c.send_key(keys.NUM_0)
c.send_key(keys.NUM_1)
# For selecting a channel horimote.Client offers a small helper function.
c.select_channel(501)
# No watch some TV...
c.power_off()
c.disconnect()
The horimote.Client can also be used as a context manager:
from horimote import Client
with Client("192.168.1.245") as c:
c.select_channel(501)
License
This software is licensed under the MIT license.
Metadata
Release files for horimote 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| horimote-0.4.1.tar.gz | 4.5 kB | Without provenance | Details for horimote-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| horimote-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for horimote-0.4.1-py3-none-any.whl |
Total release size: 10.4 kB
Release files / horimote-0.4.1.tar.gz
| Download URL | horimote-0.4.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3409596a068f07e86b2a4a51d41cfeb1127b8fee208dab696936c2ca0c9fc26e
|
|
BLAKE2b-256 checksum How to use checksums |
7ec953653eaa596939de4e14758fd63d62ae1b5e715a34abdd18ad46dfa68136
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0
|
Release files / horimote-0.4.1-py3-none-any.whl
| Download URL | horimote-0.4.1-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d39ca27a0085c099b533a50d10250cfe3e9013eefe2b19da60561f8c85f78eaf
|
|
BLAKE2b-256 checksum How to use checksums |
4d6810e281a2cf0f554931c2fbd19ac73ff75f8b0d700d3b44a25f2d2a2a4b1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0
|
Security for horimote 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.