|
# requirements.txt |
|
|
|
# Telegram Bot Library |
|
python-telegram-bot[httpx]>=21.0,<22.0 |
|
|
|
# HTTPX (Core for async requests) |
|
httpx[http2]>=0.25.0,<0.28.0 |
|
|
|
# ASGI Framework (Core) |
|
starlette>=0.35.0,<0.38.0 |
|
|
|
# Web Scraping (HTML Parsing) |
|
beautifulsoup4>=4.11,<4.13 |
|
lxml>=4.9.0,<6.0.0 |
|
|
|
# YouTube Transcript Library (Primary method) |
|
youtube-transcript-api>=0.6,<0.7 |
|
|
|
# Google Gemini SDK (Fallback Summarizers) |
|
google-generativeai>=0.5.0,<0.7.0 |
|
|
|
# Groq SDK (Primary Summarizer - NEW) |
|
groq>=0.8.0,<0.9.0 |
|
|
|
# WSGI/ASGI Servers & Adapter |
|
gunicorn>=21.0,<23.0 |
|
uvicorn[standard]>=0.27.0,<0.30.0 |
|
|
|
# Async Utilities / Dependencies |
|
anyio>=3.6,<5.0 |
|
asgiref>=3.5,<3.9 |
|
|
|
# Retry Logic |
|
tenacity>=8.0,<9.0 |