pykaleidescape
A python client library for the Kaleidescape System Control Protocol.
What it is and what it does
pykaleidescape is an async Python client for the Kaleidescape System Control Protocol, designed to integrate Kaleidescape media players into larger automation systems. It provides a high-level Device abstraction that maintains synchronized state (power, playback, UI, automation settings) and exposes it through convenient dataclasses. The library is built on asyncio and uses an event-driven dispatcher pattern, so state changes and user-defined events trigger callbacks rather than requiring polling.
Typical usage involves creating a Device instance, connecting to a player over TCP, calling refresh() to sync initial state, then either issuing commands (play, pause, navigation) or registering event listeners with the dispatcher. The library handles automatic reconnection by default and includes examples for common patterns like power control, event handling, and external volume integration. It has no external runtime dependencies and supports Python 3.11 and later.
Use it for:
- Integrate a Kaleidescape player into a home automation platform via asyncio event loops.
- Build a remote control or mobile app that sends commands and displays live player state.
- Synchronize external volume control with Kaleidescape by responding to user-defined events.
- Monitor multiple Kaleidescape players in a multi-zone system and react to state changes.
- Automate movie selection and playback based on external triggers or schedules.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Async Python client for controlling Kaleidescape media players via the Kaleidescape System Control Protocol, with state mirroring and event-driven integration.
Yes. The library is production-stable, actively maintained, has zero dependencies, and works with current Python versions. It fills a clear niche for Kaleidescape automation. The MIT license is permissive. Install it if you own a Kaleidescape player and need programmatic control or integration with home automation; skip it otherwise.
Install
pykaleidescape on PyPI
pip
pip install pykaleidescapeuv
uv add pykaleidescapepoetry
poetry add pykaleidescapeInstalling pykaleidescape
Before you install
Low install friction with no runtime dependencies. Active maintenance with recent commits and production-stable status across Python 3.11–3.14.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both personal and commercial projects.
Quickstart
pip install pykaleidescape
import asyncio
from kaleidescape import Device
async def main():
device = Device("<host>")
await device.connect()
await device.refresh()
print(f"Power state: {device.power.state}")
asyncio.run(main())
Requires Python 3.11 or later and a Kaleidescape player reachable over TCP.
Verify before relying
- Whether the library works with all Kaleidescape device models or only specific firmware versions.
- Real-world latency and reliability of automatic reconnect behavior under poor network conditions.
- Whether volume integration works with all common AVR/amplifier control protocols.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 131 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 76,853/month — #14,586 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pykaleidescape-1.1.6-py3-none-any.whl
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
pysqueezeboxAsynchronous Python library to control Logitech…
permissive · top 15,000 on PyPI
yoto-apiAsync Python client for controlling Yoto player…
permissive · top 15,000 on PyPI
pyheosAn asynchronous Python library for controlling…
permissive · top 15,000 on PyPI
directvAsynchronous Python client for controlling and…
permissive · top 15,000 on PyPI
websocket-clientwebsocket-client provides a Python WebSocket…
permissive · top 1,000 on PyPI
libsoundtouchControl Bose Soundtouch devices over the…
permissive · top 15,000 on PyPI
pyserial-asyncioAdds async/await support to pyserial for…
permissive · top 15,000 on PyPI
python-oscpython-osc implements Open Sound Control (OSC)…
unclear · top 15,000 on PyPI
python-mpd2Provides a Python client library to communicate…
copyleft · top 15,000 on PyPI
velbus-aioAn asyncio-based Python library for controlling…
permissive · top 15,000 on PyPI