Spaces:
Running
Running
File size: 874 Bytes
70e641d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | [project]
name = "morphos-bridge"
version = "0.1.0"
description = "Puente local Morphos: lee analizadores de laboratorio (ASTM/HL7 v2) y reenvía resultados normalizados a la API por HTTPS."
requires-python = ">=3.11"
dependencies = [
"httpx>=0.28",
"pyserial>=3.5", # transporte serie (Abaxis/Horiba ASTM)
"pydantic>=2.10",
"pydantic-settings>=2.7",
]
# El puente es un proyecto uv SEPARADO del backend: sus deps de serie/HL7 no entran en la
# imagen de HF Spaces. Se instala en la máquina de la clínica, en la LAN del analizador.
[dependency-groups]
dev = [
"pytest>=8.3",
"pytest-asyncio>=0.25",
]
[tool.uv]
default-groups = ["dev"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["bridge"]
|