Faster YouTube Summary is a tool designed to quickly generate detailed summaries of YouTube videos using Groq API
Project description
Faster YouTube Summary
Faster YouTube Summary is a powerful tool designed to quickly generate detailed summaries of YouTube videos using the Groq API. This tool can deliver a comprehensive summary of a YouTube video in just 2 seconds, provided the video has native captions.
Installation
To install the necessary dependencies, run the following command:
pip install pytubefix groq
Setup
Faster YouTube Summary leverages the Groq API to provide fast and accurate responses from large language models (LLMs). To use this tool, you'll need a Groq API key.
-
Obtain your API key from the Groq Console:
Get your Groq API key -
Once you have your API key, set it as an environment variable:
export GROQ_API_KEY="YOUR_API_KEY"
Usage
After setup, you can use Faster YouTube Summary in your project with the following code:
from fasteryoutubesummary import get_video_summary
import os
url = input("Enter the URL of the YouTube video: ")
api_key = os.environ.get("GROQ_API_KEY")
summary = get_video_summary(url, api_key, return_summary_only=False)
print(summary)
- url and api_key are required parameters.
- To receive the summary as plain text only, set
return_summary_only
toTrue
.
from fasteryoutubesummary import get_video_summary
import os
url = input("Enter the URL of the YouTube video: ")
api_key = os.environ.get("GROQ_API_KEY")
summary = get_video_summary(url, api_key, return_summary_only=Ture)
print(summary)
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
File details
Details for the file fasteryoutubesummary-0.1.3.tar.gz
.
File metadata
- Download URL: fasteryoutubesummary-0.1.3.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1417eb5193214e44bfc0710c24ecd063dcc64eddc055d175ca493fac3063847b |
|
MD5 | 33da7dbb20a331256ae5590978639f59 |
|
BLAKE2b-256 | c1489ec93377b11d3d99ca95ffb0b6d426910ee29d749901b04629678ee938e9 |
File details
Details for the file fasteryoutubesummary-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: fasteryoutubesummary-0.1.3-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 528fc71f7646ac5e6f9d1e51e2326eced2ee5c2610f50e9d0df92f613f32c455 |
|
MD5 | 5e950e2559d3c28f15d0f97637a04b7b |
|
BLAKE2b-256 | 2c0b6f32cf57324413841319ca20aba1e932912676529276d7890345e33fcc80 |