Add all the code for training service

This commit is contained in:
Urtzi Alfaro
2025-07-19 16:59:37 +02:00
parent 42097202d2
commit f3071c00bd
21 changed files with 7504 additions and 764 deletions

View File

@@ -1,27 +1,47 @@
# services/training/requirements.txt
# FastAPI and server
fastapi==0.104.1
uvicorn[standard]==0.24.0
python-multipart==0.0.6
# Database
sqlalchemy==2.0.23
asyncpg==0.29.0
alembic==1.12.1
pydantic==2.5.0
pydantic-settings==2.1.0
httpx==0.25.2
redis==5.0.1
aio-pika==9.3.0
prometheus-client==0.17.1
python-json-logger==2.0.4
psycopg2-binary==2.9.9
# ML dependencies
prophet==1.1.4
# ML libraries
prophet==1.1.5
scikit-learn==1.3.2
pandas==2.1.4
pandas==2.1.3
numpy==1.24.4
joblib==1.3.2
scipy==1.11.4
# HTTP client
httpx==0.25.2
# Validation
pydantic==2.5.0
pydantic-settings==2.1.0
# Authentication
python-jose[cryptography]==3.3.0
passlib[bcrypt]==1.7.4
python-multipart==0.0.6
# Messaging
aio-pika==9.3.1
# Monitoring and logging
structlog==23.2.0
prometheus-client==0.19.0
# Development and testing
pytest==7.4.3
pytest-asyncio==0.21.1
pytest-mock==3.12.0
httpx==0.25.2
# Utilities
pytz==2023.3
python-dateutil==2.8.2
python-logstash==0.4.8
structlog==23.2.0
pytz==2023.3