What problem does it solve?
Automates creation of Hancom HWPX format government documents from structured inputs so users and AI systems receive validated, non-corrupted .hwpx files ready for distribution.
Core Features & Use Cases
- Zero-dependency Python generator that assembles HWPX ZIP archives from embedded base64 templates (header.xml, content.hpf, etc.).
- Enforces AI-friendly document rules: complete sentences with explicit subjects, standard numbering (Ⅰ. → 1. → 가.), no merged cells, and minimal styling to avoid parsing errors.
- Produces 서면보고 (official reports) and 보도자료 (press releases) including title blocks, metadata, tables, contacts, attachments, and can return either a saved file path or raw bytes for Timely/Claude platforms.
Quick Start
Call the create_gov_hwpx(doc) function in skill-python/scripts with a JSON-like document dict to generate and save a validated .hwpx file or call create_gov_hwpx_bytes(doc) to receive raw bytes.