Files
armonia-api/pyproject.toml
T
kiskaadee 67f41ca2f1 feat(models): implement SQLModel table models, portable database engine, and align INDIVIDUAL schema
- Define SQLModel table models for AdminAllowlist, AdminAuditLog, Client, Service, Package, Booking, and Payment with foreign keys and strict validation.
- Configure portable SQLModel create_engine in app/db/database.py supporting local SQLite and Turso Cloud (sqlite+libsql://) with PRAGMA foreign_keys = ON.
- Provide get_session generator dependency for FastAPI routers.
- Align ONE_ON_ONE service type to INDIVIDUAL across schema.sql, routers, seeds, and documentation.
- Add unit tests for all models and database connectivity (75 tests passing).

Refs: #6
2026-10-19 12:58:59 -05:00

48 lines
953 B
TOML

[project]
name = "armonia-api"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"email-validator>=2.3.0",
"fastapi>=0.115.0",
"httpx>=0.27.0",
"libsql-client>=0.3.1",
"pydantic[email]>=2.8.0",
"pydantic-extra-types>=2.11.1",
"pydantic-settings>=2.4.0",
"sqlalchemy-libsql>=0.2.0",
"sqlmodel>=0.0.48",
"time-machine>=3.5.1",
"uvicorn[standard]>=0.30.0",
"httpx2>=2.14.0",
]
[dependency-groups]
dev = [
"mutmut>=3.8.0",
"pyright>=1.1.414",
"pytest>=9.1.1",
"pytest-asyncio>=1.4.0",
"pytest-mock>=3.17.0",
"ruff>=0.17.1",
]
[tool.ruff]
line-length = 100
target-version = "py313"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
ignore = ["B008", "E501"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["E402"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
pythonpath = ["."]