# thomasweise/programmingwithpython architecture

> Architecture diagram of the GitHub repository thomasweise/programmingwithpython, 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/thomasweise/programmingwithpython
- Repository: https://github.com/thomasweise/programmingwithpython

## Overview

This repository is a Python programming textbook and course resource, not a runtime application. A learner uses the book/course to study setup, core language concepts, programming structures, and the Python ecosystem. The README documents broader resources such as exercises and German slides; the tree shows the book’s instructional topics. Source excerpts are limited to two supporting example scripts, so internal links between chapters are not asserted.

Main entry points: [`book.tex`](https://github.com/thomasweise/programmingwithpython/blob/main/book.tex) (Book and course), [`text/main/introduction`](https://github.com/thomasweise/programmingwithpython/tree/main/text/main/introduction) (Introduction), [`text/main/basics/gettingStarted`](https://github.com/thomasweise/programmingwithpython/tree/main/text/main/basics/gettingStarted) (Getting started), [`text/main/basics/simpleDataTypesAndOperations`](https://github.com/thomasweise/programmingwithpython/tree/main/text/main/basics/simpleDataTypesAndOperations) (Types and variables)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_curriculum["Course structure"]
  node_book["Book and course<br/>[book.tex]"]
  node_intro["Introduction"]
  node_setup["Getting started"]
end

subgraph group_fundamentals["Python fundamentals"]
  node_values["Types and variables"]
  node_collections["Collections"]
end

subgraph group_programming["Programming practice"]
  node_control["Control and functions"]
  node_classes["Classes"]
end

subgraph group_ecosystem["Tools and ecosystem"]
  node_ecosystem["Python ecosystem"]
end

node_learner(("Learner"))
node_exercises["Questions and exercises"]
node_slides["German course slides"]

node_learner -->|"studies"| node_book
node_book -->|"teaches"| node_intro
node_book -->|"teaches"| node_setup
node_book -->|"teaches"| node_values
node_book -->|"teaches"| node_collections
node_book -->|"teaches"| node_control
node_book -->|"teaches"| node_classes
node_book -->|"teaches"| node_ecosystem
node_learner -->|"practices with"| node_exercises
node_learner -->|"studies"| node_slides

click node_book "https://github.com/thomasweise/programmingwithpython/blob/main/book.tex"
click node_intro "https://github.com/thomasweise/programmingwithpython/tree/main/text/main/introduction"
click node_setup "https://github.com/thomasweise/programmingwithpython/tree/main/text/main/basics/gettingStarted"
click node_values "https://github.com/thomasweise/programmingwithpython/tree/main/text/main/basics/simpleDataTypesAndOperations"
click node_collections "https://github.com/thomasweise/programmingwithpython/tree/main/text/main/basics/collections"
click node_control "https://github.com/thomasweise/programmingwithpython/tree/main/text/main/controlFlow"
click node_classes "https://github.com/thomasweise/programmingwithpython/tree/main/text/main/classes"
click node_ecosystem "https://github.com/thomasweise/programmingwithpython/tree/main/text/main/ecosystem"

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_book,node_intro,node_setup toneBlue
class node_values,node_collections toneAmber
class node_control,node_classes toneMint
class node_ecosystem toneRose
class node_learner,node_exercises,node_slides toneIndigo
```

## Components

### Course structure

- [Book and course](https://github.com/thomasweise/programmingwithpython/blob/main/book.tex): `book.tex`
- [Introduction](https://github.com/thomasweise/programmingwithpython/tree/main/text/main/introduction): `text/main/introduction`
- [Getting started](https://github.com/thomasweise/programmingwithpython/tree/main/text/main/basics/gettingStarted): `text/main/basics/gettingStarted`

### Python fundamentals

- [Types and variables](https://github.com/thomasweise/programmingwithpython/tree/main/text/main/basics/simpleDataTypesAndOperations): `text/main/basics/simpleDataTypesAndOperations`
- [Collections](https://github.com/thomasweise/programmingwithpython/tree/main/text/main/basics/collections): `text/main/basics/collections`

### Programming practice

- [Control and functions](https://github.com/thomasweise/programmingwithpython/tree/main/text/main/controlFlow): `text/main/controlFlow`
- [Classes](https://github.com/thomasweise/programmingwithpython/tree/main/text/main/classes): `text/main/classes`

### Tools and ecosystem

- [Python ecosystem](https://github.com/thomasweise/programmingwithpython/tree/main/text/main/ecosystem): `text/main/ecosystem`

### Other components

- **Learner**
- **Questions and exercises**
- **German course slides**

## Connections

- Learner → Book and course: studies (evidence: `README.md`)
- Book and course → Introduction: teaches (evidence: `README.md`)
- Book and course → Getting started: teaches (evidence: `README.md`)
- Book and course → Types and variables: teaches (evidence: `README.md`)
- Book and course → Collections: teaches (evidence: `README.md`)
- Book and course → Control and functions: teaches (evidence: `README.md`)
- Book and course → Classes: teaches (evidence: `README.md`)
- Book and course → Python ecosystem: teaches (evidence: `README.md`)
- Learner → Questions and exercises: practices with (evidence: `README.md`)
- Learner → German course slides: studies (evidence: `README.md`)
