Skip to main content

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.

  1. Obtain your API key from the Groq Console:
    Get your Groq API key

  2. 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 to True.
from get_video_summary 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fasteryoutubesummary-0.1.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

fasteryoutubesummary-0.1.2-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fasteryoutubesummary-0.1.2.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

Hashes for fasteryoutubesummary-0.1.2.tar.gz
Algorithm Hash digest
SHA256 340c25bb095025d9ee6420f807350ba9a4f23970e95f9b205263fc43e5aff53a
MD5 6492d03e63cf68b0c25e41a035060f85
BLAKE2b-256 01ae97319a900ea50a666215ff76ab522f67e642405d5dce30b576903a5d4aa4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fasteryoutubesummary-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cef9cf0ba4bc1a8cd3ed7e3ebeda38bcf6936a59bd81cd3cf2d5b704858fbae4
MD5 c6cd0d07eb7d44010f63e5c13309b248
BLAKE2b-256 0c2a03d33c6446e9aedf08a05ca7e1d107b9d630b5538ccadf5821181d421c32

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