ytsum
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
Metadata
Release files for ytsum 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ytsum-0.1.9.tar.gz | 4.2 kB | Without provenance | Details for ytsum-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ytsum-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for ytsum-0.1.9-py3-none-any.whl |
Total release size: 8.8 kB
Release files / ytsum-0.1.9.tar.gz
| Download URL | ytsum-0.1.9.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cca30643d65307dea5d36ce255b7f542b2654f22e18e3ed0d70e4a4dc3e5cc0b
|
|
BLAKE2b-256 checksum How to use checksums |
69119cd79c6eb378f8a510285e1fb1eff60b63c4cfa6d553454fce3c0c9056ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.9
|
Release files / ytsum-0.1.9-py3-none-any.whl
| Download URL | ytsum-0.1.9-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23fae20dad369f60b096a350688442a81f4511505d0c31b02187958e9cb30c80
|
|
BLAKE2b-256 checksum How to use checksums |
ead4eca67bdcd413cfb6280e5d1a9900a9a35f2f09be5b5fa56d4234cabf5b53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.9
|
Security for ytsum 0.1.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.