Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

OCP RSS Plugin

This plugin lets OCP play RSS feeds. It reads a feed URL, finds the first entry with an audio link, and returns that link as a playable stream.

Install

pip install ovos-ocp-rss-plugin

Usage

OCP loads this plugin through the opm.ocp.extractor entry point and calls it when a stream URI starts with the rss prefix. You can also call the extractor directly:

from ovos_ocp_rss_plugin import OCPRSSFeedExtractor

stream = OCPRSSFeedExtractor.get_rss_first_stream(
    "rss//https://www.pbs.org/newshour/feeds/rss/podcasts/show"
)
# stream = {"duration": ..., "title": ..., "timestamp": ..., "uri": "..."}

get_rss_first_stream returns a dictionary with duration, title, timestamp, and uri for the first entry that has an audio link. It returns an empty dictionary if the feed has no such entry or cannot be read.

License

Apache-2.0

Metadata

Release files for ovos-ocp-rss-plugin 0.1.4a1

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

Source distribution (sdist)

Source distribution for ovos-ocp-rss-plugin 0.1.4a1
File Size Uploaded Provenance Actions
ovos_ocp_rss_plugin-0.1.4a1.tar.gz 7.9 kB Without provenance Details for ovos_ocp_rss_plugin-0.1.4a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ovos-ocp-rss-plugin 0.1.4a1
File Interpreter ABI Platform Actions
ovos_ocp_rss_plugin-0.1.4a1-py3-none-any.whl Python 3 none any Details for ovos_ocp_rss_plugin-0.1.4a1-py3-none-any.whl

Total release size: 15.9 kB

Release files / ovos_ocp_rss_plugin-0.1.4a1.tar.gz

Download URL ovos_ocp_rss_plugin-0.1.4a1.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2ab86d7a5177dd2b41ec6ae0e887774776bcf636b5f885bb916e45415bd71e19
BLAKE2b-256 checksum
How to use checksums
cf6eec741353586739d04ee2ecdb739d5f42b07ffe69b3fb6c3e8dfaa32e5c7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / ovos_ocp_rss_plugin-0.1.4a1-py3-none-any.whl

Download URL ovos_ocp_rss_plugin-0.1.4a1-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c39e0d03ecae8f6889426f84c89a13bb2e0a814ba95d432d156ada87ee84c5a
BLAKE2b-256 checksum
How to use checksums
5afde6c4664b5c4f4362b36cc4d35da443dec80199398bbf6b4ca1e69963d6f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for ovos-ocp-rss-plugin 0.1.4a1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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