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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55d1134fcaf07f130e5e3340837e7816e5ef7cb9f93ebad9867660160d309afe
|
|
| MD5 |
77d3feec6db66ca47312a367cc2104f8
|
|
| BLAKE2b-256 |
27c23e0168d91b4bdd883641de9f305ada327b74ccc578e61e0c0a974de5676e
|
File details
Details for the file elizaos_plugin_rss-2.0.0a5-py3-none-any.whl.
File metadata
- Download URL: elizaos_plugin_rss-2.0.0a5-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da63ed5fe14e5357308fa832bd8d527bf2ba50b87052a8e37a8a2db43f87ebc8
|
|
| MD5 |
39785b0bdda97713f59f5655b3769ca2
|
|
| BLAKE2b-256 |
bbde376684ba791c46940cdf9dfd08be34d49135b361a3022e39545ac44713ff
|