243aa2cc07
pruebas / pytest (push) Failing after 5s
The option (or `DEV_DATA_GENERADOR=kpnc`) replaces the fixed proportions with bayes-pim's KPNC-like hospital (`bayes_pim.hospital`): women cotested over the 14 years before the reference under KPNC's protocol, several visits each, colposcopies and CIN2+ biopsies from KPNC's published tables, turned into the hospital's cytologies, biopsies and notes. bayes-pim is the `kpnc` extra, pinned to a commit of its Gitea repository; the Docker image doesn't install it yet.
47 lines
1.4 KiB
TOML
47 lines
1.4 KiB
TOML
[project]
|
|
name = "dev-data"
|
|
version = "0.1.0"
|
|
description = "Datos simulados de ISSSTELEON: un sistema del hospital en MySQL para probar la plataforma de punta a punta."
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"core",
|
|
# The EEGs' EDF+ files (`dev_data.tea.edf`).
|
|
"edfio>=0.4.18",
|
|
"numpy>=1.26",
|
|
"opencv-python-headless>=4.8",
|
|
"pillow>=10.0",
|
|
"pymysql[rsa]>=1.2.3",
|
|
"pypdfium2>=4.0",
|
|
"reportlab>=4.2",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
# `poblar cacu --generador kpnc`: el hospital tipo KPNC de bayes-pim (trae pandas, scipy y pymc).
|
|
kpnc = ["bayes-pim"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest==9.1.1",
|
|
# Solo las pruebas usan WebApi; el paquete dev_data no depende de ella.
|
|
"webapi",
|
|
]
|
|
|
|
# Por ruta, del árbol ISSSTELEON junto a dev-data: Core da los esquemas de las
|
|
# tablas del hospital (y trae sqlmodel); WebApi, solo para las pruebas.
|
|
[tool.uv.sources]
|
|
core = { path = "../ISSSTELEON/Core", editable = true }
|
|
webapi = { path = "../ISSSTELEON/WebApi", editable = true }
|
|
# bayes-pim desde su repositorio en Gitea (lectura por HTTP sin credenciales), en un commit fijo.
|
|
bayes-pim = { git = "http://10.0.10.41:3000/edgar/bayes-pim.git", rev = "1cef69be90a7a9ea30378118cd2a2c9fa312943e" }
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/dev_data"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|