Skip to main content

calibre-recipe-runner

A lightweight Python sandbox for running Calibre news recipes.

The Calibre community has curated a treasure trove of over a thousand well-maintained parsing recipes for news outlets around the world. These recipes are typically designed to run within Calibre itself — but what if you want to use them elsewhere?

calibre-recipe-runner is a lightweight sandbox that lets you execute Calibre news recipes outside of the Calibre environment. No installation of Calibre is required.

This tool:

  • Dynamically loads .recipe files
  • Emulates essential Calibre modules
  • Extracts article feeds

Example

Run the Le Monde recipe from the Calibre collection:

calibre-recipe-runner le_monde

Output:

https://www.lemonde.fr/article1.html
https://www.lemonde.fr/article2.html

Run any other recipe:

calibre-recipe-runner path/to/news.recipe

Install

As a system-wide binary

uv tool install calibre-recipe-runner`

or

pipx install calibre-recipe-runner

As Python package

pip install calibre-recipe-runner

Before first run & for occasional updates

Requires curl and jq.

calibre-recipe-runner --update

The recipe collection is stored in ~/.local/share/calibre-recipe-runner/recipes.

Limitations

  • Most Calibre modules are stubbed or partially emulated.
  • Recipes requiring authentication or complex browser automation may not work out of the box. PRs welcome.

License

This project is licensed under the MIT License.

Metadata

Release files for calibre-recipe-runner 0.1.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 calibre-recipe-runner 0.1.0
File Size Uploaded Provenance Actions
calibre_recipe_runner-0.1.0.tar.gz 7.4 kB Without provenance Details for calibre_recipe_runner-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for calibre-recipe-runner 0.1.0
File Interpreter ABI Platform Actions
calibre_recipe_runner-0.1.0-py3-none-any.whl Python 3 none any Details for calibre_recipe_runner-0.1.0-py3-none-any.whl

Total release size: 15.2 kB

Release files / calibre_recipe_runner-0.1.0.tar.gz

Download URL calibre_recipe_runner-0.1.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
bffbe9ae875a3c05da271eb843b909e04b2bdc4a295fde659cee30794d2dd313
BLAKE2b-256 checksum
How to use checksums
e62464ddcee2fc08fc065c849c3a7306aa83fdb233d4dc2a661e014d06084aa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / calibre_recipe_runner-0.1.0-py3-none-any.whl

Download URL calibre_recipe_runner-0.1.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f83053348ebf65c5ae103741b1b25e87f1f2c8bc2057ffe7b7a3c4bcd0af84d3
BLAKE2b-256 checksum
How to use checksums
4cf041f4b98b2e63ae3cc0fa11a9c7e70c9d48c0e2607800b198a72ca2af5432
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Security for calibre-recipe-runner 0.1.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.

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