# gustavomatoi/projeto_satisfacao architecture

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

- Interactive diagram: https://gitdiagram.com/gustavomatoi/projeto_satisfacao
- Repository: https://github.com/gustavomatoi/projeto_satisfacao

## Overview

This repository is a desktop tool for turning Zoom survey exports into language, technology, and Pro Live reports and publishing them to Google Sheets. The main workflow is file and report-type selection, report generation, then sheet upload; the language pipeline also has Zoom-export parsing and school/class enrichment. The excerpts document these boundaries, but not every report-generation call or CSV lookup, so those links are omitted where ownership is unclear.

Main entry points: [`main.py`](https://github.com/gustavomatoi/projeto_satisfacao/blob/master/main.py) (Desktop app), [`relatorios.py`](https://github.com/gustavomatoi/projeto_satisfacao/blob/master/relatorios.py) (Language reports), [`relatorios_pro_live.py`](https://github.com/gustavomatoi/projeto_satisfacao/blob/master/relatorios_pro_live.py) (Pro Live reports), [`relatorios_tecnologia.py`](https://github.com/gustavomatoi/projeto_satisfacao/blob/master/relatorios_tecnologia.py) (Technology reports)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ui["Desktop workflow"]
  node_app["Desktop app<br/>[main.py]"]
end

subgraph group_reports["Report pipelines"]
  node_zoomparser["Zoom export parser<br/>[zoom_export.py]"]
  node_language["Language reports<br/>[relatorios.py]"]
  node_prolive["Pro Live reports"]
  node_technology["Technology reports"]
end

subgraph group_inputs["Survey data"]
  node_zoomcsv["Zoom export"]
  node_base["Research base<br/>[base_pesquisa.csv]"]
  node_gigantes["Class registry<br/>[dados_gigantes.csv]"]
  node_techbase["Tech research base"]
  node_techgig["Tech class registry<br/>[dados_gigantes.csv]"]
end

subgraph group_delivery["Publishing"]
  node_sheets[("Google Sheets")]
end

node_user(("Report operator"))

node_user -->|"selects inputs"| node_app
node_app -->|"dispatches reports"| node_language
node_app -->|"dispatches reports"| node_prolive
node_app -->|"dispatches reports"| node_technology
node_app -->|"uploads report tabs"| node_sheets
node_zoomcsv -->|"parsed by"| node_zoomparser
node_language -->|"uses parser"| node_zoomparser
node_language -.->|"reads research data"| node_base
node_language -->|"joins class data"| node_gigantes
node_technology -.->|"reads research data"| node_techbase
node_technology -->|"optionally reads registry"| node_techgig
node_prolive -->|"builds class universe"| node_gigantes
node_prolive -->|"reuses mapping"| node_language

click node_app "https://github.com/gustavomatoi/projeto_satisfacao/blob/master/main.py"
click node_base "https://github.com/gustavomatoi/projeto_satisfacao/blob/master/files/base_pesquisa.csv"
click node_gigantes "https://github.com/gustavomatoi/projeto_satisfacao/blob/master/files/dados_gigantes.csv"
click node_techbase "https://github.com/gustavomatoi/projeto_satisfacao/blob/master/files_tecnologia/base_pesquisa_tecnologia.csv"
click node_techgig "https://github.com/gustavomatoi/projeto_satisfacao/blob/master/files_tecnologia/dados_gigantes.csv"
click node_zoomparser "https://github.com/gustavomatoi/projeto_satisfacao/blob/master/zoom_export.py"
click node_language "https://github.com/gustavomatoi/projeto_satisfacao/blob/master/relatorios.py"
click node_prolive "https://github.com/gustavomatoi/projeto_satisfacao/blob/master/relatorios_pro_live.py"
click node_technology "https://github.com/gustavomatoi/projeto_satisfacao/blob/master/relatorios_tecnologia.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_app toneBlue
class node_zoomparser,node_language,node_prolive,node_technology toneAmber
class node_zoomcsv,node_base,node_gigantes,node_techbase,node_techgig toneMint
class node_sheets toneRose
class node_user toneIndigo
```

## Components

### Desktop workflow

- [Desktop app](https://github.com/gustavomatoi/projeto_satisfacao/blob/master/main.py): `main.py`

### Report pipelines

- [Zoom export parser](https://github.com/gustavomatoi/projeto_satisfacao/blob/master/zoom_export.py): `zoom_export.py`
- [Language reports](https://github.com/gustavomatoi/projeto_satisfacao/blob/master/relatorios.py): `relatorios.py`
- [Pro Live reports](https://github.com/gustavomatoi/projeto_satisfacao/blob/master/relatorios_pro_live.py): `relatorios_pro_live.py`
- [Technology reports](https://github.com/gustavomatoi/projeto_satisfacao/blob/master/relatorios_tecnologia.py): `relatorios_tecnologia.py`

### Survey data

- **Zoom export**
- [Research base](https://github.com/gustavomatoi/projeto_satisfacao/blob/master/files/base_pesquisa.csv): `files/base_pesquisa.csv`
- [Class registry](https://github.com/gustavomatoi/projeto_satisfacao/blob/master/files/dados_gigantes.csv): `files/dados_gigantes.csv`
- [Tech research base](https://github.com/gustavomatoi/projeto_satisfacao/blob/master/files_tecnologia/base_pesquisa_tecnologia.csv): `files_tecnologia/base_pesquisa_tecnologia.csv`
- [Tech class registry](https://github.com/gustavomatoi/projeto_satisfacao/blob/master/files_tecnologia/dados_gigantes.csv): `files_tecnologia/dados_gigantes.csv`

### Publishing

- **Google Sheets**

### Other components

- **Report operator**

## Connections

- Report operator → Desktop app: selects inputs (evidence: `main.py`)
- Desktop app → Language reports: dispatches reports (evidence: `main.py`)
- Desktop app → Pro Live reports: dispatches reports (evidence: `main.py`)
- Desktop app → Technology reports: dispatches reports (evidence: `main.py`)
- Desktop app → Google Sheets: uploads report tabs (evidence: `main.py`)
- Zoom export → Zoom export parser: parsed by (evidence: `zoom_export.py`)
- Language reports → Zoom export parser: uses parser (evidence: `relatorios.py`)
- Language reports → Research base: reads research data
- Language reports → Class registry: joins class data (evidence: `relatorios.py`)
- Technology reports → Tech research base: reads research data
- Technology reports → Tech class registry: optionally reads registry (evidence: `relatorios_tecnologia.py`)
- Pro Live reports → Class registry: builds class universe (evidence: `relatorios_pro_live.py`)
- Pro Live reports → Language reports: reuses mapping (evidence: `relatorios_pro_live.py`)
