app_streamlit package

Subpackages

Submodules

contributors_page module

This page is dedicated to the page contributor on streamlit, all graphs rely on the contributors’ performances

app_streamlit.contributors_page.display_contributors_page(df, df_ingr_map)
app_streamlit.contributors_page.my_metric(label, value, bg_color, icon='fas fa-asterisk')

main_app module

app_streamlit.main_app.display_contributors_page_wrapper()
app_streamlit.main_app.display_profile_page_wrapper()
app_streamlit.main_app.display_recipes_page_wrapper()
app_streamlit.main_app.main()

Display the main page of the web app

menu_page module

app_streamlit.menu_page.display_menu_page()

Display the menu page content.

profile_page module

app_streamlit.profile_page.display_profile_page(clean_df, user_id=47892)

Display the profile page content.

Args:

clean_df (pd.DataFrame): DataFrame containing recipe data. user_id (int, optional): The ID of the user. Default is 47892.

Returns:

None

app_streamlit.profile_page.my_metric(label, value, bg_color, icon='fas fa-asterisk')

recipes_page module

app_streamlit.recipes_page.display_recipes_page(clean_df, df_ingr_map)

Display the recipes page content.