Files
office_translator/requirements.txt
sepehr 26dfa08730
Some checks failed
Deploy to Homelab / Deploy Wordly to 192.168.1.151 (push) Has been cancelled
Deploy to Homelab / Deploy Monitoring (if configured) (push) Has been cancelled
feat: add Prometheus metrics + fix CI/CD health check port
- Add prometheus-client dependency
- Create middleware/metrics.py with PrometheusMiddleware
- Expose /metrics endpoint in Prometheus text format
- Track http_requests_total, translation_total, translation_duration_seconds,
  file_size_bytes
- Instrument translate routes with record_translation() and record_file_size()
- Fix deploy.yml health check: localhost:8000 -> localhost:8001 (Portainer conflict)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-15 14:33:10 +02:00

51 lines
796 B
Plaintext

fastapi==0.109.0
uvicorn[standard]==0.27.0
python-multipart==0.0.9
openpyxl==3.1.2
python-docx==1.1.0
python-pptx==0.6.23
pdf2docx>=0.5.6
PyMuPDF>=1.24.0
lxml>=4.9.0
reportlab>=4.0.0
deep-translator==1.11.4
python-dotenv==1.0.0
pydantic==2.5.3
pydantic[email]==2.5.3
aiofiles==23.2.1
httpx>=0.27.0
Pillow==10.2.0
matplotlib==3.8.2
pandas==2.1.4
requests==2.31.0
ipykernel==6.27.1
openai>=1.0.0
psutil==5.9.8
python-magic>=0.4.27
# python-magic-bin==0.4.14 # Windows only - use python-magic on Linux/macOS
PyJWT==2.8.0
passlib[bcrypt]==1.7.4
bcrypt<4.1
stripe==7.0.0
redis==5.0.1
structlog>=24.1.0
sqlalchemy==2.0.25
alembic==1.13.1
aiosqlite>=0.19.0
asyncpg>=0.29.0
psycopg2-binary>=2.9.0
greenlet>=3.0.0
aiosmtplib>=3.0.0
pytest>=7.0.0
pytest-asyncio>=0.21.0
prometheus-client==0.20.0