Ship the portal FastAPI controller with presets, sequences, and live audio.

Move the app under src/, add ring-spanning patterns with shared fonts and
beat-driven motion, and wire global audio settings into the web UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-09 00:59:03 +12:00
co-authored by Cursor
parent 5094c7bcee
commit 3d444d1cb5
127 changed files with 10318 additions and 62632 deletions
+12 -5
View File
@@ -8,9 +8,8 @@ version = "0.1.0"
description = "WS2812 LED control for Raspberry Pi"
requires-python = ">=3.9"
dependencies = [
"spidev>=3.6",
"rpi-ws281x>=5.0.0",
"rpi5-ws2812>=0.1.2",
"numpy>=1.26,<2",
"sounddevice>=0.5",
]
[project.optional-dependencies]
@@ -18,7 +17,15 @@ sim = [
"fastapi>=0.115",
"uvicorn[standard]>=0.32",
]
audio = [
"aubio>=0.4.9",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["leds*"]
where = ["src"]
include = ["leds*", "patterns*"]
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["test"]
python_files = ["test_*.py"]