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.9.tar.gz (4.2 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.9-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ytsum-0.1.9.tar.gz
  • Upload date:
  • Size: 4.2 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.9.tar.gz
Algorithm Hash digest
SHA256 cca30643d65307dea5d36ce255b7f542b2654f22e18e3ed0d70e4a4dc3e5cc0b
MD5 66edc37e8955545e7de19e5284e2d963
BLAKE2b-256 69119cd79c6eb378f8a510285e1fb1eff60b63c4cfa6d553454fce3c0c9056ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ytsum-0.1.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 23fae20dad369f60b096a350688442a81f4511505d0c31b02187958e9cb30c80
MD5 debb60ad9a9891a3641f517a439289ca
BLAKE2b-256 ead4eca67bdcd413cfb6280e5d1a9900a9a35f2f09be5b5fa56d4234cabf5b53

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