As of 07/02/2025, project is split into 2 main entities:
- A "backend" made of:
- Custom classes to easily load and manipulate rainfall data from Barcelona.
- An API written with FastAPI that exposes this data.
- A Webapp run with Flask that calls the latter API to display data.
The idea is the mid-run would be to split both entities into different repositories.
Perhaps even make 3 repositories, and package them by the following order of priority:
- Custom classes
- API
- Webapp
- Python 3.12
- Pip
- Clone repository
- Install dependencies
- Run FastAPI with Uvicorn
- Open Swagger UI
- Run Flask
- Open Webapp
git clone https://github.com/paul-florentin-charles/bcn-rainfall-models.git
cd bcn-rainfall-models
pip install uv
uv sync
uv run run.py api
uv run run.py webapp
uv run coverage run -m pytest
uv run coverage report
uv tool run mypy --check-untyped-defs .
uv tool run ruff check
uv tool run ruff format
🄯 2023-2025 Paul Charles