How willingham/x12-utils works
X12 Utils is a small Python library with two independent utilities: a generator that turns segment-and-element lists into EDI text, and a validator that wraps pyx12 and returns validation status and optional outputs. The README documents both workflows; the validator source shows its pyx12 call and captured results. The generator excerpt does not use its output_file or sub_element_separator parameters, so they are not represented as capabilities.
Main entry points: x12_validator.py EDI validator · x12_generator.py EDI generator
Components 6
Other components
- Calling application
- EDI generator
x12_utils/x12_generator.py - Generated EDI
x12_utils/x12_generator.py - EDI validator
x12_utils/x12_validator.py - pyx12 library
- Validation result
x12_utils/x12_validator.py
Connections 5
- Calling application → EDI generator: provides segments
README.md - EDI generator → Generated EDI: formats EDI
README.md - Calling application → EDI validator: submits EDI
README.md - EDI validator → pyx12 library: calls validator
x12_utils/x12_validator.py - EDI validator → Validation result: returns results
x12_utils/x12_validator.py