Back to bricks list
Introduction
Technical Documentation
Other Classes
StreamlitApp StreamlitAppManager
Version

StreamlitAppManager

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: strrunning_processes: Dict

Functions

CREATE_OR_GET_APP - @classmethod
Parameters:
NameTypeDefault valueDescription
appStreamlitApp
Return type:
str
GET_APP_DIR - @classmethod
Return type:
str
GET_APP_FULL_URL - @classmethod
Parameters:
NameTypeDefault valueDescription
app_idstr
Return type:
str
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
Parameters:
NameTypeDefault valueDescription
env_hashstr