Skip to main content

led-ticker-weather

A current-conditions weather plugin for led-ticker, backed by WeatherAPI.com. It contributes a single weather.current widget that shows the location label, current temperature, and a condition icon.

This package split out of led-ticker-feeds (its feeds.weather widget); the type is now weather.current.

Prerequisites

  • A working led-ticker install.
  • A free WeatherAPI.com API key, exported as WEATHERAPI_KEY.
  • Internet access on the Pi (the widget calls the WeatherAPI.com API).

Install

The widget auto-registers via the led_ticker.plugins entry point — once the package is installed, no [plugins] config change is needed.

Into a containerized led-ticker (recommended): add this package to config/requirements-plugins.txt (copy it from config/requirements-plugins.example.txt), then rebuild:

led-ticker-weather
# in your led-ticker checkout
docker compose up -d --build

Standalone (a venv that already has led-ticker):

pip install led-ticker-weather

See the led-ticker Plugins docs for the constraint-based install the Docker image uses.

Configuration

Set the API key in your .env:

WEATHERAPI_KEY=your-key-here

Then add the widget:

[[sections]]
[[sections.widgets]]
type = "weather.current"
location = "London"

The widget polls WeatherAPI.com in the background and renders the label, temperature, and a condition icon. Conditions map to icon slugs via _match_condition (sun / cloud / rain / snow / thunder / fog).

Development

This package lives in the led-ticker-plugins monorepo. Run tooling from the repo root:

uv sync --extra dev
uv run pytest plugins/weather
uv run ruff check plugins/weather

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

led_ticker_weather-0.2.1.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

led_ticker_weather-0.2.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file led_ticker_weather-0.2.1.tar.gz.

File metadata

  • Download URL: led_ticker_weather-0.2.1.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for led_ticker_weather-0.2.1.tar.gz
Algorithm Hash digest
SHA256 cf0e3ec76e3c1de57ce3b0ba1eaaee9c077fae82e61792d242d17bbedf149e2d
MD5 5bf8e909432eda5a420b12caef22bd74
BLAKE2b-256 8e3095acbc4a27b1e7b98273a39b2035039f4b4a3dd0216f9346c7b69c71c837

See more details on using hashes here.

Provenance

The following attestation bundles were made for led_ticker_weather-0.2.1.tar.gz:

Publisher: publish.yml on JamesAwesome/led-ticker-plugins

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file led_ticker_weather-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for led_ticker_weather-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 733acb29cc729fe4dad6731923a84b16b521475229b9942f27385c12e39e0c4a
MD5 f5829ea20aaa08d6f6e7b48e3bd0c90a
BLAKE2b-256 448b7b727bf5cb08434ae04e3bf37529e3f257f348082359fa6205a2ecd10e79

See more details on using hashes here.

Provenance

The following attestation bundles were made for led_ticker_weather-0.2.1-py3-none-any.whl:

Publisher: publish.yml on JamesAwesome/led-ticker-plugins

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.4.0

2 files

0.3.0

2 files

This release

0.2.1 This release

2 files

0.2.0

2 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