# shestakovitch/python-generation-course-for-professionals architecture

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

- Interactive diagram: https://gitdiagram.com/shestakovitch/python-generation-course-for-professionals
- Repository: https://github.com/shestakovitch/python-generation-course-for-professionals

## Overview

This repository is a collection of independent Python programming-exercise solutions, not a single application. Each script demonstrates a self-contained task: read input or a named data file, transform or aggregate it, and print or write a result. The samples show file sorting, CSV/JSON processing, grouping, date arithmetic, regex counting, and sales calculations. There is no shared runtime or demonstrated coordination between scripts; the graph therefore represents separate exercise workflows. Connections among unsampled scripts and any shared product-level organization cannot be established from the empty README and available excerpts.

Main entry points: [`4.2.20.py`](https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/4.2.20.py) (CSV condensation), [`4.4.14.py`](https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/4.4.14.py) (Exam scores), [`4.2.19.py`](https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/4.2.19.py) (Name log), [`3.3.18.py`](https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/3.3.18.py) (Diary sorting)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_files["File processing"]
  node_diary["Diary sorting<br/>[3.3.18.py]"]
  node_condense["CSV condensation<br/>[4.2.20.py]"]
  node_scores["Exam scores<br/>[4.4.14.py]"]
  node_name_log["Name log<br/>[4.2.19.py]"]
  node_file_sizes["File sizes<br/>[2.2.9.py]"]
end

subgraph group_data["Data aggregation"]
  node_pools["Pool selection<br/>[4.4.13.py]"]
  node_food["Food services<br/>[4.4.16.py]"]
  node_staff["Staff grouping<br/>[6.5.21.py]"]
  node_books["Book sales<br/>[6.8.22.py]"]
  node_burger["Burger receipt<br/>[6.9.23.py]"]
end

subgraph group_language["Text and time"]
  node_course_time["Course countdown<br/>[3.5.8.py]"]
  node_regex_count["Regex counts<br/>[11.7.10.py]"]
end

node_user(("Exercise input"))
node_diary_file["diary.txt"]
node_input_files["Named data file"]
node_output_files["Generated file"]

node_user -->|"runs"| node_diary
node_diary_file -->|"reads"| node_diary
node_user -->|"runs"| node_condense
node_input_files -->|"reads CSV"| node_condense
node_condense -->|"writes CSV"| node_output_files
node_user -->|"runs"| node_scores
node_input_files -->|"reads CSV"| node_scores
node_scores -->|"writes JSON"| node_output_files
node_user -->|"runs"| node_name_log
node_input_files -->|"reads CSV"| node_name_log
node_name_log -->|"writes CSV"| node_output_files
node_user -->|"runs"| node_file_sizes
node_input_files -->|"reads list"| node_file_sizes
node_user -->|"runs"| node_pools
node_input_files -->|"reads JSON"| node_pools
node_user -->|"runs"| node_food
node_input_files -->|"reads JSON"| node_food
node_user -->|"runs"| node_staff
node_user -->|"enters purchases"| node_books
node_user -->|"chooses ingredients"| node_burger
node_user -->|"enters time"| node_course_time
node_user -->|"runs"| node_regex_count

click node_diary "https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/3.3.18.py"
click node_condense "https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/4.2.20.py"
click node_scores "https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/4.4.14.py"
click node_name_log "https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/4.2.19.py"
click node_file_sizes "https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/2.2.9.py"
click node_pools "https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/4.4.13.py"
click node_food "https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/4.4.16.py"
click node_staff "https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/6.5.21.py"
click node_books "https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/6.8.22.py"
click node_burger "https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/6.9.23.py"
click node_course_time "https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/3.5.8.py"
click node_regex_count "https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/11.7.10.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_diary,node_condense,node_scores,node_name_log,node_file_sizes toneBlue
class node_pools,node_food,node_staff,node_books,node_burger toneAmber
class node_course_time,node_regex_count toneMint
class node_user,node_diary_file,node_input_files,node_output_files toneIndigo
```

## Components

### File processing

- [Diary sorting](https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/3.3.18.py): `3.3.18.py`
- [CSV condensation](https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/4.2.20.py): `4.2.20.py`
- [Exam scores](https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/4.4.14.py): `4.4.14.py`
- [Name log](https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/4.2.19.py): `4.2.19.py`
- [File sizes](https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/2.2.9.py): `2.2.9.py`

### Data aggregation

- [Pool selection](https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/4.4.13.py): `4.4.13.py`
- [Food services](https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/4.4.16.py): `4.4.16.py`
- [Staff grouping](https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/6.5.21.py): `6.5.21.py`
- [Book sales](https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/6.8.22.py): `6.8.22.py`
- [Burger receipt](https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/6.9.23.py): `6.9.23.py`

### Text and time

- [Course countdown](https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/3.5.8.py): `3.5.8.py`
- [Regex counts](https://github.com/shestakovitch/python-generation-course-for-professionals/blob/main/11.7.10.py): `11.7.10.py`

### Other components

- **Exercise input**
- **diary.txt**
- **Named data file**
- **Generated file**

## Connections

- Exercise input → Diary sorting: runs (evidence: `3.3.18.py`)
- diary.txt → Diary sorting: reads (evidence: `3.3.18.py`)
- Exercise input → CSV condensation: runs (evidence: `4.2.20.py`)
- Named data file → CSV condensation: reads CSV (evidence: `4.2.20.py`)
- CSV condensation → Generated file: writes CSV (evidence: `4.2.20.py`)
- Exercise input → Exam scores: runs (evidence: `4.4.14.py`)
- Named data file → Exam scores: reads CSV (evidence: `4.4.14.py`)
- Exam scores → Generated file: writes JSON (evidence: `4.4.14.py`)
- Exercise input → Name log: runs (evidence: `4.2.19.py`)
- Named data file → Name log: reads CSV (evidence: `4.2.19.py`)
- Name log → Generated file: writes CSV (evidence: `4.2.19.py`)
- Exercise input → File sizes: runs (evidence: `2.2.9.py`)
- Named data file → File sizes: reads list (evidence: `2.2.9.py`)
- Exercise input → Pool selection: runs (evidence: `4.4.13.py`)
- Named data file → Pool selection: reads JSON (evidence: `4.4.13.py`)
- Exercise input → Food services: runs (evidence: `4.4.16.py`)
- Named data file → Food services: reads JSON (evidence: `4.4.16.py`)
- Exercise input → Staff grouping: runs (evidence: `6.5.21.py`)
- Exercise input → Book sales: enters purchases (evidence: `6.8.22.py`)
- Exercise input → Burger receipt: chooses ingredients (evidence: `6.9.23.py`)
- Exercise input → Course countdown: enters time (evidence: `3.5.8.py`)
- Exercise input → Regex counts: runs (evidence: `11.7.10.py`)
