Object representing a streamlit process, one instance of 'streamlit run' command. It can manage multiple streamlit apps using the same environment.
Attributes
current_running_apps: Dict
env_hash: str
host_url: str
port: int
Functions
__init__
Initialize self. See help(type(self)) for accurate signature.
port :
int
host_url :
str
env_hash :
str
call_health_check
Return type :
bool
count_connections
Return type :
int
create_app
app :
StreamlitApp
get_app
app_id :
str
Return type :
gws_core.streamlit.streamlit_app.StreamlitApp | None
get_app_full_url
app_id :
str
Return type :
StreamlitAppUrl
get_current_user_theme
Return type :
FrontTheme
get_status_dto
Return type :
StreamlitProcessStatusDTO
get_working_dir
Return type :
str
has_app
app_id :
str
Return type :
bool
process_is_running
Return type :
bool
set_dev_mode
dev_config_file :
str
start_check_running
Method to start the check running loop to check if the app is still used
start_streamlit_process
app :
StreamlitApp
stop_process
Kill the process and all apps
wait_main_app_heath_check