Skip to main content

CLI for the Talk Python to Me podcast and courses

Project description

Talk Python CLI

PyPI version Python 3.12+ License: MIT

Unlock 500+ episodes of Talk Python to Me, full transcripts, guest profiles, and 50+ Talk Python Training courses — all from your terminal. Search, browse, and pipe structured data into your scripts, AI agents, or automation workflows.

Why use this?

  • Automation — Query episode data, guest info, and course catalogs from scripts and pipelines.
  • LLM & AI integration — Pipe JSON or Markdown output directly into AI agents, RAG systems, or chat workflows. Feed transcripts into RAG pipelines, build podcast assistants, or enrich your AI tools with real Python community knowledge.
  • Quick lookups — Search episodes, pull transcripts, and browse courses without leaving the terminal.

Installation

Requires Python 3.12+.

# Try it instantly with uvx (no install needed)
uvx --from talk-python-cli talkpython episodes recent

# Or install it permanently with uv
uv tool install talk-python-cli

# Or with pip
pip install talk-python-cli

This installs the talkpython command.

Quick start

# Search for episodes about FastAPI
talkpython episodes search "FastAPI"

# Get full details for a specific episode
talkpython episodes get 535

# Pull the transcript for an episode
talkpython episodes transcript 535

# List recent episodes
talkpython episodes recent --limit 5

# Search for a guest
talkpython guests search "Hynek"

# Browse all training courses
talkpython courses list

Commands

Episodes

Command Description
talkpython episodes search <query> [--limit N] Search episodes by keyword (default limit: 10)
talkpython episodes get <show_id> Get full details for an episode
talkpython episodes list List all episodes
talkpython episodes recent [--limit N] Get the most recent episodes
talkpython episodes transcript <show_id> Get the plain-text transcript
talkpython episodes transcript-vtt <show_id> Get the WebVTT transcript (with timestamps)

Guests

Command Description
talkpython guests search <query> [--limit N] Search guests by name
talkpython guests get <guest_id> Get details for a specific guest
talkpython guests list List all guests, sorted by number of appearances

Courses

Command Description
talkpython courses search <query> [--course_id N] Search courses, chapters, and lectures
talkpython courses get <course_id> Get full course details including chapters and lectures
talkpython courses list List all available training courses

Output formats

The CLI auto-detects the best output format:

  • Interactive terminal — Rich-formatted Markdown with styled panels and color.
  • Piped / redirected — Compact JSON, ready for processing.

Override the default with --format:

# Force JSON output in the terminal
talkpython --format json episodes search "async"

# Force rich text output even when piping
talkpython --format text episodes recent | less -R

Piping JSON to other tools

Because the CLI outputs JSON automatically when piped, it integrates naturally with tools like jq, llm, or your own scripts:

# Extract episode titles with jq
talkpython episodes search "testing" | jq '.title'

# Feed episode data into an LLM
talkpython episodes get 535 | llm "Summarize this podcast episode"

# Grab a transcript for RAG ingestion
talkpython episodes transcript 535 | your-rag-pipeline ingest

Global options

Option Description
--format text|json Force output format (auto-detected by default)
--url <mcp-url> Override the MCP server URL (default: https://talkpython.fm/api/mcp)
--version, -V Show version

Part of the Talk Python ecosystem

Talk Python CLI is one way to tap into the data behind the Talk Python to Me podcast and Talk Python Training courses. It connects to the same public MCP server that powers Talk Python's AI integrations — so whether you're building an agent, a search tool, or just want quick answers from the terminal, you're working with the real data.

License

MIT

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

talk_python_cli-0.1.2.tar.gz (24.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

talk_python_cli-0.1.2-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file talk_python_cli-0.1.2.tar.gz.

File metadata

  • Download URL: talk_python_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for talk_python_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ce837e47aac3895f3881c148e06e629146c2ff466756959243c1e403ba742b3d
MD5 396d779b4788bcc4ac0af391b04a3fa8
BLAKE2b-256 d9e5b91fb803c2d5e70b7365398fb159a0473a86569d838e5e714728f60e5023

See more details on using hashes here.

File details

Details for the file talk_python_cli-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: talk_python_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for talk_python_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 048ad8fdef3c714add0599aa5823a642d7d6b5c883b3db2d7b9f3a4a9d685ada
MD5 01a40cdf4fbaee93a0cb8fb0fc2ee250
BLAKE2b-256 dc2450c05798206140c53119bb0bf53482658eebf3b4aaa0afd4e9270dc4ab92

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page