rokuecp
Asynchronous Python client for Roku (ECP)
Decision gist · record as of 2026-08-14
Yes. The package has low install friction, active maintenance, a permissive license, no known vulnerabilities, and a straightforward async API. Install it if you need to programmatically control or monitor Roku devices; the async design and retry logic make it suitable for reliable home automation or device management tasks.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later and a Roku device on the network accessible at the specified IP address.
- Low friction install with a pure-Python wheel.
- The package is actively maintained with a recent commit on 2026-08-13 and has been in active development since 2020-05-03.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2025-06-14 (426 days) · last repo commit 2026-08-13 · 9 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 100,874 downloads/mo, #12,970 on PyPI
Alternatives
Verify before relying
import asyncio
from rokuecp import Roku
async def main():
async with Roku("192.168.1.100") as roku:
print(roku)
if __name__ == "__main__":
asyncio.run(main())- Whether the package supports all Roku device models or only specific generations.
- Performance characteristics when controlling multiple Roku devices concurrently.
- Full feature coverage of the ECP protocol and which Roku capabilities are exposed.
What it is and what it does
Rokuecp is an async Python client for the Roku External Control Protocol, enabling programmatic monitoring and control of Roku devices over the network. It wraps the ECP API in a Python-friendly interface built on aiohttp, allowing you to query device state and send commands asynchronously.
The package is designed for home automation, device management, and integration scenarios where you need to control Roku TVs or streaming players from Python. It uses standard async/await patterns and includes retry logic via backoff to handle network transience. The library is in beta status but actively maintained, supporting Python 3.9 through 3.13.
Use it for
- Integrate Roku control into home automation platforms or custom smart-home scripts.
- Monitor the state and activity of Roku devices across a household or venue.
- Build remote-control applications or dashboards that send commands to Roku devices.
- Automate testing or validation workflows that require controlling Roku playback.
- Create notification or event-driven systems triggered by Roku device state changes.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package has low install friction, active maintenance, a permissive license, no known vulnerabilities, and a straightforward async API. Install it if you need to programmatically control or monitor Roku devices; the async design and retry logic make it suitable for reliable home automation or device management tasks.
Install
rokuecp on PyPI
Before you install
Low friction install with a pure-Python wheel. The package is actively maintained with a recent commit on 2026-08-13 and has been in active development since 2020-05-03. Dependencies are all well-established async libraries (aiohttp, async-timeout, backoff, xmltodict, yarl, awesomeversion).
Requires Python 3.9 or later and a Roku device on the network accessible at the specified IP address.
License in practice
MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
import asyncio
from rokuecp import Roku
async def main():
async with Roku("192.168.1.100") as roku:
print(roku)
if __name__ == "__main__":
asyncio.run(main())
Verify before relying
- Whether the package supports all Roku device models or only specific generations.
- Performance characteristics when controlling multiple Roku devices concurrently.
- Full feature coverage of the ECP protocol and which Roku capabilities are exposed.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesaiohttpasync-timeoutawesomeversionbackoffxmltodictyarl |
| Maintenance | Actively maintained 426 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 100,874 / month, #12,970 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaFramework :: AsyncIOIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: rokuecp-0.19.5-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “roku device control python”
- rokuecpAn asynchronous Python client for controlling and monitoring Roku…
- brainstemProvides Python bindings to control and interact with Acroname…
- pytangoPyTango exposes the complete Tango C++ API through Python, providing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also directv · elgato · go2rtc-client · pyipp · androidtvremote2 · pyeconet · pyatv · afsapi · pybravia · wled