CLI for remote controlling LG webOS TVs
Project description
Alga
A command line utility for controlling a LG webOS TV over the network.
Installing
Alga is available on PyPI. I would recommend installing it via pipx:
$ pipx install alga
Or, via Nix flakes:
nix run github:Tenzer/alga
Setup
The first time you use the utility, you will need to setup a connection to the TV.
With the TV on, run alga tv add <identifier> [hostname/IP].
This will bring up a prompt on the TV asking if you want to accept the pairing.
When accepted, Alga will be ready to use.
If no hostname or IP address is provided to alga tv add, it will be default try to connect to "lgwebostv" which should work.
The hostname, a key and MAC address will be written to ~/.config/alga/config.json for future use.
Usage
See usage for a list of available commands.
Development
The code base is fully type annotated and test coverage is being enforced.
Types can be checked via uv run mypy . and tests via uv run pytest.
Tests are run for each of the supported Python versions in CI.
pre-commit used to run Ruff for linting and formatting.
usage.md is updated via uv run ./generate-usage.sh.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alga-2.2.0.tar.gz.
File metadata
- Download URL: alga-2.2.0.tar.gz
- Upload date:
- Size: 43.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7d4c292651239c2f878f12eb90a55af83e373bcb94f69be7f710309b041c06c
|
|
| MD5 |
56dc6e0e728d1f2cca92662f17fd540a
|
|
| BLAKE2b-256 |
6819e4adf02515ad185dc6424b61c115b7c99a9170b9c3aa5c3b3cbca3113a9e
|
Provenance
The following attestation bundles were made for alga-2.2.0.tar.gz:
Publisher:
release-to-pypi.yml on Tenzer/alga
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
alga-2.2.0.tar.gz -
Subject digest:
c7d4c292651239c2f878f12eb90a55af83e373bcb94f69be7f710309b041c06c - Sigstore transparency entry: 699475079
- Sigstore integration time:
-
Permalink:
Tenzer/alga@d41d14bc42f909666b4b91ee78e72cf2e9fddf22 -
Branch / Tag:
refs/tags/v2.2.0 - Owner: https://github.com/Tenzer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-to-pypi.yml@d41d14bc42f909666b4b91ee78e72cf2e9fddf22 -
Trigger Event:
push
-
Statement type:
File details
Details for the file alga-2.2.0-py3-none-any.whl.
File metadata
- Download URL: alga-2.2.0-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
030a461965a1e0c539561118197086b1619a7008f365f6775c79d992e3eabc38
|
|
| MD5 |
31f87d66b29bcdef5c723dbd906c6532
|
|
| BLAKE2b-256 |
5731ca7e335b20376f894131734593e4dc60d8746afb2456c50078ea1c32aa7b
|
Provenance
The following attestation bundles were made for alga-2.2.0-py3-none-any.whl:
Publisher:
release-to-pypi.yml on Tenzer/alga
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
alga-2.2.0-py3-none-any.whl -
Subject digest:
030a461965a1e0c539561118197086b1619a7008f365f6775c79d992e3eabc38 - Sigstore transparency entry: 699475109
- Sigstore integration time:
-
Permalink:
Tenzer/alga@d41d14bc42f909666b4b91ee78e72cf2e9fddf22 -
Branch / Tag:
refs/tags/v2.2.0 - Owner: https://github.com/Tenzer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-to-pypi.yml@d41d14bc42f909666b4b91ee78e72cf2e9fddf22 -
Trigger Event:
push
-
Statement type: