# jhohanguadalupe/sistemaa-de-matricula architecture

> Architecture diagram of the GitHub repository jhohanguadalupe/sistemaa-de-matricula, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jhohanguadalupe/sistemaa-de-matricula
- Repository: https://github.com/jhohanguadalupe/sistemaa-de-matricula

## Overview

This is a single-file Python console application for recording and managing school enrollments. Its main workflow collects student and guardian details, validates input, confirms documentation, saves successful registrations, and prints a registration ticket. The source excerpts also show text-file persistence, Excel export, vacancy calculations, student searches, and enrollment-status handling. Several menu and management implementations are in omitted sections, so their connections are not asserted here; documented capabilities are retained where the README supports them.

Main entry points: [`sistema_matricula_escolar.py`](https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py) (Application entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interaction["Console workflow"]
  node_main["Application entry"]
  node_login["Login"]
end

subgraph group_enrollment["Enrollment and records"]
  node_input_validation["Input validation"]
  node_student_details["Student details"]
  node_guardian_details["Guardian details"]
  node_document_check["Document check"]
  node_registration["Registration"]
  node_ticket["Enrollment ticket"]
  node_student_records[("Student records")]
  node_text_file[("Text registry")]
  node_excel_export["Excel export"]
  node_excel_file[("Excel workbook")]
  node_vacancies["Vacancy calculation"]
end

subgraph group_management["Student management"]
  node_student_search["Student search"]
  node_status_management["Status management"]
  node_reports["Student reports"]
end

node_user(("Operator"))

node_user -->|"uses console"| node_main
node_main -->|"calls"| node_login
node_main -->|"loads records"| node_student_records
node_main -->|"calculates vacancies"| node_vacancies
node_student_records -->|"reads and writes"| node_text_file
node_student_records -->|"exports records"| node_excel_export
node_excel_export -->|"writes workbook"| node_excel_file
node_student_details -->|"validates entries"| node_input_validation
node_guardian_details -->|"validates entries"| node_input_validation
node_registration -->|"saves registration"| node_student_records
node_registration -->|"recalculates vacancies"| node_vacancies
node_registration -->|"prints result"| node_ticket
node_registration -.->|"checks documents"| node_document_check
node_main -.->|"offers search"| node_student_search
node_main -.->|"offers status management"| node_status_management
node_main -.->|"offers reports"| node_reports

click node_main "https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py"
click node_login "https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py"
click node_input_validation "https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py"
click node_student_details "https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py"
click node_guardian_details "https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py"
click node_document_check "https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py"
click node_registration "https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py"
click node_ticket "https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py"
click node_student_records "https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py"
click node_excel_export "https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py"
click node_vacancies "https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py"
click node_student_search "https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py"
click node_status_management "https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py"
click node_reports "https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.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_main,node_login toneBlue
class node_input_validation,node_student_details,node_guardian_details,node_document_check,node_registration,node_ticket,node_student_records,node_text_file,node_excel_export,node_excel_file,node_vacancies toneAmber
class node_student_search,node_status_management,node_reports toneMint
class node_user toneIndigo
```

## Components

### Console workflow

- [Application entry](https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py): `sistema_matricula_escolar.py`
- [Login](https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py): `sistema_matricula_escolar.py`

### Enrollment and records

- [Input validation](https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py): `sistema_matricula_escolar.py`
- [Student details](https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py): `sistema_matricula_escolar.py`
- [Guardian details](https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py): `sistema_matricula_escolar.py`
- [Document check](https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py): `sistema_matricula_escolar.py`
- [Registration](https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py): `sistema_matricula_escolar.py`
- [Enrollment ticket](https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py): `sistema_matricula_escolar.py`
- [Student records](https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py): `sistema_matricula_escolar.py`
- **Text registry**
- [Excel export](https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py): `sistema_matricula_escolar.py`
- **Excel workbook**
- [Vacancy calculation](https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py): `sistema_matricula_escolar.py`

### Student management

- [Student search](https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py): `sistema_matricula_escolar.py`
- [Status management](https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py): `sistema_matricula_escolar.py`
- [Student reports](https://github.com/jhohanguadalupe/sistemaa-de-matricula/blob/main/sistema_matricula_escolar.py): `sistema_matricula_escolar.py`

### Other components

- **Operator**

## Connections

- Operator → Application entry: uses console (evidence: `README.md`)
- Application entry → Login: calls (evidence: `sistema_matricula_escolar.py`)
- Application entry → Student records: loads records (evidence: `sistema_matricula_escolar.py`)
- Application entry → Vacancy calculation: calculates vacancies (evidence: `sistema_matricula_escolar.py`)
- Student records → Text registry: reads and writes (evidence: `sistema_matricula_escolar.py`)
- Student records → Excel export: exports records (evidence: `sistema_matricula_escolar.py`)
- Excel export → Excel workbook: writes workbook (evidence: `sistema_matricula_escolar.py`)
- Student details → Input validation: validates entries (evidence: `sistema_matricula_escolar.py`)
- Guardian details → Input validation: validates entries (evidence: `sistema_matricula_escolar.py`)
- Registration → Student records: saves registration (evidence: `sistema_matricula_escolar.py`)
- Registration → Vacancy calculation: recalculates vacancies (evidence: `sistema_matricula_escolar.py`)
- Registration → Enrollment ticket: prints result (evidence: `sistema_matricula_escolar.py`)
- Registration → Document check: checks documents (evidence: `README.md`)
- Application entry → Student search: offers search (evidence: `sistema_matricula_escolar.py`)
- Application entry → Status management: offers status management (evidence: `sistema_matricula_escolar.py`)
- Application entry → Student reports: offers reports (evidence: `sistema_matricula_escolar.py`)
