Metadata-Version: 2.1
Name: skyboxremote
Version: 0.0.3
Summary: A python library for controlling a sky box
Author-email: dunnmj <dunnmj@users.noreply.github.com>
Requires-Python: >=3.8.1
Description-Content-Type: text/markdown
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: pyspark>=3.0.0 ; extra == "spark"
Requires-Dist: bandit[toml]==1.7.5 ; extra == "test"
Requires-Dist: black==23.3.0 ; extra == "test"
Requires-Dist: check-manifest==0.49 ; extra == "test"
Requires-Dist: flake8-bugbear==23.5.9 ; extra == "test"
Requires-Dist: flake8-docstrings ; extra == "test"
Requires-Dist: flake8-formatter_junit_xml ; extra == "test"
Requires-Dist: flake8 ; extra == "test"
Requires-Dist: flake8-pyproject ; extra == "test"
Requires-Dist: pre-commit==3.3.1 ; extra == "test"
Requires-Dist: pylint==2.17.4 ; extra == "test"
Requires-Dist: pylint_junit ; extra == "test"
Requires-Dist: pytest-cov==4.0.0 ; extra == "test"
Requires-Dist: pytest-mock<3.10.1 ; extra == "test"
Requires-Dist: pytest-runner ; extra == "test"
Requires-Dist: pytest==7.3.1 ; extra == "test"
Requires-Dist: pytest-github-actions-annotate-failures ; extra == "test"
Requires-Dist: shellcheck-py==0.9.0.2 ; extra == "test"
Project-URL: Documentation, https://github.com/dunnmj/skyboxremote#readme
Project-URL: Source, https://github.com/dunnmj/skyboxremote
Project-URL: Tracker, https://github.com/dunnmj/skyboxremote/issues
Provides-Extra: spark
Provides-Extra: test

# skyboxremote
Python library to send commands to a Sky HD box
Based on the [sky-remote NodeJS](https://github.com/dalhundal/sky-remote/) module from dalhundal
#### Installation
`pip install skyboxremote`

## Usage
Pass ip and port into RemoteControl function to create a remote.
Port defaults to 49160 for SkyHD or SkyQ, set to port 5900 for legacy SkyQ firmware < 060
Time between commands in a sequence defaults to 0.01s.
#### Example
```python
from skyboxremote import RemoteControl

remote = RemoteControl('192.168.1.60')

# Send a single command
remote.send_keys('sky')

# Send a sequence of commands
remote.send_keys(['sky', 'tvguide', 'green'])
```

### Available remote control commands
`power`

`sky`

`tvguide` `boxoffice` `services` `interactive`

`up` `down` `left` `right`

`select` `backup`

`channelup` `channeldown`

`i` `text` `help`

`red` `green` `yellow` `blue`

`0` `1` `2` `3` `4` `5` `6` `7` `8` `9`

`play` `pause` `stop` `record` `fastforward` `rewind`

`sidebar`
`dismiss`
`search`
`home`








