restructure

This commit is contained in:
2022-05-28 12:10:33 +02:00
parent 33f2afdadb
commit 15fb6c7434
5 changed files with 10 additions and 10 deletions

2
run.sh
View File

@ -1,3 +1,3 @@
#!/bin/bash
streamlit run --browser.gatherUsageStats false $@ stand.py
streamlit run --browser.gatherUsageStats false $@ stand/webapp.py

View File

@ -2,7 +2,7 @@ from threading import Thread
import cherrypy as cp
from stand.tblctrl import TableController
from tblctrl import TableController
# creating instances here allows to use TableAPI etc. as singletons

View File

@ -1,7 +1,7 @@
import cherrypy as cp
from stand.utils.dfh import DateFrameHolder
from stand.utils.st_utils import rerun
from utils.dfh import DateFrameHolder
from utils.st_utils import rerun
@cp.expose

View File

@ -1,11 +1,11 @@
import streamlit as st
import stand.hacks
import hacks
from stand.widgets.aggrid import aggrid
from stand.widgets.download import download
from stand.restapi import restapi
from stand.utils.st_utils import get_session_id, hide_UI_elements
from widgets.aggrid import aggrid
from widgets.download import download
from restapi import restapi
from utils.st_utils import get_session_id, hide_UI_elements
print(">>> start of streamlit run")

View File

@ -1,6 +1,6 @@
import streamlit as st
from ..utils.df2bin import to_excel_binary, to_hdf_binary
from utils.df2bin import to_excel_binary, to_hdf_binary
state = st.session_state