Mac-Worker:
- pdf_export.py mit reportlab (pure Python, kein externes Tool)
- Nutzt dieselbe profile.docx-Konfig wie der DOCX-Renderer →
strukturell identisch, nur andere Optik
- POST /api/export/pdf
- requirements: reportlab==4.2.5
LXC:
- Job.pdf_path neu (Migration: ALTER TABLE job ADD COLUMN)
- Pipeline-Step nach DOCX: PDF wird ebenfalls erzeugt
(Progress: 90 DOCX → 95 PDF → 100 done)
- /api/jobs/{id}/download/pdf
- /api/jobs/{id}/retry löscht PDF mit, damit es neu erzeugt wird
- Frontend: zusätzlicher Download-Button "PDF" (vorne im Array)
- Tabelle: Download-Spalte 320px, 3-spaltiges Grid (5 Buttons → 3+2)
- Cards (Mobile) bleiben 2-spaltig (5 Buttons → 3 Zeilen)
14 lines
372 B
Plaintext
14 lines
372 B
Plaintext
fastapi==0.115.5
|
|
uvicorn[standard]==0.32.1
|
|
python-multipart==0.0.18
|
|
pydantic-settings==2.7.0
|
|
httpx==0.28.1
|
|
python-docx==1.1.2
|
|
pyyaml==6.0.2
|
|
reportlab==4.2.5
|
|
# Whisper-Engines (eine wählen — siehe README):
|
|
# Apple Silicon (empfohlen):
|
|
lightning-whisper-mlx==0.0.10 ; sys_platform == "darwin" and platform_machine == "arm64"
|
|
# Portable Alternative:
|
|
faster-whisper==1.0.3
|