Summarizes podcasts.
Project description
podcast-summarizer
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.
- Get an OpenAI API Key
- Add the key to your
OPEN_API_KEYenvironment 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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d85e0c9dac3002bc44642f4374c1111cc839e188a5decfb98d03c40e72bb1805
|
|
| MD5 |
28a68b8e5b85a0c31f087311ef1a301e
|
|
| BLAKE2b-256 |
4aa31a77637262f1af53eba2d8c40841d692f23d975d98e22f7f4108d58d90b2
|
File details
Details for the file podcast_summarizer-0.3.1-py3-none-any.whl.
File metadata
- Download URL: podcast_summarizer-0.3.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/22.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59f30697d7b416f048c8463f4b8462ee37bec9ba8fffa8d4a7dd90096ece827e
|
|
| MD5 |
30a0d24483eb96416ba68347ac8d3487
|
|
| BLAKE2b-256 |
167c34c271d70c84754af2ecc95c270c5432eb1352eadd34b92d8e6ab6767c91
|