ADR-002: Python 3.14 as Backend Language¶
Status: Accepted Date: 2026-01-15 Deciders: Kamerplanter Development Team
Decision¶
Python 3.14+ with FastAPI >= 0.115 and Pydantic v2 for the backend.
Rationale¶
FastAPI provides automatic OpenAPI generation from Python type annotations. Pydantic v2 enforces type validation at the model level. Celery (Python-native) handles background tasks.
Consequences¶
Positive¶
- Swagger UI and ReDoc out-of-the-box
- Type safety via Pydantic v2 and Python type hints
- mkdocstrings can auto-generate API docs from Google-style docstrings