Files
WebApi/pyproject.toml
2026-11-20 16:56:05 -06:00

55 lines
1.4 KiB
TOML

[project]
name = "webapi"
version = "0.1.0"
description = "ISSSTELEON REST API: data import, indicators, import log and model governance for CaCu, CaMa and TEA."
requires-python = ">=3.12"
dependencies = [
"flask>=3.0",
"persistance",
"models[notebooks]",
"extraction",
"apache-hamilton>=1.90",
"pandas>=2.0",
"openpyxl>=3.1",
"sqlalchemy>=2.0",
"pydantic>=2.0",
"pdfplumber>=0.11",
"pytesseract>=0.3.10",
"Pillow>=10.0",
"flask-cors>=4.0",
"gunicorn>=23.0",
"sqlglot>=25.0",
"rapidfuzz>=3.9",
"watchdog>=6.0",
# Every FHIR answer is validated against R4B's models before it leaves (`webapi.fhir.common`).
"fhir-resources>=8.3",
# The EEG quality checks' code system and interpretations in TEA's FHIR answers (`webapi.fhir.tea`, `webapi.fhir.terminology`).
"tea",
]
[project.optional-dependencies]
sql-drivers = [
"psycopg2-binary>=2.9",
"pymysql>=1.1",
"pymssql>=2.3",
]
[tool.uv.sources]
persistance = { path = "../Persistance", editable = true }
models = { path = "../models", editable = true }
extraction = { path = "../Extraction", editable = true }
tea = { path = "../models/libs/tea", editable = true }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["webapi"]
[dependency-groups]
dev = [
"pytest>=8.0.0",
"reportlab>=4.0",
]