streamlit_dashboard namespace¶
Subpackages¶
- streamlit_dashboard.cached_function_wrappers namespace
- Submodules
- streamlit_dashboard.cached_function_wrappers.client_list_cached_functions module
- streamlit_dashboard.cached_function_wrappers.funding_milestones_cached_functions module
- streamlit_dashboard.cached_function_wrappers.nbs_cached_functions module
- streamlit_dashboard.cached_function_wrappers.shared module
- streamlit_dashboard.cached_function_wrappers.trainings_cached_functions module
- streamlit_dashboard.components namespace
- streamlit_dashboard.page_classes namespace
- Submodules
- streamlit_dashboard.page_classes.admin_panel_page_class module
- streamlit_dashboard.page_classes.authentication_page_wrapper module
- streamlit_dashboard.page_classes.center_milestones_page_class module
- streamlit_dashboard.page_classes.funding_milestones_page_class module
- streamlit_dashboard.page_classes.naics_report_page_class module
- streamlit_dashboard.page_classes.nbs_milestones_page_class module
- streamlit_dashboard.page_classes.page_class_constants module
- streamlit_dashboard.page_classes.report_comparer_page_class module
- streamlit_dashboard.page_classes.training_attendee_counts_class module
- streamlit_dashboard.page_classes.training_attendee_ranges_page_class module
- streamlit_dashboard.page_classes.training_count_statistics_page_class module
- streamlit_dashboard.page_classes.training_event_count_attendee_comparison_page_class module
- streamlit_dashboard.page_classes.training_event_count_page_class module
- streamlit_dashboard.page_classes.training_primary_topics_page_class module
- streamlit_dashboard.streamlit_pages namespace
- Submodules
- streamlit_dashboard.streamlit_pages.admin_streamlit_page module
- streamlit_dashboard.streamlit_pages.center_streamlit_page module
- streamlit_dashboard.streamlit_pages.comparer_streamlit_page module
- streamlit_dashboard.streamlit_pages.funding_streamlit_page module
- streamlit_dashboard.streamlit_pages.naics_streamlit_page module
- streamlit_dashboard.streamlit_pages.nbs_streamlit_page module
- streamlit_dashboard.streamlit_pages.training_attendee_ranges_page module
- streamlit_dashboard.streamlit_pages.trainings_attendees_count_page module
- streamlit_dashboard.streamlit_pages.trainings_count_statistics_page module
- streamlit_dashboard.streamlit_pages.trainings_event_attendee_comparison_page module
- streamlit_dashboard.streamlit_pages.trainings_event_count_page module
- streamlit_dashboard.streamlit_pages.trainings_primary_topic_page module
- streamlit_dashboard.utility_classes namespace
- Submodules
- streamlit_dashboard.utility_classes.base_report_page module
- streamlit_dashboard.utility_classes.dashboard_config_parser module
DashboardConfigDashboardConfig.get_clients_list_urls()DashboardConfig.get_funding_milestones_urls()DashboardConfig.get_log_level()DashboardConfig.get_log_path()DashboardConfig.get_nbs_milestones_urls()DashboardConfig.get_trainings_urls()DashboardConfig.load()DashboardConfig.save()DashboardConfig.set_clients_list_current_fy_url()DashboardConfig.set_clients_list_prev_fy_url()DashboardConfig.set_funding_milestones_current_fy_url()DashboardConfig.set_funding_milestones_prev_fy_url()DashboardConfig.set_nbs_milestones_current_fy_url()DashboardConfig.set_nbs_milestones_prev_fy_url()DashboardConfig.set_trainings_current_fy_url()DashboardConfig.set_trainings_prev_fy_url()DashboardConfig.write_template()
ExportModulePair
- streamlit_dashboard.utility_classes.figure_with_max_y module
Submodules¶
streamlit_dashboard.auth_config_loader module¶
- streamlit_dashboard.auth_config_loader.load_auth_config(config_path) Authenticate¶
streamlit_dashboard.main module¶
Entry point and primary orchestrator for the Streamlit dashboard application.
This script establishes the global execution environment before rendering any specialized report components. It acts as the central dependency provider, executing three critical initialization phases to ensure child classes operate within a safe, predictable state:
Security & Access Control: Initializes the session state with user credentials and roles. It establishes the login UI and conditionally injects restricted routes (like the AdminPanelPage) into the navigation tree based on specific role-based permissions.
Configuration State Management: Loads and strictly validates the DashboardConfig YAML file, injecting it into the Streamlit session state. This fail-fast initialization guarantees that all downstream report classes (e.g., NaicsReportPage, TrainingsEventCountsPage) can reliably resolve their required Neoserra data endpoints based on user-selected fiscal periods without performing redundant file I/O.
Global Telemetry: Configures a centralized rotating file and console logging architecture. By defining this at the root level, any initialization or rendering errors caught within the isolated execution boundaries of individual report pages are captured consistently.