Class to manage the different streamlit processes and apps
All the normal apps (without env) run in the same streamlit process (8501) the env apps run in different processes with different ports. One process per env.
Attributes
app_dir: str
running_processes: Dict
Functions
create_or_get_app @classmethod
app :
StreamlitApp
Return type :
StreamlitAppUrl
get_app_dir @classmethod
Return type :
str
get_app_full_url @classmethod
app_id :
str
Return type :
StreamlitAppUrl
get_env_app_ports @classmethod
Return type :
List
get_env_app_urls @classmethod
Return type :
List
get_main_app_port @classmethod
Return type :
int
get_status_dto @classmethod
Return type :
StreamlitStatusDTO
stop_all_processes @classmethod
stop_process @classmethod
env_hash :
str