skillfed

hyperion-py

Hyperion Ambient Lighting Python Package

hyperion-py v0.7.6 74.2K downloads/30d#14,865 on PyPI14
Permissive license MIT AGING released

What it is and what it does

Hyperion-py is an async Python client for Hyperion-NG, a popular ambient lighting system that drives LED strips based on screen content or manual control. The library provides a thin, direct mapping to Hyperion's JSON API—no convenience wrappers or abstraction layers—so that changes to the server's data model flow through to your code without the library becoming a bottleneck. You instantiate a HyperionClient with a host and optional port, connect asynchronously, and then call methods like async_set_color(), async_set_effect(), or async_led_stream_start() to control lighting. The library handles authentication, instance switching, and background task management for you, and supports callbacks for server-side state updates.

The package has no runtime dependencies beyond Python itself, making it lightweight to install. It supports Python 3.8 through 3.13 and is licensed under MIT. The library is aging—last released 439 days ago—but the repository remains active and the code is stable for the current Hyperion-NG API surface. If your Hyperion server version matches the JSON API documentation the library was built against, this is a straightforward way to script lighting control from Python.

Use it for:

  • Automate ambient lighting scenes in a home automation system by sending color or effect commands to a Hyperion-NG server.
  • Stream live LED color data from a video source or custom algorithm to synchronized lighting hardware via Hyperion.
  • Query and monitor Hyperion server state (brightness, active effects, component status) from a Python application.
  • Build a web dashboard or mobile app backend that controls Hyperion lighting by wrapping this client.
  • Integrate Hyperion lighting control into a media center or game launcher that responds to content changes.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A Python async client library for controlling Hyperion-NG ambient lighting systems via their JSON API, providing direct access to color, effect, and LED stream control.

Yes, if you own a Hyperion-NG setup and need Python control. The library is stable, dependency-free, and directly mirrors the official JSON API, reducing the risk of breakage when Hyperion updates. The 439-day release gap is a minor concern—verify that your Hyperion server version aligns with the API docs the library targets—but the active repository and permissive license make it a safe choice for home automation or media integration projects.

Install

hyperion-py on PyPI

pip

pip install hyperion-py

uv

uv add hyperion-py

poetry

poetry add hyperion-py

Installing hyperion-py

Before you install

Low friction installation with no runtime dependencies. Maintenance status is aging—last commit was 2025-06-01 and the package has not been released for 439 days, though the repository remains active and not archived.

License in practice

MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you retain the license notice.

Quickstart

pip install hyperion-py

import asyncio
from hyperion import client

async def main():
    async with client.HyperionClient("hyperion-host") as hc:
        info = await hc.async_get_serverinfo()
        print(info)

asyncio.run(main())

Requires Python 3.8 or later; Hyperion-NG server must be running and accessible at the specified host and port (default 19444).

Verify before relying

  • Whether the 439-day gap since last release indicates the package is stable or abandoned relative to ongoing Hyperion-NG server development.
  • Compatibility with recent Hyperion-NG server versions and whether the JSON API alignment claim remains current.

Package facts

License MIT (permissive)
Python support supports the current Python release (<4.0,>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance aging — 439 days since the last release
Last repo commit
First released
Downloads 74,187/month — #14,865 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: hyperion_py-0.7.6-py3-none-any.whl

Keywords: hyperion

Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Home Automation

Tags

hyperion ambient lighting controlhyperion-ng python clientled lighting automationasync hyperion apihome ambient lighting pythonhyperion color effectsled stream control
home-automationambient-lightingasync-client

More Home Automation packages