base dependencies and entry file for NiceGUI web UI

This commit is contained in:
Hunter 2024-09-16 10:12:40 -04:00
commit 94b1c845f8
2 changed files with 87 additions and 0 deletions

71
environment.yaml Normal file
View File

@ -0,0 +1,71 @@
name: web-demo
channels:
- defaults
dependencies:
- bzip2=1.0.8
- ca-certificates=2024.7.2
- expat=2.6.3
- libcxx=14.0.6
- libffi=3.4.4
- ncurses=6.4
- openssl=3.0.15
- pip=24.2
- python=3.12.4
- readline=8.2
- setuptools=72.1.0
- sqlite=3.45.3
- tk=8.6.14
- tzdata=2024a
- wheel=0.43.0
- xz=5.4.6
- zlib=1.2.13
- pip:
- aiofiles==24.1.0
- aiohappyeyeballs==2.4.0
- aiohttp==3.10.5
- aiosignal==1.3.1
- annotated-types==0.7.0
- anyio==4.4.0
- attrs==24.2.0
- bidict==0.23.1
- certifi==2024.8.30
- charset-normalizer==3.3.2
- click==8.1.7
- docutils==0.21.2
- fastapi==0.114.1
- frozenlist==1.4.1
- h11==0.14.0
- httpcore==1.0.5
- httptools==0.6.1
- httpx==0.27.2
- idna==3.8
- ifaddr==0.2.0
- itsdangerous==2.2.0
- jinja2==3.1.4
- markdown2==2.5.0
- markupsafe==2.1.5
- multidict==6.1.0
- nicegui==2.1.0
- orjson==3.10.7
- pscript==0.7.7
- pydantic==2.9.1
- pydantic-core==2.23.3
- pygments==2.18.0
- python-dotenv==1.0.1
- python-engineio==4.9.1
- python-multipart==0.0.9
- python-socketio==5.11.4
- pyyaml==6.0.2
- requests==2.32.3
- simple-websocket==1.0.0
- sniffio==1.3.1
- starlette==0.38.5
- typing-extensions==4.12.2
- urllib3==2.2.3
- uvicorn==0.30.6
- uvloop==0.20.0
- vbuild==0.8.2
- watchfiles==0.24.0
- websockets==13.0.1
- wsproto==1.2.0
- yarl==1.11.1

16
main.py Normal file
View File

@ -0,0 +1,16 @@
from nicegui import ui
ui.colors(
primary="#ba0c2f",
secondary="#000000",
accent="#66435a",
dark="#554f47",
positive="#00bfc9",
negative="#e4002b",
info="#004e60",
warning="#b4bd00",
)
ui.label("Hello from NiceGUI")
ui.run()