citrailmu
Convert lectures/talks from video/audio/YouTube into text (#GodamSahur 2025).
Installation
pip install citrailmu
Key Features
- 🎥 Media Processing
- YouTube Video Support
- Local Video/Audio Files
- Web URL Support
- Automatic Audio Compression
- 🔄 Content Analysis
- Full Speech Transcription
- Topic & Theme Analysis
- Multi-language Support
- PDF Report Generation
- 🌐 Flexible Integration
- Interactive Web UI
- Python Library
- File & URL Processing
Usage
Python Library
from citrailmu import CitraIlmu
# Initialize
client = CitraIlmu(
mode="default", # Mode (default/webui)
api_key="YOUR_KEY", # AI service API key
model="gemini-1.5-flash-8b", # AI model to use
yt_api=False, # Use YouTube API (optional)
yt_api_key="YOUR_YT_API_KEY" # YouTube API key (optional)
)
# Process media (file/URL)
audio_file, pdf_file, markdown_text = client.process_media(
input_path="path/to/video.mp4", # Audio/video file path or URL
target_language="Bahasa Malaysia", # Target language
processing_mode="Analysis" # Analysis/Transcript
)
Web UI
Start the Gradio web interface:
client = CitraIlmu(mode="webui")
# OR
client.start_webui(
host="localhost", # Server host
port=7860, # Server port
browser=False, # Launch browser
upload_size="100MB", # Max upload size
public=False, # Enable public URL
limit=10, # Max concurrent requests
quiet=False # Quiet mode
)
Configuration
Target Languages
- Bahasa Malaysia
- Arabic
- English
- Mandarin
- Tamil
Processing Modes
- Analysis: Full content analysis with topics and themes
- Transcript: Complete speech-to-text conversion
YouTube Processing Options
- API Mode: Uses web API for video downloading (requires API key)
- Default Mode: Uses native method for video downloading (no API key required)
PDF Result Format
- Title and Overview
- Topics and Themes (Analysis mode)
- Full Transcript
- Clean Typography and Layout
- RTL Support for Arabic
License
See LICENSE for details.
Release files for citrailmu 25.3.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| citrailmu-25.3.8.tar.gz | 22.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| citrailmu-25.3.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.5 kB
Release files / citrailmu-25.3.8.tar.gz
| Download URL | citrailmu-25.3.8.tar.gz |
|---|---|
| Size | 22.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83d911ac168db3cfad056764afa2ebd14418cbbc91fcc7bbc99f68fc26a8d6b4
|
|
BLAKE2b-256 checksum How to use checksums |
3fda6ef7079876f7ed588a64afd2b206bedb2d591ef2817f98393ec588ae596d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.11
|
Release files / citrailmu-25.3.8-py3-none-any.whl
| Download URL | citrailmu-25.3.8-py3-none-any.whl |
|---|---|
| Size | 21.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d07f9d3de216f08c7ef1f85f4a09860d2a43a31c7a8aeab54a04eff7e83d43f
|
|
BLAKE2b-256 checksum How to use checksums |
001aa95998691a17883974432286d980b99985eea8cc07445244578cf8b9064e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.11
|