50 lines
1.1 KiB
TOML
50 lines
1.1 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",
|
|
]
|
|
|
|
[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 }
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["webapi"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"fhir-resources>=8",
|
|
"pytest>=8.0.0",
|
|
"reportlab>=4.0",
|
|
]
|