A python library to control a Sky Q Box
Project description
pyskyq
A Python library for controlling a SkyQ Box.
Installing
To install:
pip install pyskyq
Using the cli
You can use the cli tool like this:
pyskyq play
This will press the “play” button on your Sky Q Remote. See constants.py for a list of the commands that can be passed.
Using the library
The below snippet gives an example of usage:
from pyskyq import SkyQ
skyq = SkyQ('1.2.3.4')
skyq.remote.send_command(RCMD.play) # press play on the remote
print(skyq.epg.get_channel(2002).desc) # print the description of of channel with sid=2002
Documentation
Please refer to the documentation at pyskyq.readthedocs.io.
Contributions
Contributions are welcome. Please fork the project on GitLab Not GitHub and raise an issue and merge request there.
Credits
Code and ideas obtained from:
Thank you to those individuals for their contributions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyskyq-0.2.5.tar.gz
(41.4 kB
view hashes)
Built Distribution
pyskyq-0.2.5-py2.py3-none-any.whl
(11.1 kB
view hashes)
Close
Hashes for pyskyq-0.2.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f4ec5381c90d0a9f26a1cba03b77823e649966b9951225799c1fb439f975ed0 |
|
MD5 | f0190e3b35196c69ff2d0bd9206e651c |
|
BLAKE2b-256 | 83daa5820e489a4d2ded5e622a9dd33e62b9629bb8f25a6e03fa649429622b31 |