# emrnky/tools architecture

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

- Interactive diagram: https://gitdiagram.com/emrnky/tools
- Repository: https://github.com/emrnky/tools

## Overview

This repository contains two independent Python utilities, not a larger application: `Progress` wraps an iterable with timed progress reporting, while `tablemaker` builds text tables or writes SVG tables. Their main workflows are callers consuming `Progress` and supplying headers/rows to `create` or `save`. The excerpts show each utility’s internal helper calls but no relationship between the modules; no README content documents additional capabilities.

Main entry points: [`tablemaker.py`](https://github.com/emrnky/tools/blob/main/tablemaker.py) (Table helpers), [`pvdm.py`](https://github.com/emrnky/tools/blob/main/pvdm.py) (Progress iterator)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_progress["Progress iterator<br/>[pvdm.py]"]
node_progress_display["Progress display<br/>[pvdm.py]"]
node_table_create["Text table creation<br/>[tablemaker.py]"]
node_table_save["SVG table export<br/>[tablemaker.py]"]
node_table_helpers["Table helpers<br/>[tablemaker.py]"]

node_progress -->|"formats display"| node_progress_display
node_table_create -->|"validates and pads"| node_table_helpers
node_table_create -->|"measures and renders"| node_table_helpers
node_table_save -->|"validates and pads"| node_table_helpers
node_table_save -->|"measures table"| node_table_helpers

click node_progress "https://github.com/emrnky/tools/blob/main/pvdm.py"
click node_progress_display "https://github.com/emrnky/tools/blob/main/pvdm.py"
click node_table_create "https://github.com/emrnky/tools/blob/main/tablemaker.py"
click node_table_save "https://github.com/emrnky/tools/blob/main/tablemaker.py"
click node_table_helpers "https://github.com/emrnky/tools/blob/main/tablemaker.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_progress,node_progress_display,node_table_create,node_table_save,node_table_helpers toneTeal
```

## Components

### Other components

- [Progress iterator](https://github.com/emrnky/tools/blob/main/pvdm.py): `pvdm.py`
- [Progress display](https://github.com/emrnky/tools/blob/main/pvdm.py): `pvdm.py`
- [Text table creation](https://github.com/emrnky/tools/blob/main/tablemaker.py): `tablemaker.py`
- [SVG table export](https://github.com/emrnky/tools/blob/main/tablemaker.py): `tablemaker.py`
- [Table helpers](https://github.com/emrnky/tools/blob/main/tablemaker.py): `tablemaker.py`

## Connections

- Progress iterator → Progress display: formats display (evidence: `pvdm.py`)
- Text table creation → Table helpers: validates and pads (evidence: `tablemaker.py`)
- Text table creation → Table helpers: measures and renders (evidence: `tablemaker.py`)
- SVG table export → Table helpers: validates and pads (evidence: `tablemaker.py`)
- SVG table export → Table helpers: measures table (evidence: `tablemaker.py`)
