Skip to main content

Summarize YouTube video instantly with the power of distill-whisper and Mixtral-8B

Project description

ytsum

PyPI PyPI - Downloads

Summarize YouTube videos instantly with the power of distil-whisper and Mixtral-8x7B

ytsum is a Python package that allows you to summarize YouTube videos by leveraging the power of distil-whisper for transcription and Mixtral-8x7B for generating detailed answers based on the video content.

Setup

To use ytsum, you need to get an API key from Together AI.

You can sign up and obtain your API key here: Together AI.

Installation

pip install ytsum
from ytsum import answer_youtube_question, set_together_api_key

# Set your Together AI API key
set_together_api_key("your_together_ai_api_key")

# Example usage
youtube_url = "https://www.youtube.com/watch?v=example"
query = "What is the main topic of this video?"

result = answer_youtube_question(youtube_url, query)

print(result)

Documentation

https://ytsum-docs.netlify.app/

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

ytsum-0.1.8.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

ytsum-0.1.8-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file ytsum-0.1.8.tar.gz.

File metadata

  • Download URL: ytsum-0.1.8.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for ytsum-0.1.8.tar.gz
Algorithm Hash digest
SHA256 ba9bd1c0aa2ea19d9cfe99c0b3431fcd2419031489a2c77bf7e700d93bf09ac3
MD5 833cf171f819ba221a03638b69ca6421
BLAKE2b-256 9411a8dd6a589cc4dd4cff63b65599f0e0d27b434888a24a07900d831c69bd4d

See more details on using hashes here.

File details

Details for the file ytsum-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: ytsum-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for ytsum-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a2fe5caaad9cad3c21dcd44dd1b47132c6817c9c090dbe59d359b3fa991509ab
MD5 ce132d4318490eb7d5a06062f5ea1e0e
BLAKE2b-256 d0fc22dd92c0176427e67ff30d9d1d879d3fbd69aecef694b5710abe8ea5657a

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