# pragmatical/c2c-elite101-python architecture

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

- Interactive diagram: https://gitdiagram.com/pragmatical/c2c-elite101-python
- Repository: https://github.com/pragmatical/c2c-elite101-python

## Overview

This is a minimal Python chatbot starter. Running `main.py` invokes `main()`, which gets a name from the user and passes it to the greeting function; the greeting is printed to the user. All runtime behavior is implemented in `main.py`.

Main entry points: [`main.py`](https://github.com/pragmatical/c2c-elite101-python/blob/main/main.py) (Main flow)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_main["Main flow<br/>[main.py]"]
node_name_capture["Name capture<br/>[main.py]"]
node_greeting["Greeting<br/>[main.py]"]

node_main -->|"calls"| node_name_capture
node_name_capture -->|"prompts"| node_user
node_name_capture -->|"returns name"| node_main
node_main -->|"calls"| node_greeting
node_greeting -->|"prints greeting"| node_user

click node_main "https://github.com/pragmatical/c2c-elite101-python/blob/main/main.py"
click node_name_capture "https://github.com/pragmatical/c2c-elite101-python/blob/main/main.py"
click node_greeting "https://github.com/pragmatical/c2c-elite101-python/blob/main/main.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_user toneBlue
class node_main,node_name_capture,node_greeting toneTeal
```

## Components

### Other components

- **User**
- [Main flow](https://github.com/pragmatical/c2c-elite101-python/blob/main/main.py): `main.py`
- [Name capture](https://github.com/pragmatical/c2c-elite101-python/blob/main/main.py): `main.py`
- [Greeting](https://github.com/pragmatical/c2c-elite101-python/blob/main/main.py): `main.py`

## Connections

- Main flow → Name capture: calls (evidence: `main.py`)
- Name capture → User: prompts (evidence: `main.py`)
- Name capture → Main flow: returns name (evidence: `main.py`)
- Main flow → Greeting: calls (evidence: `main.py`)
- Greeting → User: prints greeting (evidence: `main.py`)
