Skip to main content

elizaOS RSS Plugin - RSS and Atom feed integration for monitoring news feeds

Project description

elizaos-plugin-rss

Python implementation of the RSS plugin for elizaOS.

Installation

pip install elizaos-plugin-rss

Or for development:

pip install -e ".[dev]"

Usage

from elizaos_plugin_rss import RssClient, RssConfig

# Create client
config = RssConfig()
client = RssClient(config)

# Fetch a feed
feed = await client.fetch_feed("https://news.ycombinator.com/rss")
print(f"Feed: {feed.title}")
print(f"Items: {len(feed.items)}")

for item in feed.items[:5]:
    print(f"  - {item.title}")

Features

  • Async HTTP client using httpx
  • Type-safe with Pydantic models
  • RSS 2.0 and Atom feed parsing
  • Secure XML parsing with defusedxml
  • Full feature parity with TypeScript and Rust implementations

Development

# Install dev dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Type checking
mypy elizaos_plugin_rss

# Linting
ruff check .
ruff format .

License

MIT

Project details


Download files

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

Source Distribution

elizaos_plugin_rss-2.0.0a5.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

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

elizaos_plugin_rss-2.0.0a5-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file elizaos_plugin_rss-2.0.0a5.tar.gz.

File metadata

  • Download URL: elizaos_plugin_rss-2.0.0a5.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for elizaos_plugin_rss-2.0.0a5.tar.gz
Algorithm Hash digest
SHA256 55d1134fcaf07f130e5e3340837e7816e5ef7cb9f93ebad9867660160d309afe
MD5 77d3feec6db66ca47312a367cc2104f8
BLAKE2b-256 27c23e0168d91b4bdd883641de9f305ada327b74ccc578e61e0c0a974de5676e

See more details on using hashes here.

File details

Details for the file elizaos_plugin_rss-2.0.0a5-py3-none-any.whl.

File metadata

File hashes

Hashes for elizaos_plugin_rss-2.0.0a5-py3-none-any.whl
Algorithm Hash digest
SHA256 da63ed5fe14e5357308fa832bd8d527bf2ba50b87052a8e37a8a2db43f87ebc8
MD5 39785b0bdda97713f59f5655b3769ca2
BLAKE2b-256 bbde376684ba791c46940cdf9dfd08be34d49135b361a3022e39545ac44713ff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page