Python: Roku (ECP) Client
Asynchronous Python client for Roku devices using the External Control Protocol.
About
This package allows you to monitor and control Roku devices.
Installation
pip install rokuecp
Usage
import asyncio
from rokuecp import Roku
async def main():
"""Show example of connecting to your Roku device."""
async with Roku("192.168.1.100") as roku:
print(roku)
if __name__ == "__main__":
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
Setting up development environment
This Python project is fully managed using the Poetry dependency manager. But also relies on the use of NodeJS for certain checks during development.
You need at least:
- Python 3.9+
- Poetry
- NodeJS 20+ (including NPM)
To install all packages, including all development requirements:
npm install
poetry install
As this repository uses the pre-commit framework, all changes are linted and tested with each commit. You can run all checks and tests manually, using the following command:
poetry run pre-commit run --all-files
To run just the Python tests:
poetry run pytest
Metadata
Release files for rokuecp 0.19.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rokuecp-0.19.5.tar.gz | 12.4 kB | With provenance | Details for rokuecp-0.19.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rokuecp-0.19.5-py3-none-any.whl | Python 3 | none | any | Details for rokuecp-0.19.5-py3-none-any.whl |
Total release size: 25.4 kB
Release files / rokuecp-0.19.5.tar.gz
| Download URL | rokuecp-0.19.5.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
70514bf2e09c3223a94a1b42c7621b9dd789263e75cec86e6ca9a61f4fa5b4ee
|
|
BLAKE2b-256 checksum How to use checksums |
80ffdfa2d238d66500d48ceab446f99bd0540cce00469a1dd02ec3ec09e2b058
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 14, 2025.
Transparency logRelease files / rokuecp-0.19.5-py3-none-any.whl
| Download URL | rokuecp-0.19.5-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
423eda5526ff9ed08aa1697533c41d7fc93fe34d9114f55cd9e62698146afc01
|
|
BLAKE2b-256 checksum How to use checksums |
ee8caa525121136d20e0e6d03021afb29504562f3930b1d5235cb468d152e05b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 14, 2025.
Transparency logSecurity for rokuecp 0.19.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for rokuecp-0.19.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 14, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.