Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

A python library to control a Sky Q Box

Project description

https://gitlab.com/bradwood/pyskyq/badges/master/pipeline.svg https://badge.fury.io/py/pyskyq.svg https://img.shields.io/readthedocs/pip.svg

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyskyq-0.2.4-py2.py3-none-any.whl (11.1 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Sep 24, 2018
pyskyq-0.2.4.tar.gz (41.4 kB) Copy SHA256 hash SHA256 Source None Sep 24, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page