A podcast feed generator
Project description
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:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file podryk-0.1.0.tar.gz.
File metadata
- Download URL: podryk-0.1.0.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00a13f9d5c46edf3e97620899e043f05963520e26615edc0782525274441c222
|
|
| MD5 |
3aac28ee753745afaed3fea305d32b9e
|
|
| BLAKE2b-256 |
49d91266104a5ccc2739623fc2647298c0a3056a4ea611c2082400f269de71c1
|
Provenance
The following attestation bundles were made for podryk-0.1.0.tar.gz:
Publisher:
release.yml on julien-hadleyjack/podryk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
podryk-0.1.0.tar.gz -
Subject digest:
00a13f9d5c46edf3e97620899e043f05963520e26615edc0782525274441c222 - Sigstore transparency entry: 927227909
- Sigstore integration time:
-
Permalink:
julien-hadleyjack/podryk@22bc23689374bd22c893f998e515316d04f0c32a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/julien-hadleyjack
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@22bc23689374bd22c893f998e515316d04f0c32a -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file podryk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: podryk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a270d1edf2136fb1ed2a8838307414d8d5f2014d2111c3479f7825eb6f265f04
|
|
| MD5 |
a8d3a49ca415d993f75223348906727e
|
|
| BLAKE2b-256 |
8a06d8a49a29bb61babc801a4c5ec671fce5595a942ece47ce4a30dfb0d5a657
|
Provenance
The following attestation bundles were made for podryk-0.1.0-py3-none-any.whl:
Publisher:
release.yml on julien-hadleyjack/podryk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
podryk-0.1.0-py3-none-any.whl -
Subject digest:
a270d1edf2136fb1ed2a8838307414d8d5f2014d2111c3479f7825eb6f265f04 - Sigstore transparency entry: 927227910
- Sigstore integration time:
-
Permalink:
julien-hadleyjack/podryk@22bc23689374bd22c893f998e515316d04f0c32a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/julien-hadleyjack
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@22bc23689374bd22c893f998e515316d04f0c32a -
Trigger Event:
workflow_dispatch
-
Statement type: