Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

All-in-one project about Barcelona Rainfall, that is being split into different subprojects; to be archived when splitting is completely achieved.

License

NotificationsYou must be signed in to change notification settings

paul-florentin-charles/bcn-rainfall-models

Repository files navigation

License: MITcoverage badgeRuffuvmypy

As of 07/02/2025, project is split into 2 main entities:

  1. A "backend" made of:
    1. Custom classes to easily load and manipulaterainfall data from Barcelona.
    2. AnAPI written with FastAPI that exposes this data.
  2. AWebapp 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:

  1. Custom classes
  2. API
  3. Webapp

Requirements

  • Python 3.12
  • Pip

Get started

  1. Clone repository
  2. Install dependencies
  3. RunFastAPI with Uvicorn
    1. OpenSwagger UI
  4. RunFlask
    1. OpenWebapp

Setup

git clone https://github.com/paul-florentin-charles/bcn-rainfall-models.gitcd bcn-rainfall-modelspip install uvuv sync

Run servers

RunAPI

uv run run.py api

RunWebapp

uv run run.py webapp

Tests & Coverage

uv run coverage run -m pytestuv run coverage report

Code quality

uv tool run mypy --check-untyped-defs .uv tool run ruff checkuv tool run ruff format

🄯 2023-2025 Paul Charles

About

All-in-one project about Barcelona Rainfall, that is being split into different subprojects; to be archived when splitting is completely achieved.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp