Skip to main content

Summarizes podcasts.

Project description

podcast-summarizer

Version Python Version Support

Summarizes a podcast from an audio or transcription using ChatGPT.

Instalation

pip install podcast-summarizer

Usage

# Summarize a podcast audio from an URL.
podcast-summarizer http://.../audio.mp3

# Summarize a podcast audio from an YouTube video.
podcast-summarizer https://www.youtube.com/watch?v=...

# Summarize a podcast audio from local file.
podcast-summarizer audio.mp3

# Summarize a podcast audio and save transcription and summary to files.
podcast-summarizer -t transcription.txt -s summary.txt audio.mp3

# Summarize an already transcribed podcast
podcast-summarizer transcription.txt

Setup

You'll need to install ffmpeg before running the script.

# on Ubuntu or Debian
sudo apt update && sudo apt install ffmpeg

# on Arch Linux
sudo pacman -S ffmpeg

# on MacOS using Homebrew (https://brew.sh/)
brew install ffmpeg

The script expects an environment variable called OPEN_API_KEY.

  1. Get an OpenAI API Key
  2. Add the key to your OPEN_API_KEY environment variable:
  • If you use bash:

    echo 'export OPENAI_API_KEY={your api key}' >> ~/.bash_profile && source ~/.bash_profile
    
  • If yu use zsh:

    echo 'export OPENAI_API_KEY={your api key}' >> ~/.zshenv && source ~/.zshenv
    

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

podcast_summarizer-0.3.1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

podcast_summarizer-0.3.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file podcast_summarizer-0.3.1.tar.gz.

File metadata

  • Download URL: podcast_summarizer-0.3.1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/22.5.0

File hashes

Hashes for podcast_summarizer-0.3.1.tar.gz
Algorithm Hash digest
SHA256 d85e0c9dac3002bc44642f4374c1111cc839e188a5decfb98d03c40e72bb1805
MD5 28a68b8e5b85a0c31f087311ef1a301e
BLAKE2b-256 4aa31a77637262f1af53eba2d8c40841d692f23d975d98e22f7f4108d58d90b2

See more details on using hashes here.

File details

Details for the file podcast_summarizer-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for podcast_summarizer-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59f30697d7b416f048c8463f4b8462ee37bec9ba8fffa8d4a7dd90096ece827e
MD5 30a0d24483eb96416ba68347ac8d3487
BLAKE2b-256 167c34c271d70c84754af2ecc95c270c5432eb1352eadd34b92d8e6ab6767c91

See more details on using hashes here.

Supported by

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