Python client library and CLI for the Buzzsprout podcast API
Project description
pybuzzsprout
A Python client library and CLI for the Buzzsprout podcast hosting API.
Install
pip install pybuzzsprout
Quick Start
Python Library
from pybuzzsprout import BuzzsproutClient
client = BuzzsproutClient(api_key="your-token")
# List your podcasts
podcasts = client.podcasts.list()
for p in podcasts:
print(f"{p.id}: {p.title}")
# List episodes for a podcast
episodes = client.episodes.list(podcast_id=140447)
# Create an episode
episode = client.episodes.create(
podcast_id=140447,
title="My New Episode",
audio_url="https://example.com/episode.mp3",
private=True,
)
# Update an episode
client.episodes.update(
podcast_id=140447,
episode_id=episode.id,
title="Better Title",
private=False,
)
CLI
export BUZZSPROUT_API_KEY=your-token
# Discover your podcasts
buzzsprout podcasts list
# List episodes
buzzsprout episodes list --podcast 140447
# Get episode details
buzzsprout episodes get --podcast 140447 788881
# Create an episode
buzzsprout episodes create --podcast 140447 --title "My Episode" --audio-url https://example.com/audio.mp3 --private
# Update an episode
buzzsprout episodes update --podcast 140447 788881 --title "New Title" --public
# JSON output for scripting / agents
buzzsprout episodes list --podcast 140447 --json
Authentication
Get your API token from your Buzzsprout account settings.
Pass it directly:
client = BuzzsproutClient(api_key="your-token")
Or set the environment variable:
export BUZZSPROUT_API_KEY=your-token
License
MIT — Embersilk LLC
Project details
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 pybuzzsprout-0.1.1.tar.gz.
File metadata
- Download URL: pybuzzsprout-0.1.1.tar.gz
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73e002c0ac2aa5c59fcfcb7ed7ea1e561ea954d3567b26132d50b72adaadc20e
|
|
| MD5 |
74a6333199e94f4dcca7ec5d58b13cad
|
|
| BLAKE2b-256 |
93ca088485eebc806ac7fd5e56e0dc831fc3088de6af01ab22d4e8cf72bc2175
|
Provenance
The following attestation bundles were made for pybuzzsprout-0.1.1.tar.gz:
Publisher:
publish.yml on embersilk-labs/pybuzzsprout
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pybuzzsprout-0.1.1.tar.gz -
Subject digest:
73e002c0ac2aa5c59fcfcb7ed7ea1e561ea954d3567b26132d50b72adaadc20e - Sigstore transparency entry: 1914449060
- Sigstore integration time:
-
Permalink:
embersilk-labs/pybuzzsprout@a3fc862e9a4dd3a8eb55542f18213994c6cc742a -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/embersilk-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a3fc862e9a4dd3a8eb55542f18213994c6cc742a -
Trigger Event:
push
-
Statement type:
File details
Details for the file pybuzzsprout-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pybuzzsprout-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e18e0a9e1ed7331b953c59b9d93cdee6da2b021270fc6151a3732909342d9dba
|
|
| MD5 |
6be22c4b4de8cace0029e778241f2d2c
|
|
| BLAKE2b-256 |
e31b2582d13d92da0fbf00939fe3fc6903f3d54d9ec5419f69d3fa2b2127ffa9
|
Provenance
The following attestation bundles were made for pybuzzsprout-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on embersilk-labs/pybuzzsprout
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pybuzzsprout-0.1.1-py3-none-any.whl -
Subject digest:
e18e0a9e1ed7331b953c59b9d93cdee6da2b021270fc6151a3732909342d9dba - Sigstore transparency entry: 1914449126
- Sigstore integration time:
-
Permalink:
embersilk-labs/pybuzzsprout@a3fc862e9a4dd3a8eb55542f18213994c6cc742a -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/embersilk-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a3fc862e9a4dd3a8eb55542f18213994c6cc742a -
Trigger Event:
push
-
Statement type: