Skip to main content

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 ty check . and tests via uv run pytest.

Tests are run for each of the supported Python versions in CI.

pre-commit/prek is used to run Ruff for linting and formatting.

usage.md is updated via uv run ./generate-usage.sh.

Metadata

Release files for alga 2.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alga 2.3.0
File Size Uploaded
alga-2.3.0.tar.gz 44.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alga 2.3.0
File Interpreter ABI Platform
alga-2.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 58.8 kB

Release files / alga-2.3.0.tar.gz

Download URL alga-2.3.0.tar.gz
Size 44.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f67db5af1620dcfd191834a87f5c0874dfe2912a7678ecbfdae6393f4c712ed3
BLAKE2b-256 checksum
How to use checksums
aca06aaceaecfd3a6b8a9c3c999eb604d11933292887ac734d0bb6f383d2fb78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 31, 2026.

Transparency log

Release files / alga-2.3.0-py3-none-any.whl

Download URL alga-2.3.0-py3-none-any.whl
Size 14.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
90768875e24f129144dbb3941692ff35bd4992ecf9193ba00f849b76d19c5f8d
BLAKE2b-256 checksum
How to use checksums
40bf28076300b2256c2ce81f02e8f1318e804bd09123fadfbf99048f71f0c488
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 31, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.3.0 This release

2 release files

2.2.0

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page