msticpy.config.mp_config_file module
Msticpy Config class.
- class msticpy.config.mp_config_file.MpConfigFile(file: Optional[Union[str, Path]] = None, settings: Optional[Dict[str, Any]] = None)
Bases:
CompEditStatusMixin
,CompEditDisplayMixin
MSTICPy Configuration management class.
Use the functions from the commandline or display in a Jupyter notebook to use interactive version.
Create an instance of the MSTICPy Configuration helper class.
- Parameters
- static border_layout(width='95%')
Return border widget layout.
- clear_status()
Clear the status text.
- property current_file
Return currently loaded file path.
- static get_workspace_from_url(url: str) Dict[str, Dict[str, str]]
Return workspace settings from Sentinel portal URL.
- load_default()
Load default settings specified by MSTICPYCONFIG env var.
- map_json_to_mp_ws()
Map config.json settings to MSTICPy settings.
- static no_border_layout(width='95%')
Return no-border widget layout.
- static refresh_mp_config()
Refresh global MSTICPy settings from config file.
- testing = False