Video Text Summarizer
A Python package designed to analyze and summarize video content by processing pre-extracted textual information such as transcripts, subtitles, and descriptions. It leverages structured pattern matching to extract key topics, themes, and insights from lengthy videos, providing concise summaries without processing multimedia directly.
📌 Overview
This package helps users quickly grasp the essence of video content by summarizing textual data (transcripts, subtitles, etc.) using advanced language models. It is ideal for environments where only text data is available, enabling efficient content discovery and knowledge extraction.
📦 Installation
Install the package via pip:
pip install video_text_summarizer
🚀 Usage
Basic Usage
from video_text_summarizer import video_text_summarizer
# Summarize text using the default LLM7 model
response = video_text_summarizer(
user_input="Your video transcript or text here..."
)
print(response)
Custom LLM Usage
You can replace the default ChatLLM7 with any other LangChain-compatible LLM (e.g., OpenAI, Anthropic, Google Generative AI):
Using OpenAI
from langchain_openai import ChatOpenAI
from video_text_summarizer import video_text_summarizer
llm = ChatOpenAI()
response = video_text_summarizer(
user_input="Your video transcript or text here...",
llm=llm
)
print(response)
Using Anthropic
from langchain_anthropic import ChatAnthropic
from video_text_summarizer import video_text_summarizer
llm = ChatAnthropic()
response = video_text_summarizer(
user_input="Your video transcript or text here...",
llm=llm
)
print(response)
Using Google Generative AI
from langchain_google_genai import ChatGoogleGenerativeAI
from video_text_summarizer import video_text_summarizer
llm = ChatGoogleGenerativeAI()
response = video_text_summarizer(
user_input="Your video transcript or text here...",
llm=llm
)
print(response)
🔧 Parameters
| Parameter | Type | Description |
|---|---|---|
user_input |
str |
The text (e.g., transcript, subtitles) to summarize. |
api_key |
Optional[str] |
Your LLM7 API key (if not provided, falls back to LLM7_API_KEY environment variable). |
llm |
Optional[BaseChatModel] |
A custom LangChain-compatible LLM (e.g., ChatOpenAI, ChatAnthropic). If omitted, defaults to ChatLLM7. |
🔑 API Key & Rate Limits
- Default LLM: Uses
ChatLLM7fromlangchain_llm7. - Free Tier: Sufficient for most use cases (check LLM7 docs for limits).
- Custom API Key: Pass via
api_keyparameter or setLLM7_API_KEYenvironment variable. - Get API Key: Register at LLM7 Token for free.
📝 License
MIT License (see LICENSE for details).
📢 Support & Issues
For bugs, feature requests, or support, open an issue on GitHub.
👤 Author
Eugene Evstafev 📧 hi@euegne.plus 🔗 GitHub: chigwell
Metadata
Release files for video-text-summarizer 2025.12.21114602
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 |
|---|---|---|---|---|
| video_text_summarizer-2025.12.21114602.tar.gz | 4.2 kB | Without provenance | Details for video_text_summarizer-2025.12.21114602.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| video_text_summarizer-2025.12.21114602-py3-none-any.whl | Python 3 | none | any | Details for video_text_summarizer-2025.12.21114602-py3-none-any.whl |
Total release size: 9.1 kB
Release files / video_text_summarizer-2025.12.21114602.tar.gz
| Download URL | video_text_summarizer-2025.12.21114602.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c28c9cdea640ef1468dc939963200dd90a6597c73e47d1f3c326580c7cb2b00
|
|
BLAKE2b-256 checksum How to use checksums |
a17fd38ab4d062fa4781abb42323c20c9837924dcf0b3e56cedddc49e4de60ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Release files / video_text_summarizer-2025.12.21114602-py3-none-any.whl
| Download URL | video_text_summarizer-2025.12.21114602-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3be6a183195782fa96c8b8e8f6b6b7e92e7cb3540f0d5e2b8f09a489a5a57d2a
|
|
BLAKE2b-256 checksum How to use checksums |
4431d9dd24413584799b8d0e8d837c8f5766719b77bfc5abad02f663642e1490
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Security for video-text-summarizer 2025.12.21114602
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.