adaptive-lighting/webapp
Bas Nijholt b547bfb1f3 Fix webapp Pyodide compatibility: pin matplotlib and contourpy versions
The webapp uses Shinylive which runs Python in the browser via Pyodide.
Pyodide only supports specific versions of packages that have C extensions.
Pin matplotlib to 3.8.4 and contourpy to 1.3.1 to match Pyodide's available versions.

This fixes the "Can't find a pure Python 3 wheel for 'contourpy==1.3.2'" error
when loading the webapp.
2025-07-21 15:17:32 -07:00
..
__init__.py Include core 2024.9.3 until 2024.12.0 in the tests (#1130) 2024-12-07 11:29:05 -08:00
app.py Fix Shiny WebApp (#1127) 2024-12-05 14:35:19 -08:00
color_and_brightness.py [pre-commit.ci] pre-commit autoupdate (#1163) 2025-06-15 21:55:36 -07:00
homeassistant_util_color.py [pre-commit.ci] pre-commit autoupdate (#882) 2024-02-05 14:13:13 -08:00
README.md Fix webapp README: correct pip install command 2025-07-21 15:12:09 -07:00
requirements.txt Fix webapp Pyodide compatibility: pin matplotlib and contourpy versions 2025-07-21 15:17:32 -07:00
requirements.txt.in Fix webapp Pyodide compatibility: pin matplotlib and contourpy versions 2025-07-21 15:17:32 -07:00

To run this app locally, install the requirements and run shiny run.

$ cd webapp
$ pip install -r requirements.txt
$ shiny run

After the server starts, which should take only a moment, you can open http://127.0.0.1:8000 to see the interface.