This project now uses uv for dependency and environment management.
- Python 3.13
- uv installed on your machine
From the project root, use one of these commands:
uv sync # Simple app execution
uv sync --dev # Development tools (tests, deptry, etc.)
uv sync --extra ai # DRL training dependencies
uv sync --all-extras --all-groups # EverythingThese commands create or update the local virtual environment in .venv.
From the project root, run:
uv run streamlit run src/app.pyStreamlit should open automatically in your browser (typically at http://localhost:8501).
To train the DRL model, make sure you installed AI dependencies first:
uv sync --extra aiTraining logs are written under models/DPT/logs by the DPT training script.
Run training with uv:
uv run python src/models/DPT/AI_CLILearning.pyThen launch TensorBoard:
uv run tensorboard --logdir=models/DPT/logsOpen the URL shown by TensorBoard (typically http://localhost:6006).
# Sync dependencies after pyproject.toml changes
uv sync
# Run tests
uv run pytest