Skip to main content

PyPI version docs License DOI

invenio-feeds

Celery-based feed processing extension for InvenioRDM, powering the Rogue Scholar science blog archive.

invenio-feeds replaces the former Flask/REST API with Celery workers that periodically fetch blog feeds, normalise posts, and upsert them as InvenioRDM records and communities. It follows the standard invenio-base extension pattern and integrates into any InvenioRDM instance.

Installation

Requires Python 3.14. Uses uv for dependency management.

uv sync

Running

Celery worker

celery -A invenio_feeds.tasks worker --loglevel=info

Celery beat scheduler (periodic tasks)

celery -A invenio_feeds.tasks beat --loglevel=info

Trigger a feed import manually

celery -A invenio_feeds.tasks call invenio_feeds.process_blog_feed --args='["<blog-slug>"]'

Scheduled tasks

Task Schedule Description
invenio_feeds.process_all_feeds every 30 min Fan-out: one process_blog_feed per active blog
invenio_feeds.process_blog_feed on-demand Fetch and upsert all new posts for one blog
invenio_feeds.classify_all_blogs daily 03:00 UTC Fan-out: classify untagged posts per blog

Development

We use pytest for testing:

uv run pytest

Follow along via Codeberg Issues. Please open an issue if you encounter a bug or have a feature request.

Note on Patches/Pull Requests

  • Fork the project
  • Write tests for your new feature or a test that reproduces a bug
  • Implement your feature or make a bug fix
  • Do not mess with Rakefile, version or history
  • Commit, push and make a pull request. Bonus points for topical branches.

Documentation

Documentation (work in progress) for using Rogue Scholar is available at the Rogue Scholar Documentation website.

Meta

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

License: MIT

Metadata

Release files for invenio-feeds 0.4.2

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

Source distribution (sdist)

Source distribution for invenio-feeds 0.4.2
File Size Uploaded Provenance Actions
invenio_feeds-0.4.2.tar.gz 189.7 kB Without provenance Details for invenio_feeds-0.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for invenio-feeds 0.4.2
File Interpreter ABI Platform Actions
invenio_feeds-0.4.2-py3-none-any.whl Python 3 none any Details for invenio_feeds-0.4.2-py3-none-any.whl

Total release size: 393.2 kB

Release files / invenio_feeds-0.4.2.tar.gz

Download URL invenio_feeds-0.4.2.tar.gz
Size 189.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f4971e6e86747e1ede1d2fb7f059e39f10c305eec9035abefeec7c17129f6bd8
BLAKE2b-256 checksum
How to use checksums
6a969a29741f32038b4022513e67e6097c4eb0fb3c8e0b9d150e71f4be782459
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / invenio_feeds-0.4.2-py3-none-any.whl

Download URL invenio_feeds-0.4.2-py3-none-any.whl
Size 203.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c6bee65fee6fcf2317402d88c5bf42f817a9c83f2508e7e11440100c59abc9b
BLAKE2b-256 checksum
How to use checksums
1e73f2198e79c61915fc5d2f8841d2f6feede5e382d46d493214446db26c3d4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for invenio-feeds 0.4.2

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.

Release history Release notifications | RSS feed

This release

0.4.2 This release

2 release files No provenance

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