# shivtejpatil2807/streamlit-learning-lab architecture

> Architecture diagram of the GitHub repository shivtejpatil2807/streamlit-learning-lab, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/shivtejpatil2807/streamlit-learning-lab
- Repository: https://github.com/shivtejpatil2807/streamlit-learning-lab

## Overview

Streamlit Learning Lab is an interactive, multipage course for learning Streamlit through explanations, code, live demos, challenges, and runnable project examples. Learners start at Home, find or follow a lesson, explore its demos, and track completion; lesson pages also offer challenges, downloads, feedback, and navigation. The graph combines sampled core implementations with the README’s documented lesson and project capabilities; unsampled lesson pages are represented collectively, so their internal behavior is not inferred.

Main entry points: [`core/components.py`](https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/core/components.py) (Lesson components), [`Home.py`](https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/Home.py) (Home and progress), [`core/lessons.py`](https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/core/lessons.py) (Lesson registry), [`core/paths.py`](https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/core/paths.py) (Learning paths)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_learning["Course discovery"]
  node_home["Home and progress<br/>[Home.py]"]
  node_registry["Lesson registry<br/>[lessons.py]"]
  node_paths["Learning paths<br/>[paths.py]"]
  node_lessondata["Lesson definitions<br/>[lessons.yaml]"]
  node_pathdata["Path definitions<br/>[paths.yaml]"]
end

subgraph group_lessons["Lessons and projects"]
  node_lessonpages["Topic lessons"]
  node_iris["Iris classifier"]
  node_sales["Sales dashboard"]
  node_chatbot["Chatbot project"]
end

subgraph group_shared["Shared lesson services"]
  node_components["Lesson components<br/>[components.py]"]
  node_challenges["Challenge bank<br/>[challenges.py]"]
  node_export["Script export<br/>[export.py]"]
  node_feedback["Feedback links<br/>[feedback.py]"]
  node_theme["Shared theme<br/>[theme.py]"]
  node_challengedata["Challenge definitions<br/>[challenges.yaml]"]
end

node_learner(("Learner"))

node_learner -->|"browses"| node_home
node_home -->|"reads lessons"| node_registry
node_home -->|"shows paths"| node_paths
node_home -->|"applies theme"| node_theme
node_home -->|"opens lesson"| node_lessonpages
node_registry -->|"loads definitions"| node_lessondata
node_paths -->|"loads paths"| node_pathdata
node_paths -->|"uses lesson registry"| node_registry
node_learner -->|"studies lessons"| node_lessonpages
node_learner -->|"tries project"| node_iris
node_learner -->|"tries project"| node_sales
node_learner -->|"tries project"| node_chatbot
node_lessonpages -->|"uses lesson helpers"| node_components
node_components -->|"reads lesson metadata"| node_registry
node_components -->|"loads challenges"| node_challenges
node_challenges -->|"loads questions"| node_challengedata
node_components -->|"builds downloads"| node_export
node_components -->|"creates feedback link"| node_feedback
node_components -->|"applies theme"| node_theme
node_export -->|"reads lesson metadata"| node_registry
node_feedback -->|"uses repository URL"| node_export

click node_home "https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/Home.py"
click node_registry "https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/core/lessons.py"
click node_paths "https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/core/paths.py"
click node_lessonpages "https://github.com/shivtejpatil2807/streamlit-learning-lab/tree/main/pages"
click node_iris "https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/pages/20_Project_Iris_Classifier.py"
click node_sales "https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/pages/21_Project_Sales_Dashboard.py"
click node_chatbot "https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/pages/22_Project_Chatbot.py"
click node_components "https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/core/components.py"
click node_challenges "https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/core/challenges.py"
click node_export "https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/core/export.py"
click node_feedback "https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/core/feedback.py"
click node_theme "https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/core/theme.py"
click node_lessondata "https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/data/lessons.yaml"
click node_pathdata "https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/data/paths.yaml"
click node_challengedata "https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/data/challenges.yaml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_home,node_registry,node_paths,node_lessondata,node_pathdata toneBlue
class node_lessonpages,node_iris,node_sales,node_chatbot toneAmber
class node_components,node_challenges,node_export,node_feedback,node_theme,node_challengedata toneMint
class node_learner toneIndigo
```

## Components

### Course discovery

- [Home and progress](https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/Home.py): `Home.py`
- [Lesson registry](https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/core/lessons.py): `core/lessons.py`
- [Learning paths](https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/core/paths.py): `core/paths.py`
- [Lesson definitions](https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/data/lessons.yaml): `data/lessons.yaml`
- [Path definitions](https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/data/paths.yaml): `data/paths.yaml`

### Lessons and projects

- [Topic lessons](https://github.com/shivtejpatil2807/streamlit-learning-lab/tree/main/pages): `pages`
- [Iris classifier](https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/pages/20_Project_Iris_Classifier.py): `pages/20_Project_Iris_Classifier.py`
- [Sales dashboard](https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/pages/21_Project_Sales_Dashboard.py): `pages/21_Project_Sales_Dashboard.py`
- [Chatbot project](https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/pages/22_Project_Chatbot.py): `pages/22_Project_Chatbot.py`

### Shared lesson services

- [Lesson components](https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/core/components.py): `core/components.py`
- [Challenge bank](https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/core/challenges.py): `core/challenges.py`
- [Script export](https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/core/export.py): `core/export.py`
- [Feedback links](https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/core/feedback.py): `core/feedback.py`
- [Shared theme](https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/core/theme.py): `core/theme.py`
- [Challenge definitions](https://github.com/shivtejpatil2807/streamlit-learning-lab/blob/main/data/challenges.yaml): `data/challenges.yaml`

### Other components

- **Learner**

## Connections

- Learner → Home and progress: browses (evidence: `README.md`)
- Home and progress → Lesson registry: reads lessons (evidence: `Home.py`)
- Home and progress → Learning paths: shows paths (evidence: `Home.py`)
- Home and progress → Shared theme: applies theme (evidence: `Home.py`)
- Home and progress → Topic lessons: opens lesson (evidence: `Home.py`)
- Lesson registry → Lesson definitions: loads definitions (evidence: `core/lessons.py`)
- Learning paths → Path definitions: loads paths (evidence: `core/paths.py`)
- Learning paths → Lesson registry: uses lesson registry (evidence: `core/paths.py`)
- Learner → Topic lessons: studies lessons (evidence: `README.md`)
- Learner → Iris classifier: tries project (evidence: `README.md`)
- Learner → Sales dashboard: tries project (evidence: `README.md`)
- Learner → Chatbot project: tries project (evidence: `README.md`)
- Topic lessons → Lesson components: uses lesson helpers (evidence: `pages/01_Text_and_Markdown.py`)
- Lesson components → Lesson registry: reads lesson metadata (evidence: `core/components.py`)
- Lesson components → Challenge bank: loads challenges (evidence: `core/components.py`)
- Challenge bank → Challenge definitions: loads questions (evidence: `core/challenges.py`)
- Lesson components → Script export: builds downloads (evidence: `core/components.py`)
- Lesson components → Feedback links: creates feedback link (evidence: `core/components.py`)
- Lesson components → Shared theme: applies theme (evidence: `core/components.py`)
- Script export → Lesson registry: reads lesson metadata (evidence: `core/export.py`)
- Feedback links → Script export: uses repository URL (evidence: `core/feedback.py`)
