Skip to main content

Docs Release Version Python Version License Build Status Coverage Code Climate

This library is to make it straight-forward to connect to Sky+ boxes - using the UPnP protocol, you can invoke actions to interact with the box.

Example Usage

>>> import pyinthesky
>>> skybox = pyinthesky.locate() # Find the Sky box on the network.
>>> conn = pyinthesky.Connection(skybox)
>>> conn.connect()
>>>
>>> recs = conn.get_recordings()
>>> next(recs)
<Recording "Doctor Who: The Seeds Of Death" (horror channel) at 2015-05-12 10:00>
>>>
>>> conn.count_recordings()
171
>>>
>>> conn.get_disk_space_info()['perc_used']
77.67807431685328
>>>
>>> # The below methods are dynamically created when a connection is made and we
>>> # load up the service descriptions from the box.
>>> conn.Pause(0) # Pause the currently playing show.
>>> conn.Play(0)  # And resume.

You can browse the source code and file bug reports at the project repository. Full documentation can be found here.

Metadata

Release files for pyinthesky 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyinthesky 0.5
File Size Uploaded
pyinthesky-0.5.tar.gz 16.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyinthesky 0.5
File Interpreter ABI Platform
pyinthesky-0.5-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 37.1 kB

Release files / pyinthesky-0.5.tar.gz

Download URL pyinthesky-0.5.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4827e1cfd81a519a8a34ea6b37a3da5fafa9b60a4efab365f44e49b0dcc3920a
BLAKE2b-256 checksum
How to use checksums
73a8bb638c4f91aa41efbc83e9fb1f4db39d8d4c657deaa546542db19bdd29c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pyinthesky-0.5-py2.py3-none-any.whl

Download URL pyinthesky-0.5-py2.py3-none-any.whl
Size 20.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7570bc8de932c492ca69bac2ff93091534dcfda0727a44f0207f944bccc2cea8
BLAKE2b-256 checksum
How to use checksums
3190f87204b8b2c6f61b1e30e79a727e7fff9a6bf52034224833fe6bfa46baa1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.5 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page