feat(01-01): create package structure, Pydantic models, and device abstractions

- pyproject.toml with FastAPI, uvicorn, Pydantic v2, aiofiles, structlog deps
- DeviceConfig Pydantic model with StripType, UUID, validation constraints
- ShowModel with AudioRef, TrackModel, CueModel, AnalysisBlock, schema_version=1
- BaseDevice ABC with encode_frame, encode_animation_cmd, bytes_per_pixel
- SK6812Device (4 bytes/pixel) and WS2801Device (3 bytes/pixel) implementations
This commit is contained in:
Claude
2026-04-05 18:45:19 +00:00
parent 5721bef791
commit 061edfcf6a
10 changed files with 179 additions and 0 deletions

2
.env Normal file
View File

@@ -0,0 +1,2 @@
HOST=0.0.0.0
PORT=8000