# seedstars/python-iso8583 architecture

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

- Interactive diagram: https://gitdiagram.com/seedstars/python-iso8583
- Repository: https://github.com/seedstars/python-iso8583

## Overview

This is a small ISO 8583 message-encoding library. A caller builds a message by setting its MTI and fields, or supplies an encoded message for parsing; the library represents fields and bitmap internally and exposes serialized output and parsed field values. The codec also defines validation failures through a separate exception module. The excerpts support this core workflow, but do not show the full implementation or any network transport; the example clients and servers are therefore not treated as product subsystems.

Main entry points: [`ISO8583/ISO8583.py`](https://github.com/seedstars/python-iso8583/blob/master/ISO8583/ISO8583.py) (ISO 8583 codec), [`ISO8583/ISOErrors.py`](https://github.com/seedstars/python-iso8583/blob/master/ISO8583/ISOErrors.py) (Codec exceptions)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_caller(("Library caller"))
node_codec["ISO 8583 codec<br/>[ISO8583.py]"]
node_errors["Codec exceptions<br/>[ISOErrors.py]"]

node_caller -->|"build or parse"| node_codec
node_codec -->|"raises validation errors"| node_errors

click node_codec "https://github.com/seedstars/python-iso8583/blob/master/ISO8583/ISO8583.py"
click node_errors "https://github.com/seedstars/python-iso8583/blob/master/ISO8583/ISOErrors.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_caller toneIndigo
class node_codec,node_errors toneTeal
```

## Components

### Other components

- **Library caller**
- [ISO 8583 codec](https://github.com/seedstars/python-iso8583/blob/master/ISO8583/ISO8583.py): `ISO8583/ISO8583.py`
- [Codec exceptions](https://github.com/seedstars/python-iso8583/blob/master/ISO8583/ISOErrors.py): `ISO8583/ISOErrors.py`

## Connections

- Library caller → ISO 8583 codec: build or parse (evidence: `ISO8583/ISO8583.py`)
- ISO 8583 codec → Codec exceptions: raises validation errors (evidence: `ISO8583/ISO8583.py`)
