GuglielmoTor commited on
Commit
7d05115
Β·
verified Β·
1 Parent(s): 9915c93

Create Poject_Structure.txt

Browse files
Files changed (1) hide show
  1. Poject_Structure.txt +68 -0
Poject_Structure.txt ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Project Structure Tree
2
+
3
+ project/
4
+ β”‚
5
+ β”œβ”€β”€ external_services/
6
+ β”‚ β”œβ”€β”€ linkedin_api/ # External LinkedIn API
7
+ β”‚ β”œβ”€β”€ bubble_db/ # Bubble.io database
8
+ β”‚ └── groq_api/ # GROQ API for NLP
9
+ β”‚
10
+ β”œβ”€β”€ core_application_ui/
11
+ β”‚ β”œβ”€β”€ app.py # Gradio UI, Main Control
12
+ β”‚ β”œβ”€β”€ ui_generators.py # HTML & plot generation
13
+ β”‚ └── gradio_utils.py # URL param helper
14
+ β”‚
15
+ β”œβ”€β”€ state_sync/
16
+ β”‚ β”œβ”€β”€ state_manager.py # Manages TOKEN_STATE, Bubble read, sync decision
17
+ β”‚ β”œβ”€β”€ sync_logic.py # Orchestrates data sync
18
+ β”‚ └── token_state/ # Gradio in-memory data store (conceptual)
19
+ β”‚
20
+ β”œβ”€β”€ linkedin_api_layer/
21
+ β”‚ β”œβ”€β”€ linkedin_data_api_calls.py # Fetches LinkedIn posts, mentions, comments
22
+ β”‚ β”œβ”€β”€ linkedin_follower_stats.py # Follower demographics
23
+ β”‚ β”œβ”€β”€ data_fetching_and_rendering.py # Posts/Stats for analytics
24
+ β”‚ β”œβ”€β”€ mentions_dashboard.py # Mentions data for analytics
25
+ β”‚ └── analytics_fetch_and_rendering.py # Fetch + render data for Analytics tab
26
+ β”‚
27
+ β”œβ”€β”€ nlp_services/
28
+ β”‚ β”œβ”€β”€ posts_categorization.py # Summarization and classification (via GROQ)
29
+ β”‚ └── transformers/ # HuggingFace local models for sentiment
30
+ β”‚
31
+ β”œβ”€β”€ db_interface/
32
+ β”‚ └── bubble_api_calls.py # Bubble CRUD API interface
33
+ β”‚
34
+ β”œβ”€β”€ utilities/
35
+ β”‚ β”œβ”€β”€ config.py # Constants and environment variables
36
+ β”‚ β”œβ”€β”€ sessions.py # LinkedIn API session management
37
+ β”‚ └── error_handling.py # Error catching and display
38
+ β”‚
39
+ └── README.md # (Optional) Docs about architecture and flow
40
+
41
+
42
+
43
+
44
+ app.py
45
+ β”œβ”€β”€ uses: gradio_utils.py
46
+ β”œβ”€β”€ controls: state_manager.py
47
+ β”œβ”€β”€ triggers: sync_logic.py
48
+ β”œβ”€β”€ updates: token_state
49
+ └── renders: ui_generators.py, analytics_fetch_and_rendering.py
50
+
51
+ state_manager.py
52
+ β”œβ”€β”€ reads/writes: token_state
53
+ β”œβ”€β”€ reads: bubble_api_calls.py
54
+ └── uses: config.py
55
+
56
+ sync_logic.py
57
+ β”œβ”€β”€ reads/writes: token_state
58
+ β”œβ”€β”€ fetches from:
59
+ β”‚ β”œβ”€β”€ linkedin_data_api_calls.py
60
+ β”‚ β”œβ”€β”€ linkedin_follower_stats.py
61
+ β”œβ”€β”€ updates: bubble_api_calls.py
62
+ └── uses: config.py
63
+
64
+ linkedin_data_api_calls.py
65
+ β”œβ”€β”€ uses: sessions.py
66
+ β”œβ”€β”€ calls NLP: posts_categorization.py
67
+ β”œβ”€β”€ uses: transformers/
68
+ └── fetches from: LinkedIn API