From 86460f69485bd3c4f688de1715c1bbb07f7349c5 Mon Sep 17 00:00:00 2001 From: Zachary McCord Date: Sun, 13 Jul 2025 16:45:30 -0500 Subject: [PATCH] webapp: add missing requirements and instructions for local run (#1235) --- webapp/README.md | 10 ++++ webapp/requirements.txt | 97 ++++++++++++++++++++++++++++++++++++++ webapp/requirements.txt.in | 3 ++ 3 files changed, 110 insertions(+) create mode 100644 webapp/README.md diff --git a/webapp/README.md b/webapp/README.md new file mode 100644 index 00000000..45ee754a --- /dev/null +++ b/webapp/README.md @@ -0,0 +1,10 @@ +To run this app locally, install the requirements and run `shiny run`. + +``` +$ cd webapp +$ pip install requirements.txt +$ shiny run +``` + +After the server starts, which should take only a moment, you can open +[http://127.0.0.1:8000](http://127.0.0.1:8000) to see the interface. diff --git a/webapp/requirements.txt b/webapp/requirements.txt index cbcadafc..04c991f2 100644 --- a/webapp/requirements.txt +++ b/webapp/requirements.txt @@ -1,6 +1,103 @@ # This file was autogenerated by uv via the following command: # uv pip compile --output-file=requirements.txt requirements.txt.in +anyio==4.9.0 + # via + # starlette + # watchfiles +appdirs==1.4.4 + # via shiny +asgiref==3.9.1 + # via shiny astral==2.2 # via -r requirements.txt.in +click==8.2.1 + # via + # shiny + # uvicorn +contourpy==1.3.2 + # via matplotlib +cycler==0.12.1 + # via matplotlib +fonttools==4.58.5 + # via matplotlib +h11==0.16.0 + # via uvicorn +htmltools==0.6.0 + # via + # shiny + # shinyswatch +idna==3.10 + # via anyio +kiwisolver==1.4.8 + # via matplotlib +linkify-it-py==2.0.3 + # via shiny +markdown-it-py==3.0.0 + # via + # mdit-py-plugins + # shiny +matplotlib==3.10.3 + # via -r requirements.txt.in +mdit-py-plugins==0.4.2 + # via shiny +mdurl==0.1.2 + # via markdown-it-py +narwhals==1.46.0 + # via shiny +numpy==2.3.1 + # via + # contourpy + # matplotlib +orjson==3.10.18 + # via shiny +packaging==25.0 + # via + # htmltools + # matplotlib + # shiny + # shinyswatch +pillow==11.3.0 + # via matplotlib +prompt-toolkit==3.0.51 + # via + # questionary + # shiny +pyparsing==3.2.3 + # via matplotlib +python-dateutil==2.9.0.post0 + # via matplotlib +python-multipart==0.0.20 + # via shiny pytz==2023.3.post1 # via astral +questionary==2.1.0 + # via shiny +setuptools==80.9.0 + # via shiny +shiny==1.4.0 + # via + # -r requirements.txt.in + # shinyswatch +shinyswatch==0.9.0 + # via -r requirements.txt.in +six==1.17.0 + # via python-dateutil +sniffio==1.3.1 + # via anyio +starlette==0.47.1 + # via shiny +typing-extensions==4.14.1 + # via + # htmltools + # shiny + # shinyswatch +uc-micro-py==1.0.3 + # via linkify-it-py +uvicorn==0.35.0 + # via shiny +watchfiles==1.1.0 + # via shiny +wcwidth==0.2.13 + # via prompt-toolkit +websockets==15.0.1 + # via shiny diff --git a/webapp/requirements.txt.in b/webapp/requirements.txt.in index 39c93a83..9703163f 100644 --- a/webapp/requirements.txt.in +++ b/webapp/requirements.txt.in @@ -1 +1,4 @@ astral==2.2 +matplotlib +shinyswatch +shiny