Spaces:
Running
Running
Update ui/__init__.py
Browse files- ui/__init__.py +0 -82
ui/__init__.py
CHANGED
|
@@ -1,82 +0,0 @@
|
|
| 1 |
-
# __init__.py
|
| 2 |
-
"""
|
| 3 |
-
Initializes the package and makes key functions from its modules available.
|
| 4 |
-
"""
|
| 5 |
-
|
| 6 |
-
# Imports from ui_generators.py
|
| 7 |
-
from .ui_generators import (
|
| 8 |
-
display_main_dashboard,
|
| 9 |
-
run_mentions_tab_display,
|
| 10 |
-
run_follower_stats_tab_display,
|
| 11 |
-
create_analytics_plot_panel,
|
| 12 |
-
build_analytics_tab_plot_area,
|
| 13 |
-
)
|
| 14 |
-
|
| 15 |
-
# Imports from insights_ui_generator.py
|
| 16 |
-
from .insights_ui_generator import (
|
| 17 |
-
format_report_to_markdown,
|
| 18 |
-
extract_key_results_for_selection,
|
| 19 |
-
format_single_okr_for_display,
|
| 20 |
-
)
|
| 21 |
-
|
| 22 |
-
# Imports from analytics_plot_generator.py
|
| 23 |
-
# Assuming the third file containing plot generation functions is named analytics_plot_generator.py
|
| 24 |
-
from .analytics_plot_generator import (
|
| 25 |
-
create_placeholder_plot,
|
| 26 |
-
generate_posts_activity_plot,
|
| 27 |
-
generate_mentions_activity_plot,
|
| 28 |
-
generate_mention_sentiment_plot,
|
| 29 |
-
generate_followers_count_over_time_plot,
|
| 30 |
-
generate_followers_growth_rate_plot,
|
| 31 |
-
generate_followers_by_demographics_plot,
|
| 32 |
-
generate_engagement_rate_over_time_plot,
|
| 33 |
-
generate_reach_over_time_plot,
|
| 34 |
-
generate_impressions_over_time_plot,
|
| 35 |
-
generate_likes_over_time_plot,
|
| 36 |
-
generate_clicks_over_time_plot,
|
| 37 |
-
generate_shares_over_time_plot,
|
| 38 |
-
generate_comments_over_time_plot,
|
| 39 |
-
generate_comments_sentiment_breakdown_plot,
|
| 40 |
-
generate_post_frequency_plot,
|
| 41 |
-
generate_content_format_breakdown_plot,
|
| 42 |
-
generate_content_topic_breakdown_plot,
|
| 43 |
-
update_analytics_plots_figures,
|
| 44 |
-
)
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
# Define __all__ for explicit export control (what `from package import *` imports)
|
| 49 |
-
__all__ = [
|
| 50 |
-
# From ui_generators
|
| 51 |
-
"display_main_dashboard",
|
| 52 |
-
"run_mentions_tab_display",
|
| 53 |
-
"run_follower_stats_tab_display",
|
| 54 |
-
"create_analytics_plot_panel",
|
| 55 |
-
"build_analytics_tab_plot_area",
|
| 56 |
-
|
| 57 |
-
# From insights_ui_generator
|
| 58 |
-
"format_report_to_markdown",
|
| 59 |
-
"extract_key_results_for_selection",
|
| 60 |
-
"format_single_okr_for_display",
|
| 61 |
-
|
| 62 |
-
# From analytics_plot_generator
|
| 63 |
-
"create_placeholder_plot",
|
| 64 |
-
"generate_posts_activity_plot",
|
| 65 |
-
"generate_mentions_activity_plot",
|
| 66 |
-
"generate_mention_sentiment_plot",
|
| 67 |
-
"generate_followers_count_over_time_plot",
|
| 68 |
-
"generate_followers_growth_rate_plot",
|
| 69 |
-
"generate_followers_by_demographics_plot",
|
| 70 |
-
"generate_engagement_rate_over_time_plot",
|
| 71 |
-
"generate_reach_over_time_plot",
|
| 72 |
-
"generate_impressions_over_time_plot",
|
| 73 |
-
"generate_likes_over_time_plot",
|
| 74 |
-
"generate_clicks_over_time_plot",
|
| 75 |
-
"generate_shares_over_time_plot",
|
| 76 |
-
"generate_comments_over_time_plot",
|
| 77 |
-
"generate_comments_sentiment_breakdown_plot",
|
| 78 |
-
"generate_post_frequency_plot",
|
| 79 |
-
"generate_content_format_breakdown_plot",
|
| 80 |
-
"generate_content_topic_breakdown_plot",
|
| 81 |
-
"update_analytics_plots_figures",
|
| 82 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|