podryk: A podcast feed generator
An RSS 2.0 feed writer for Python for generating Podcast feeds. Supported features:
- RSS 2.0
- iTunes (Apple Podcast Connect)
- Podlove: chapters
- Podcasting 2.0: transcripts & text records
Podryk is opinionated: If there is multiple conflicting specifications for a feature (like chapters), only one will be implemented.
Installation
You can install the python library with:
pip install podryk
Usage
An example with only required attributes:
from podryk import Enclosure, Episode, Guid, Podcast
feed = Podcast(
canonical_link="https://example.com/canonical.rss",
title="Podcast title",
description="Podcast description",
link="https://example.com/episode.html",
language="en",
explicit=False,
image="https://example.com/podcast.png",
episodes=[
Episode(
title="Episode title",
guid=Guid(guid="12345678-1234-5678-1234-567812345678"),
enclosure=Enclosure(
url="https://example.com/audio.mp3",
length=30000,
type="audio/mpeg",
),
)
],
).to_feed()
An example with all possible attributes:
from datetime import datetime, timedelta, timezone
from podryk import (
Chapter,
Enclosure,
Episode,
EpisodeType,
Guid,
Podcast,
PodcastCategory,
PodcastType,
TextRecord,
Transcript,
)
feed = Podcast(
canonical_link="https://example.com/canonical.rss",
title="Podcast title",
description="Podcast description",
link="https://example.com/episode.html",
language="en",
copyright="Copyright notice",
categories=[
PodcastCategory.FILM_REVIEWS,
PodcastCategory.FILM_INTERVIEWS,
],
explicit=True,
image="https://example.com/podcast.png",
author="Podcast author",
type=PodcastType.SERIAL,
complete=False,
locked=False,
guid="3595bd1c-50a4-504d-baf4-99de513b3737",
text_records=[TextRecord(purpose="verify", content="S6lpp-7ZCn8-dZfGc-OoyaG")],
episodes=[
Episode(
title="Episode title",
guid=Guid(guid="12345678-1234-5678-1234-567812345678"),
enclosure=Enclosure(
url="https://example.com/audio.mp3",
length=30000,
type="audio/mpeg",
),
link="https://example.com/episode.html",
publication_date=datetime(2014, 6, 20, 10, 35, tzinfo=timezone.utc),
description="Episode description",
duration=timedelta(hours=1, minutes=10, seconds=50),
image="https://example.com/episode.png",
explicit=False,
season_number=2,
episode_number=30,
type=EpisodeType.FULL,
block=False,
transcripts=[
Transcript(url="https://example.com/episode.vtt", type="text/vtt"),
],
chapters=[
Chapter(start=timedelta(seconds=10), title="Episode chapter 1"),
Chapter(
start=timedelta(minutes=2),
title="Episode chapter 2",
href="https://example.com/chapter.html",
),
],
)
],
).to_feed()
Miscellaneous
Podryk implements a subset from the following Podcast specifications:
- PSP-1: The Podcast RSS Standard
- Podcasting 2.0
- Spotify's Podcast Delivery Specification
- iTunes' Podcast RSS feed requirements
Create a ticket if you find any deviations from the mentioned specifications.
You can validate your podcast feed using one of these services:
Metadata
Release files for podryk 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| podryk-1.1.0.tar.gz | 11.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| podryk-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.1 kB
Release files / podryk-1.1.0.tar.gz
| Download URL | podryk-1.1.0.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4d88b11f5af13f09940abe7d0febb48b293d729657dc904cd5d5bfc0772dfe7
|
|
BLAKE2b-256 checksum How to use checksums |
79e80d94ffa1b596698b249a1309821972395be8223aea40f3a4219d7a0262b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 8, 2026.
Transparency logRelease files / podryk-1.1.0-py3-none-any.whl
| Download URL | podryk-1.1.0-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed5173095a17a47bb95d5b392216022a18b69a8d0914860c73fb0e9bc5b0d8a3
|
|
BLAKE2b-256 checksum How to use checksums |
e3f44574a492f2dbf94b52cd98c7efa8705fb0507926d7a2ec1c8d96433ea193
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 8, 2026.
Transparency log