# nava-vignesh/1-2-project-in-python architecture

> Architecture diagram of the GitHub repository nava-vignesh/1-2-project-in-python, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-20). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/nava-vignesh/1-2-project-in-python
- Repository: https://github.com/nava-vignesh/1-2-project-in-python

## Overview

This is a small Python student ERP project with a Streamlit dashboard and a separate console-style script. The main user workflow loads an Excel roster, then presents either institution-wide analytics and branch views or a student profile with fee-payment processing. The UI script also owns the student model, in-memory state, and data-loading logic. The README documents the dashboard capabilities; the console script is represented as an independent alternate path. Connections are limited to calls and data reads visible in the excerpts.

Main entry points: [`ERP System with UI.py`](https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System%20with%20UI.py) (Dashboard UI), [`ERP System.py`](https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System.py) (Console ERP)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_dashboard["Streamlit Dashboard"]
  node_ui["Dashboard UI"]
end

subgraph group_data["Student Data"]
  node_loader["Excel Loader"]
  node_analytics["Institute Metrics"]
  node_roster["Branch Roster"]
  node_toppers["Branch Toppers"]
  node_student["Student Profile"]
  node_fees["Fee Payment"]
  node_state[("Session Student Store")]
end

subgraph group_console["Console Script"]
  node_console["Console ERP<br/>[ERP System.py]"]
  node_console_store[("Console Student Store<br/>[ERP System.py]")]
end

node_user(("User"))
node_workbook["Student Workbook"]

node_user -->|"uses"| node_ui
node_ui -->|"loads data"| node_loader
node_workbook -->|"provides rows"| node_loader
node_loader -->|"creates students"| node_state
node_loader -->|"loads dataframe"| node_analytics
node_ui -->|"shows metrics"| node_analytics
node_ui -->|"requests roster"| node_roster
node_ui -->|"requests toppers"| node_toppers
node_ui -->|"looks up student"| node_state
node_state -->|"provides record"| node_student
node_student -->|"delegates payment"| node_fees
node_user -->|"runs script"| node_console
node_console -->|"reads workbook"| node_workbook
node_console -->|"creates students"| node_console_store

click node_ui "https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System%20with%20UI.py"
click node_loader "https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System%20with%20UI.py"
click node_analytics "https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System%20with%20UI.py"
click node_roster "https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System%20with%20UI.py"
click node_toppers "https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System%20with%20UI.py"
click node_student "https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System%20with%20UI.py"
click node_fees "https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System%20with%20UI.py"
click node_state "https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System%20with%20UI.py"
click node_console "https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System.py"
click node_console_store "https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System.py"

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_ui,node_user toneBlue
class node_loader,node_analytics,node_roster,node_toppers,node_student,node_fees,node_state toneAmber
class node_console,node_console_store toneMint
class node_workbook toneIndigo
```

## Components

### Streamlit Dashboard

- [Dashboard UI](https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System%20with%20UI.py): `ERP System with UI.py`

### Student Data

- [Excel Loader](https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System%20with%20UI.py): `ERP System with UI.py`
- [Institute Metrics](https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System%20with%20UI.py): `ERP System with UI.py`
- [Branch Roster](https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System%20with%20UI.py): `ERP System with UI.py`
- [Branch Toppers](https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System%20with%20UI.py): `ERP System with UI.py`
- [Student Profile](https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System%20with%20UI.py): `ERP System with UI.py`
- [Fee Payment](https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System%20with%20UI.py): `ERP System with UI.py`
- [Session Student Store](https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System%20with%20UI.py): `ERP System with UI.py`

### Console Script

- [Console ERP](https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System.py): `ERP System.py`
- [Console Student Store](https://github.com/nava-vignesh/1-2-project-in-python/blob/main/ERP%20System.py): `ERP System.py`

### Other components

- **User**
- **Student Workbook**

## Connections

- User → Dashboard UI: uses (evidence: `ERP System with UI.py`)
- Dashboard UI → Excel Loader: loads data (evidence: `ERP System with UI.py`)
- Student Workbook → Excel Loader: provides rows (evidence: `ERP System with UI.py`)
- Excel Loader → Session Student Store: creates students (evidence: `ERP System with UI.py`)
- Excel Loader → Institute Metrics: loads dataframe (evidence: `ERP System with UI.py`)
- Dashboard UI → Institute Metrics: shows metrics (evidence: `ERP System with UI.py`)
- Dashboard UI → Branch Roster: requests roster (evidence: `ERP System with UI.py`)
- Dashboard UI → Branch Toppers: requests toppers (evidence: `ERP System with UI.py`)
- Dashboard UI → Session Student Store: looks up student (evidence: `ERP System with UI.py`)
- Session Student Store → Student Profile: provides record (evidence: `ERP System with UI.py`)
- Student Profile → Fee Payment: delegates payment (evidence: `ERP System with UI.py`)
- User → Console ERP: runs script (evidence: `ERP System.py`)
- Console ERP → Student Workbook: reads workbook (evidence: `ERP System.py`)
- Console ERP → Console Student Store: creates students (evidence: `ERP System.py`)
