Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Examples

Minimal examples using the ISO-8583 Toolkit.

Quick start (3 core methods)

from iso8583_toolkit import build, parse, validate

# Build
result = build("0100", {2: "1234...", 3: "000000", 4: "000000001000", 11: "000001"})

# Parse
parsed = parse(result.message)

# Validate
validation = validate("0100", {2: "1234...", 3: "000000"})

Examples

File Description
auth_flow.py Authorization 0100 → 0110 with validate, build, parse, pp
parse_and_pp.py Parse message and pretty-print (CLI or stdin)
socket_client.py TCP client: send 0100, receive 0110

Run

# From python-8583 directory
python examples/auth_flow.py
python examples/parse_and_pp.py "0100F230040102B00000..."
python examples/socket_client.py  # requires server on 127.0.0.1:9999