Skip to main content

feed2castanet

Utility for migrating a podcast feed to Markdown files compatible with the Hugo Castanet theme

Installation

pip

Install locally:

$ pip3 install -e .

Or install over PyPi:

$ pip3 install feed2castanet

Manual

Install Python requirements:

$ pip3 install -u -r requirements.txt

Usage

Create documents per episode in a podcast feed:

$ feed2castanet -u https://<podcast-url>/feed/mp3 -t episode.md.j2

Override episode hosts:

$ feed2castanet -u https://<podcast-url>/feed/mp3 -t episode.md.j2 --hosts paula --hosts max

Templating

Episode documents are prepared using a Jinja2 template - see episode.md.j2 for an example.

Several variables contain episode information:

Key Description
description Episode description
description_html Episode description in HTML, often used for shownotes
alias Path of former episode URL (e.g. /e123-my-episode of https://<podcast-url>/e123-my-episode)
itunes_author Episode author(s)
published Date of publication
number Episode number
episode_art_url Episode artwork URL
guid Episode globally unique ID
hosts Episode hosts (optional)
podcast_duration Total episode duration (e.g. 01:33:07)
podcast_file Audio file URL
podcast_bytes File size in bytes
title Episode title

Metadata

Release files for feed2castanet 0.5.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 feed2castanet 0.5.0
File Size Uploaded Provenance
feed2castanet-0.5.0.tar.gz 16.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for feed2castanet 0.5.0
File Interpreter ABI Platform
feed2castanet-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.6 kB

Release files / feed2castanet-0.5.0.tar.gz

Download URL feed2castanet-0.5.0.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
85e07e837a3f9e5ef1fec248ba3420d6814ef54db2637e2abae5ef9af5a33211
BLAKE2b-256 checksum
How to use checksums
697c3875afb6607af7f72f4e5d4aa2b37b812fa4ace28d1b088125bee5b9290d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / feed2castanet-0.5.0-py3-none-any.whl

Download URL feed2castanet-0.5.0-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c69537c5db53945ab0253dbaa7fa407687c2cfa0a108595bc77a80101440332f
BLAKE2b-256 checksum
How to use checksums
5b1c61b8f7e9a4ec0c2de3a2a23077646e5f038aaefd5347fbd6b83b7eeeb3e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Security for feed2castanet 0.5.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.5.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