How samperd/archimate-py works
archimate-py automates turning source documents—initially Government of Canada open data—into reusable ArchiMate components. The documented workflow is to obtain and decompress dataset inputs, run an XSLT 2.0 transformation with a compatible processor, and use the resulting ArchiMate-format documents in architecture repositories. The tree shows separate transformation families for legislation, bulk acts and regulations, and departments. The Python excerpts are placeholders rather than evidence of a processing pipeline; the detailed stylesheet implementations and script wiring were not sampled, so those links are not inferred.
Main entry points: resources.csv Dataset resources · acts-and-regs Legislation transforms · acts-and-regs-bulk Bulk transforms · mindep2archi.xslt Department transform
Components 10
Source data
- Source documents
- Dataset resources
data/resources.csv
XSLT transformations
- Legislation transforms
xslt/acts-and-regs - Bulk transforms
xslt/acts-and-regs-bulk - Department transform
xslt/min-dept/mindep2archi.xslt
Architecture models
- ArchiMate documents
- Model repository
model
Other components
- Architect
- XSLT processor
- Architecture repository
Connections 9
- Architect → Dataset resources: selects datasets
- Source documents → XSLT processor: provides XML
- Architect → XSLT processor: runs transformation
- XSLT processor → Legislation transforms: executes stylesheet
- XSLT processor → Bulk transforms: executes stylesheet
- XSLT processor → Department transform: executes stylesheet
- XSLT processor → ArchiMate documents: writes output
- ArchiMate documents → Architecture repository: imported into
- Architecture repository → Model repository: stores models