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 setup [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 setup
, 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.
Note: It's currently only possible to pair Alga with one TV at a time. Let me know if this is a deal breaker for you.
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 poetry run mypy .
and tests via poetry 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 poetry 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
File details
Details for the file alga-1.2.2.tar.gz
.
File metadata
- Download URL: alga-1.2.2.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a55bf279c6d5344364eca716659ac9dd527683aba8d98019364ddbbe54a5d242 |
|
MD5 | c011611ed675a14d48b848839f208924 |
|
BLAKE2b-256 | 5646c57f79a4d0640b742d137d1b745890cf6268ff313404f83ab640238f0753 |
Provenance
The following attestation bundles were made for alga-1.2.2.tar.gz
:
Publisher:
release-to-pypi.yml
on Tenzer/alga
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
alga-1.2.2.tar.gz
- Subject digest:
a55bf279c6d5344364eca716659ac9dd527683aba8d98019364ddbbe54a5d242
- Sigstore transparency entry: 147552538
- Sigstore integration time:
- Predicate type:
File details
Details for the file alga-1.2.2-py3-none-any.whl
.
File metadata
- Download URL: alga-1.2.2-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e62b5e5f4e2d5366005865be553488b061e43b0e0e0e12163cfd182bb31e7522 |
|
MD5 | bbdd8e323781f2bcaa98300be853daea |
|
BLAKE2b-256 | 19c775d22454426be9936f2d045217b4e20d7cc16bc8729c63817c3ef528b68b |
Provenance
The following attestation bundles were made for alga-1.2.2-py3-none-any.whl
:
Publisher:
release-to-pypi.yml
on Tenzer/alga
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
alga-1.2.2-py3-none-any.whl
- Subject digest:
e62b5e5f4e2d5366005865be553488b061e43b0e0e0e12163cfd182bb31e7522
- Sigstore transparency entry: 147552539
- Sigstore integration time:
- Predicate type: