# iot-ahmad/python architecture

> Architecture diagram of the GitHub repository iot-ahmad/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/iot-ahmad/python
- Repository: https://github.com/iot-ahmad/python

## Overview

This repository is a collection of seven standalone beginner Python examples, not a single integrated application. Each script performs a small calculation or string/list operation and prints a result. The age-information example additionally prompts the user for profile details and a birth year, then displays the profile and an age-group category. The graph keeps the examples independent; no shared runtime layer or cross-script calls are evidenced by the sampled source.

Main entry points: [`user_info_age_calculator.py`](https://github.com/iot-ahmad/python/blob/main/user_info_age_calculator.py) (Age information), [`largest_smallest_numbers.py`](https://github.com/iot-ahmad/python/blob/main/largest_smallest_numbers.py) (List extrema), [`two_sum.py`](https://github.com/iot-ahmad/python/blob/main/two_sum.py) (Two sum), [`longest_word.py`](https://github.com/iot-ahmad/python/blob/main/longest_word.py) (Longest word)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_console(("Console"))
node_age_info["Age information"]
node_extrema["List extrema"]
node_two_sum["Two sum<br/>[two_sum.py]"]
node_longest_word["Longest word<br/>[longest_word.py]"]
node_unique_numbers["Unique numbers<br/>[unique_numbers.py]"]
node_reverse_text["Clean and reverse"]
node_count_vowels["Count vowels<br/>[count_vowels.py]"]

node_user -->|"enters details"| node_age_info
node_age_info -->|"prints results"| node_console
node_extrema -->|"prints extrema"| node_console
node_two_sum -->|"prints indices"| node_console
node_longest_word -->|"prints word"| node_console
node_unique_numbers -->|"prints values"| node_console
node_reverse_text -->|"prints text"| node_console
node_count_vowels -->|"prints counts"| node_console

click node_age_info "https://github.com/iot-ahmad/python/blob/main/user_info_age_calculator.py"
click node_extrema "https://github.com/iot-ahmad/python/blob/main/largest_smallest_numbers.py"
click node_two_sum "https://github.com/iot-ahmad/python/blob/main/two_sum.py"
click node_longest_word "https://github.com/iot-ahmad/python/blob/main/longest_word.py"
click node_unique_numbers "https://github.com/iot-ahmad/python/blob/main/unique_numbers.py"
click node_reverse_text "https://github.com/iot-ahmad/python/blob/main/remove_digits_reverse_string.py"
click node_count_vowels "https://github.com/iot-ahmad/python/blob/main/count_vowels.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_console toneIndigo
class node_age_info,node_extrema,node_two_sum,node_longest_word,node_unique_numbers,node_reverse_text,node_count_vowels toneTeal
```

## Components

### Other components

- **User**
- **Console**
- [Age information](https://github.com/iot-ahmad/python/blob/main/user_info_age_calculator.py): `user_info_age_calculator.py`
- [List extrema](https://github.com/iot-ahmad/python/blob/main/largest_smallest_numbers.py): `largest_smallest_numbers.py`
- [Two sum](https://github.com/iot-ahmad/python/blob/main/two_sum.py): `two_sum.py`
- [Longest word](https://github.com/iot-ahmad/python/blob/main/longest_word.py): `longest_word.py`
- [Unique numbers](https://github.com/iot-ahmad/python/blob/main/unique_numbers.py): `unique_numbers.py`
- [Clean and reverse](https://github.com/iot-ahmad/python/blob/main/remove_digits_reverse_string.py): `remove_digits_reverse_string.py`
- [Count vowels](https://github.com/iot-ahmad/python/blob/main/count_vowels.py): `count_vowels.py`

## Connections

- User → Age information: enters details
- Age information → Console: prints results
- List extrema → Console: prints extrema
- Two sum → Console: prints indices
- Longest word → Console: prints word
- Unique numbers → Console: prints values
- Clean and reverse → Console: prints text
- Count vowels → Console: prints counts
