Skip to main content

led-ticker-rss

An RSS/Atom headline plugin for led-ticker. It contributes a single rss.feed widget that polls a feed URL and scrolls each story headline across the panel as its own ticker message.

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

Prerequisites

  • A working led-ticker install.
  • Internet access on the Pi (the widget fetches the feed URL).

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-rss
# in your led-ticker checkout
docker compose up -d --build

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

pip install led-ticker-rss

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

Configuration

[[sections]]
[[sections.widgets]]
type = "rss.feed"
url = "https://feeds.bbci.co.uk/news/rss.xml"

The widget is a Container: it pulls the feed in the background and expands each story into its own scrolling TickerMessage, so live updates surface within one display cycle.

Options

Field Default Meaning
feed_url required RSS/Atom URL to poll.
update_interval 1800 Seconds between polls.
padding 6 Trailing padding (px) after each story in ticker mode.
max_stories 5 How many items to show per pass.
font_color legacy 3-color cycle Any core color provider; applied to every story.
bg_color none Background color for every story.
font core default Font name for every story.
description "off" "append" folds each item's description onto its headline (below).
description_skip [] Regexes; description paragraphs matching any (case-insensitive search) are dropped.
description_max_chars 200 Cap on the folded description text (characters including the …, cut at a word boundary). 0 = no cap.

Showing an item's description / notes

By default each story is the item's <title> only. Set description = "append" and the item's description is flattened to plain-text paragraphs (block tags split, inline tags drop, <img> has no text, <script>/<style> contents drop, entities unescape) and the survivors are appended to the headline with · separators:

[[playlist.section.widget]]
type = "rss.feed"
feed_url = "https://example.com/feed.xml"
description = "append"
description_skip = ["^Posted by", "^Read more"]

Filters run before the join, so the result stays a one-line headline:

  • A paragraph that restates the title is dropped: its words, in order, are a run of two or more consecutive title words, or all of them (feeds that repeat the headline's date or subject in the body — "Nov 11", "9:17 PM"). A one-word note that merely echoes a title word is kept.
  • Any paragraph matching a description_skip regex is dropped.
  • The folded text (not the title) is capped at description_max_chars, cut at a word boundary with ….
  • A summary or content the feed declares as plain text (Atom type="text") skips the tag flattener and is treated as one paragraph (< and & literal, whitespace collapsed); dedup, description_skip and the cap still apply.

Which field: feedparser's summary, i.e. RSS <description> / Atom <summary>; when an item has neither, feedparser falls back to content:encoded / Atom <content> (the full body), which is what the cap is for. Items whose description has nothing left render exactly as before. An item with no <title> shows its folded description alone; with description = "off" a title-less item is skipped and does not count toward max_stories. description_skip without description = "append" is reported as a warning by led-ticker validate.

Development

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

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

Metadata

Release files for led-ticker-rss 0.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 led-ticker-rss 0.3.0
File Size Uploaded Provenance Actions
led_ticker_rss-0.3.0.tar.gz 17.2 kB With provenance Details for led_ticker_rss-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for led-ticker-rss 0.3.0
File Interpreter ABI Platform Actions
led_ticker_rss-0.3.0-py3-none-any.whl Python 3 none any Details for led_ticker_rss-0.3.0-py3-none-any.whl

Total release size: 27.1 kB

Release files / led_ticker_rss-0.3.0.tar.gz

Download URL led_ticker_rss-0.3.0.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
57d622932d4c96110e5005e390311a55b2f16ca9120d5a593d8c37c16c5ed760
BLAKE2b-256 checksum
How to use checksums
2bf49f970539d9de0272c5947e27a8782e677fa1d4c255157423dea0111ba67d
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 Nov 12, 2026.

Transparency log

Release files / led_ticker_rss-0.3.0-py3-none-any.whl

Download URL led_ticker_rss-0.3.0-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cfa1be8cca671b01191271eab634d8c32910ac0de15bbe4de95c33d08bde62db
BLAKE2b-256 checksum
How to use checksums
2a0fbd3b827953be1818f31132b33ce29a91d9169bf0b00ae585bce78ef9562d
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 Nov 12, 2026.

Transparency log

Security for led-ticker-rss 0.3.0

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.

Select from 2 files

Attestation for led_ticker_rss-0.3.0.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 Nov 12, 2026.

Transparency log

A 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.

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