terminal = false
packages=[
"numpy",
"pandas",
"requests",
"xmltodict",
"xyzservices",
"pyodide-http",
"colorcet",
"panel==0.14.4",
"https://cdn.holoviz.org/panel/0.14.3/dist/wheels/bokeh-2.4.3-py3-none-any.whl",
"openvisuspy==0.0.20",
]
import os,sys,datetime,logging,time,pyodide_http
from openvisuspy import *
SetupLogger()
pyodide_http.patch_all()
import panel as pn
pn.extension(sizing_mode='stretch_both')
url="https://atlantis.sci.utah.edu/mod_visus?dataset=david_subsampled"
view=Slices()
view.setDataset(url)
view.setPalette("Greys256")
view.setPaletteRange([0,255])
main_layout=view.getPanelLayout()
app=GetPanelApp(main_layout)
app.servable(target='my_app')