- pyproject.toml con FastAPI, SQLAlchemy 2.x, Alembic, Pydantic v2, openpyxl, rapidfuzz, Faker; dev: pytest, httpx, ruff - app/: config desde entorno, engine SQLite con WAL y sesión sin borrado físico, stubs por fase - seed/ y tests/fixtures/ con README; .gitignore excluye *.xlsx fuera de seed/ y tests/fixtures/ - test de /api/health con cliente de prueba y SQLite en memoria
9 lines
311 B
Python
9 lines
311 B
Python
"""collina-pld: plataforma PLD/FT para CHM Compliance. Ver BRIEF.md."""
|
|
|
|
from importlib.metadata import PackageNotFoundError, version
|
|
|
|
try:
|
|
__version__ = version("collina-pld")
|
|
except PackageNotFoundError: # ejecución sin instalar el paquete (p. ej. desde un checkout crudo)
|
|
__version__ = "0.0.0+dev"
|