Skip to main content

A python library to control a Sky Q Box

Project description

https://gitlab.com/bradwood/pyskyq/badges/develop/pipeline.svg https://gitlab.com/bradwood/pyskyq/badges/develop/coverage.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)

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.

Source Distribution

pyskyq-0.1.1.tar.gz (30.3 kB view hashes)

Uploaded Source

Built Distribution

pyskyq-0.1.1-py2.py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page