0355d21d47
- Dependencia editable indicadores-kit y Python >=3.12 (el kit lo pide).
- Dockerfile copia indicadores_kit/.
- GET /tea/indicadores y GET /tea/indicadores/<id>/figuras/<figura>
(periodos y tema opcionales; 400 y 404 con {"error": ...}).
- GET /tea/pacientes/<int:pac_id>.
- Pruebas de TEA con base temporal por TEA_DATABASE_URL.
29 lines
652 B
TOML
29 lines
652 B
TOML
[project]
|
|
name = "webapi"
|
|
version = "0.1.0"
|
|
description = "Flask REST API fronting Persistance (reads) and models (train/predict) for CaCu, CaMa and TEA."
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"flask>=3.0",
|
|
"persistance",
|
|
"models",
|
|
"indicadores-kit",
|
|
]
|
|
|
|
[tool.uv.sources]
|
|
persistance = { path = "../Persistance", editable = true }
|
|
models = { path = "../models", editable = true }
|
|
indicadores-kit = { path = "../indicadores_kit", editable = true }
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["webapi"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8.0.0",
|
|
]
|