# engabdelwahad-alt/project_-01 architecture

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

- Interactive diagram: https://gitdiagram.com/engabdelwahad-alt/project_-01
- Repository: https://github.com/engabdelwahad-alt/project_-01

## Overview

This is a small interactive PC configuration checker and buying guide. A user chooses to assess an existing PC or find CPUs for gaming, programming, or both. The assessment looks up the CPU, gathers RAM and storage details, and reports suitability; the buying guide filters a built-in CPU catalog. The graph reflects the three supplied source files. The README is empty, so there are no additional documented capabilities to include.

Main entry points: [`main.py`](https://github.com/engabdelwahad-alt/project_-01/blob/main/main.py) (Interactive menu), [`functions.py`](https://github.com/engabdelwahad-alt/project_-01/blob/main/functions.py) (CPU recommendations), [`data.py`](https://github.com/engabdelwahad-alt/project_-01/blob/main/data.py) (CPU records)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_cli["User interface"]
  node_cli["Interactive menu<br/>[main.py]"]
end

subgraph group_logic["PC guidance"]
  node_lookup["CPU lookup<br/>[functions.py]"]
  node_assessment["Hardware assessment<br/>[functions.py]"]
  node_recommendations["CPU recommendations<br/>[functions.py]"]
end

subgraph group_catalog["CPU catalog"]
  node_cpu_data[("CPU records<br/>[data.py]")]
end

node_user(("User"))

node_user -->|"chooses option"| node_cli
node_cli -->|"checks CPU"| node_lookup
node_cli -->|"checks hardware"| node_assessment
node_cli -->|"requests matches"| node_recommendations
node_lookup -->|"reads records"| node_cpu_data
node_recommendations -->|"filters records"| node_cpu_data
node_assessment -->|"prints guidance"| node_user
node_recommendations -->|"prints matches"| node_user

click node_cli "https://github.com/engabdelwahad-alt/project_-01/blob/main/main.py"
click node_lookup "https://github.com/engabdelwahad-alt/project_-01/blob/main/functions.py"
click node_assessment "https://github.com/engabdelwahad-alt/project_-01/blob/main/functions.py"
click node_recommendations "https://github.com/engabdelwahad-alt/project_-01/blob/main/functions.py"
click node_cpu_data "https://github.com/engabdelwahad-alt/project_-01/blob/main/data.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_cli,node_user toneBlue
class node_lookup,node_assessment,node_recommendations toneAmber
class node_cpu_data toneMint
```

## Components

### User interface

- [Interactive menu](https://github.com/engabdelwahad-alt/project_-01/blob/main/main.py): `main.py`

### PC guidance

- [CPU lookup](https://github.com/engabdelwahad-alt/project_-01/blob/main/functions.py): `functions.py`
- [Hardware assessment](https://github.com/engabdelwahad-alt/project_-01/blob/main/functions.py): `functions.py`
- [CPU recommendations](https://github.com/engabdelwahad-alt/project_-01/blob/main/functions.py): `functions.py`

### CPU catalog

- [CPU records](https://github.com/engabdelwahad-alt/project_-01/blob/main/data.py): `data.py`

### Other components

- **User**

## Connections

- User → Interactive menu: chooses option (evidence: `main.py`)
- Interactive menu → CPU lookup: checks CPU (evidence: `main.py`)
- Interactive menu → Hardware assessment: checks hardware (evidence: `main.py`)
- Interactive menu → CPU recommendations: requests matches (evidence: `main.py`)
- CPU lookup → CPU records: reads records (evidence: `functions.py`)
- CPU recommendations → CPU records: filters records (evidence: `functions.py`)
- Hardware assessment → User: prints guidance (evidence: `functions.py`)
- CPU recommendations → User: prints matches (evidence: `functions.py`)
