python-hwpx-automation 7.5.0__tar.gz → 8.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- python_hwpx_automation-8.0.1/MANIFEST.in +5 -0
- {python_hwpx_automation-7.5.0/src/python_hwpx_automation.egg-info → python_hwpx_automation-8.0.1}/PKG-INFO +138 -66
- python_hwpx_automation-8.0.1/README.md +269 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/pyproject.toml +73 -20
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/agent_document.py +8 -4
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/content.py +71 -273
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/document.py +2 -1
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/formatting.py +9 -179
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/locations.py +3 -4
- python_hwpx_automation-8.0.1/src/hwpx_automation/core/search.py +181 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/transactions.py +17 -45
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/errors.py +63 -4
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/form_fill.py +35 -22
- python_hwpx_automation-8.0.1/src/hwpx_automation/format_rules.py +541 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/forms/__init__.py +75 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/forms/choices.py +500 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/forms/labels.py +674 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/_shared.py +3 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/authoring.py +50 -12
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/content_edit.py +13 -19
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/layout_style.py +28 -18
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/quality_render.py +3 -7
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/read_export.py +69 -9
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/specialized.py +202 -33
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/tracked_changes.py +5 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/hwp_converter.py +131 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/hwp_support.py +64 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/hwpx_ops.py +39 -53
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/identity.json +13 -13
- python_hwpx_automation-8.0.1/src/hwpx_automation/ingest/__init__.py +58 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/ingest/_types.py +170 -0
- python_hwpx_automation-7.5.0/src/hwpx_automation/ingest_adapters.py → python_hwpx_automation-8.0.1/src/hwpx_automation/ingest/adapters.py +47 -11
- python_hwpx_automation-8.0.1/src/hwpx_automation/ingest/base.py +161 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/ingest/hwpx_converter.py +461 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/ingest_adapters.py +28 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/integrations/__init__.py +11 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/integrations/langchain.py +76 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/integrations/llama_index.py +83 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/mail_merge.py +645 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/markdown/__init__.py +191 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/markdown/_export.py +1226 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/markdown/_import.py +2329 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/markdown/_plain_export.py +847 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/markdown_plan.py +373 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/minimal_profile.py +7 -4
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/mixed_form.py +251 -60
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/__init__.py +2 -2
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/_batch_publication.py +31 -7
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/_batch_verification.py +20 -2
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/_text_scope.py +5 -1
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/blueprint/catalog.py +6 -4
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/blueprint/dump.py +80 -66
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/blueprint/mapping.py +12 -13
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/blueprint/model.py +11 -4
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/blueprint/native.py +119 -164
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/blueprint/replay.py +104 -4
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/catalog.py +39 -26
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/commands.py +796 -504
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/document.py +202 -20
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/form_plan.py +4 -4
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/model.py +233 -28
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/path.py +64 -20
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/story.py +2 -2
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/__init__.py +754 -157
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/advanced_generators.py +3 -3
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/builder/core.py +62 -28
- python_hwpx_automation-8.0.1/src/hwpx_automation/office/authoring/design/_support.py +88 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/office/authoring/design/composer.py +486 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/harvest.py +92 -80
- python_hwpx_automation-8.0.1/src/hwpx_automation/office/authoring/design/marked.py +162 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/plan.py +3 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/office/authoring/design/profile.py +221 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/office/authoring/design/profiles/application_form/fragments.hwpx +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/profiles/application_form/profile.json +18 -5
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/profiles/application_form/template.hwpx +0 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/office/authoring/design/profiles/home_notice/fragments.hwpx +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/profiles/home_notice/profile.json +14 -4
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/profiles/home_notice/template.hwpx +0 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/office/authoring/design/profiles/official_notice/fragments.hwpx +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/profiles/official_notice/profile.json +19 -6
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/profiles/official_notice/template.hwpx +0 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/office/authoring/design/profiles/report/fragments.hwpx +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/profiles/report/profile.json +18 -5
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/profiles/report/template.hwpx +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/validator.py +10 -19
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/presets/proposal.py +47 -32
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/report_parser.py +1 -1
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/compact/__init__.py +49 -16
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/compliance/__init__.py +6 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/compliance/official_lint.py +2 -2
- python_hwpx_automation-8.0.1/src/hwpx_automation/office/compliance/reference_consistency.py +204 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/document_ops/mail_merge.py +12 -9
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/evalplan/runtime.py +482 -14
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/exam/compose.py +29 -16
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/exam/parser.py +1 -2
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/guidance.py +9 -8
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/quality.py +42 -10
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/split_run.py +6 -6
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/template_formfit.py +31 -53
- python_hwpx_automation-8.0.1/src/hwpx_automation/office/house_style/org_chart.py +462 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/__init__.py +49 -15
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/cli.py +5 -2
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/mac_session.py +9 -84
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/oracle.py +218 -6
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/worker.py +13 -6
- python_hwpx_automation-8.0.1/src/hwpx_automation/office/utilities/__init__.py +38 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/office/utilities/report_utils.py +137 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/office/utilities/table_cleanup.py +65 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/utilities/table_compute.py +39 -2
- python_hwpx_automation-8.0.1/src/hwpx_automation/ops_services/_border_fill.py +51 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/content_layout.py +22 -27
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/context.py +31 -2
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/form_fields.py +4 -3
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/media.py +11 -50
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/memo_style.py +29 -69
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/package_validation.py +2 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/preview_export.py +5 -41
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/save_policy.py +13 -6
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/tables.py +25 -81
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/transactions.py +6 -5
- python_hwpx_automation-8.0.1/src/hwpx_automation/preview/__init__.py +59 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/preview/document_viewer.py +184 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/preview/equation_render.py +89 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/preview/layout_preview.py +757 -0
- python_hwpx_automation-8.0.1/src/hwpx_automation/preview/mathml.py +178 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/public-modules.json +43 -5
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/quality.py +18 -4
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/quality_generation.py +22 -13
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/runtime.py +124 -7
- python_hwpx_automation-8.0.1/src/hwpx_automation/save_dates.py +129 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/storage.py +91 -6
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/tool_contract.py +2 -2
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/upstream.py +233 -256
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/store.py +36 -6
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workspace.py +140 -1
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1/src/python_hwpx_automation.egg-info}/PKG-INFO +138 -66
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/python_hwpx_automation.egg-info/SOURCES.txt +30 -15
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/python_hwpx_automation.egg-info/entry_points.txt +1 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/python_hwpx_automation.egg-info/requires.txt +22 -5
- python_hwpx_automation-7.5.0/MANIFEST.in +0 -2
- python_hwpx_automation-7.5.0/README.md +0 -209
- python_hwpx_automation-7.5.0/src/hwpx_automation/core/search.py +0 -299
- python_hwpx_automation-7.5.0/src/hwpx_automation/hwp_converter.py +0 -227
- python_hwpx_automation-7.5.0/src/hwpx_automation/hwp_support.py +0 -94
- python_hwpx_automation-7.5.0/src/hwpx_automation/markdown_plan.py +0 -216
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/_support.py +0 -175
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/composer.py +0 -377
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/marked.py +0 -318
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/profile.py +0 -88
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/profiles/application_form/fragments/body.xml +0 -1
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/profiles/application_form/fragments/heading.xml +0 -1
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/profiles/application_form/fragments/info_table.xml +0 -1
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/profiles/application_form/fragments/title.xml +0 -1
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/profiles/home_notice/fragments/body.xml +0 -1
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/profiles/home_notice/fragments/heading.xml +0 -1
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/profiles/home_notice/fragments/title.xml +0 -1
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/profiles/official_notice/fragments/body.xml +0 -1
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/profiles/official_notice/fragments/heading.xml +0 -1
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/profiles/official_notice/fragments/info_table.xml +0 -1
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/profiles/official_notice/fragments/title.xml +0 -1
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/profiles/report/fragments/body.xml +0 -1
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/profiles/report/fragments/heading.xml +0 -1
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/profiles/report/fragments/info_table.xml +0 -1
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/authoring/design/profiles/report/fragments/title.xml +0 -1
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/house_style/org_chart.py +0 -273
- python_hwpx_automation-7.5.0/src/hwpx_automation/office/utilities/__init__.py +0 -12
- python_hwpx_automation-7.5.0/src/hwpx_automation/ops_services/_border_fill.py +0 -283
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/LICENSE +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/NOTICE +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/setup.cfg +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/__init__.pyi +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/__main__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/api.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/blind_eval.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/capabilities.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/compat.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/configuration.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/context.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/diff.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/handles.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/locator.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/plan.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/resources.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/txn.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/document_state.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/execution_lock.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/fastmcp_adapter.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/form_output_models.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/agent_document.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/form_fill.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/workflow.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/identity.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/mcp_cli.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/metadata/tools_meta.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/mutation_models.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/network_policy.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/blueprint/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/blueprint/bundle.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/cli.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/query.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/builder/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/builder/report.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/presets/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/style_profile.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/template_analyzer.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/charting/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/compliance/pii.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/document_ops/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/document_ops/comparison.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/document_ops/redline.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/evalplan/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/exam/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/exam/ir.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/exam/measure.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/exam/profile.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/classification.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/fill_residue.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/fit/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/fit/apply.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/fit/engine.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/fit/measure.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/fit/policy.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/fit/report.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/fit/seal.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/fit/wordbox.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/house_style/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/house_style/composition.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/house_style/data/bank.json +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/house_style/data/genres.json +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/house_style/gianmun.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/quality/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/quality/page_guard.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/__main__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/_hancom_alerts_mac.applescript +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/_hancom_open_rate.ps1 +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/_refresh_hwpx_mac.applescript +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/_render_hwpx.ps1 +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/_render_hwpx_mac.applescript +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/block_splits.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/detectors.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/diff.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/fixture_corpus.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/page_qa.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/qa_contracts.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/qa_metrics.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/composition.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/planning.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/read_query.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/preview_output_models.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/py.typed +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/resources.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/runtime_services.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/server.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/tool_bindings.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/utils/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/utils/helpers.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/utils/read_budget.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/visual_qa.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/__init__.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/adapters.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/dispatcher.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/evidence_lineage.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/models.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/policy.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/render_contracts.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/render_metrics.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/render_queue.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/render_security.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/render_transport.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/rendering.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/service.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/state_machine.py +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/python_hwpx_automation.egg-info/dependency_links.txt +0 -0
- {python_hwpx_automation-7.5.0 → python_hwpx_automation-8.0.1}/src/python_hwpx_automation.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Repository QA is exercised before release; it is not part of the runtime sdist.
|
|
2
|
+
prune tests
|
|
3
|
+
# The hwpx-plugins source lives in this repository but ships as plugin bundles
|
|
4
|
+
# on the plugins-dist branch, never inside the automation wheel or sdist.
|
|
5
|
+
prune plugins-src
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-hwpx-automation
|
|
3
|
-
Version:
|
|
3
|
+
Version: 8.0.1
|
|
4
4
|
Summary: Task-oriented HWPX document automation for Python, with an optional MCP adapter.
|
|
5
5
|
Author: Kohkyuhyun
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -20,19 +20,27 @@ Requires-Python: >=3.10
|
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
License-File: LICENSE
|
|
22
22
|
License-File: NOTICE
|
|
23
|
-
Requires-Dist: python-hwpx<7
|
|
23
|
+
Requires-Dist: python-hwpx<8,>=7.0.2
|
|
24
24
|
Requires-Dist: pydantic<3,>=2.11
|
|
25
|
-
Requires-Dist: cryptography>=42.0
|
|
26
|
-
Requires-Dist: anyio>=4.0
|
|
27
25
|
Requires-Dist: tomli>=2.0; python_version < "3.11"
|
|
28
26
|
Provides-Extra: mcp
|
|
29
27
|
Requires-Dist: mcp==1.30.0; extra == "mcp"
|
|
28
|
+
Requires-Dist: cryptography>=42.0; extra == "mcp"
|
|
29
|
+
Provides-Extra: workflow
|
|
30
|
+
Requires-Dist: cryptography>=42.0; extra == "workflow"
|
|
30
31
|
Provides-Extra: hwp
|
|
31
|
-
Requires-Dist: olefile>=0.47; extra == "hwp"
|
|
32
32
|
Provides-Extra: http
|
|
33
33
|
Requires-Dist: uvicorn>=0.30; extra == "http"
|
|
34
34
|
Provides-Extra: ingest
|
|
35
35
|
Requires-Dist: markitdown[docx,pdf,xlsx]<0.2,>=0.1.6; extra == "ingest"
|
|
36
|
+
Provides-Extra: preview
|
|
37
|
+
Requires-Dist: latex2mathml>=3.77; extra == "preview"
|
|
38
|
+
Provides-Extra: xlsx
|
|
39
|
+
Requires-Dist: openpyxl>=3.1; extra == "xlsx"
|
|
40
|
+
Provides-Extra: langchain
|
|
41
|
+
Requires-Dist: langchain-core>=0.3; extra == "langchain"
|
|
42
|
+
Provides-Extra: llamaindex
|
|
43
|
+
Requires-Dist: llama-index-core>=0.12; extra == "llamaindex"
|
|
36
44
|
Provides-Extra: oracle
|
|
37
45
|
Requires-Dist: pymupdf>=1.24; extra == "oracle"
|
|
38
46
|
Requires-Dist: pillow>=10.0; extra == "oracle"
|
|
@@ -48,11 +56,15 @@ Requires-Dist: packaging>=23.0; extra == "test"
|
|
|
48
56
|
Requires-Dist: pytest-cov>=5.0; extra == "test"
|
|
49
57
|
Requires-Dist: jsonschema>=4.22; extra == "test"
|
|
50
58
|
Requires-Dist: pyyaml>=6.0; extra == "test"
|
|
51
|
-
Requires-Dist:
|
|
59
|
+
Requires-Dist: cryptography>=42.0; extra == "test"
|
|
60
|
+
Requires-Dist: anyio>=4.0; extra == "test"
|
|
52
61
|
Requires-Dist: uvicorn>=0.30; extra == "test"
|
|
53
62
|
Requires-Dist: numpy>=1.26; extra == "test"
|
|
54
63
|
Requires-Dist: pillow>=10.0; extra == "test"
|
|
55
64
|
Requires-Dist: ruff>=0.12; extra == "test"
|
|
65
|
+
Requires-Dist: latex2mathml>=3.77; extra == "test"
|
|
66
|
+
Requires-Dist: openpyxl>=3.1; extra == "test"
|
|
67
|
+
Requires-Dist: langchain-core>=0.3; extra == "test"
|
|
56
68
|
Provides-Extra: typecheck
|
|
57
69
|
Requires-Dist: mypy<3,>=1.10; extra == "typecheck"
|
|
58
70
|
Requires-Dist: pyright<2,>=1.1.390; extra == "typecheck"
|
|
@@ -61,7 +73,7 @@ Dynamic: license-file
|
|
|
61
73
|
<p align="center">
|
|
62
74
|
<h1 align="center">python-hwpx-automation</h1>
|
|
63
75
|
<p align="center">
|
|
64
|
-
<strong>
|
|
76
|
+
<strong>python-hwpx 엔진 위에서 한/글 문서 일을 자동화하는 응용 패키지 · MCP 서버 · 에이전트 플러그인</strong>
|
|
65
77
|
</p>
|
|
66
78
|
<p align="center">
|
|
67
79
|
<a href="https://pypi.org/project/python-hwpx-automation/"><img src="https://img.shields.io/pypi/v/python-hwpx-automation?color=blue&label=PyPI" alt="PyPI"></a>
|
|
@@ -70,61 +82,109 @@ Dynamic: license-file
|
|
|
70
82
|
<a href="https://github.com/airmang/python-hwpx-automation/actions/workflows/tests.yml"><img src="https://img.shields.io/github/actions/workflow/status/airmang/python-hwpx-automation/tests.yml?branch=main&label=tests" alt="Tests"></a>
|
|
71
83
|
<a href="https://github.com/airmang/python-hwpx-automation/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue" alt="License"></a>
|
|
72
84
|
</p>
|
|
85
|
+
<p align="center">
|
|
86
|
+
<a href="https://github.com/airmang/python-hwpx-automation/blob/main/docs/use-cases.md">사용 사례</a>
|
|
87
|
+
· <a href="https://github.com/airmang/python-hwpx-automation/blob/main/docs/tool-contract.md">MCP 도구 계약</a>
|
|
88
|
+
· <a href="https://github.com/airmang/python-hwpx-automation/blob/main/docs/hardening_guide_ko.md">하드닝 가이드</a>
|
|
89
|
+
· <a href="https://github.com/airmang/python-hwpx-automation/blob/main/docs/compatibility-6x.md">호환 표면</a>
|
|
90
|
+
· <a href="https://github.com/airmang/python-hwpx-automation/blob/main/CHANGELOG.md">변경 기록</a>
|
|
91
|
+
</p>
|
|
73
92
|
</p>
|
|
74
93
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
> [!NOTE]
|
|
79
|
-
> 발행이 승인된 7.5.0 후보 (release-approved; 원격 발행 대기): `python-hwpx 6.12.0 → python-hwpx-automation 7.5.0 → hwpx-plugin 2.4.0` (`71622c28a07913d1`). 이 좌표는 `src/hwpx_automation/identity.json`의 `releaseState.candidate`와 같아야 합니다(`tests/test_audit_identity_docs.py`).
|
|
80
|
-
> 공개 트레인: `python-hwpx 6.6.0 → python-hwpx-automation 7.3.1 → hwpx-plugin 2.4.0`.
|
|
81
|
-
> 공개 좌표는 core·automation PyPI와 plugin GitHub
|
|
82
|
-
> Release·marketplace·실제 marketplace 설치 관찰 후에만 승격합니다.
|
|
94
|
+
[python-hwpx](https://github.com/airmang/python-hwpx)는 파일에 적힌 대로만 읽고 쓰는 엔진입니다. 정답이 하나로 정해지지
|
|
95
|
+
않는 일, 곧 다른 형식으로 바꾸기, 이름표로 양식 칸 찾기, 메일 머지, 보고서 서식, 미리보기, 한컴 렌더는 이 패키지가 맡습니다.
|
|
96
|
+
MCP 서버와 Claude Code·Codex 플러그인도 여기 있습니다. 한컴오피스 없이 Windows·macOS·Linux에서 돌아갑니다.
|
|
83
97
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
`[mcp]` extra로 더합니다. 한컴오피스도 Windows도 필요 없으므로 **파이썬이 도는
|
|
89
|
-
ChatGPT 채팅 안에서도** 그대로 동작합니다.
|
|
98
|
+
<p align="center">
|
|
99
|
+
<img src="https://raw.githubusercontent.com/airmang/python-hwpx/main/docs/assets/hancom-7.0-report.png" width="600" alt="이 패키지의 보고서 서식으로 만든 2026년 디지털 교육 운영 계획을 한컴오피스가 그린 쪽">
|
|
100
|
+
</p>
|
|
101
|
+
<p align="center"><sub>Markdown 원고를 <code>from_markdown(md, style="report")</code>로 만든 보고서. 한컴오피스 12.30.0이 그린 쪽입니다.</sub></p>
|
|
90
102
|
|
|
91
103
|
| | 저장소 | 역할 |
|
|
92
104
|
|---|---|---|
|
|
93
|
-
| 📦 | [`python-hwpx`](https://github.com/airmang/python-hwpx) |
|
|
94
|
-
| 🔌 | [`python-hwpx-automation`](https://github.com/airmang/python-hwpx-automation) |
|
|
95
|
-
|
|
|
105
|
+
| 📦 | [`python-hwpx`](https://github.com/airmang/python-hwpx) | 한/글 문서를 읽고·고치고·만드는 엔진 |
|
|
106
|
+
| 🔌 | [`python-hwpx-automation`](https://github.com/airmang/python-hwpx-automation) | 변환·양식 채움·메일 머지·미리보기·보고서 서식, `hwpx` CLI, MCP 서버, Claude Code·Codex 플러그인 (이 저장소) |
|
|
107
|
+
| 🏫 | [`hwpx-school`](https://github.com/airmang/hwpx-school) | 학교 문서(지필평가 원안지·학습지·수행평가 문제지·보고서)를 학교 서식 그대로 만드는 도구 |
|
|
108
|
+
|
|
109
|
+
## 설치
|
|
110
|
+
|
|
111
|
+
쓰는 방식에 따라 고르세요.
|
|
112
|
+
|
|
113
|
+
| 쓰는 방식 | 설치 |
|
|
114
|
+
|---|---|
|
|
115
|
+
| Claude Code·Codex 같은 에이전트 | 아래 [플러그인](#에이전트에서-쓰기-claude-codecodex). pip 설치는 필요 없습니다 |
|
|
116
|
+
| 파이썬 코드 | `pip install -U python-hwpx-automation` (python-hwpx 7.0도 함께 설치됩니다) |
|
|
117
|
+
| 그 밖의 MCP 클라이언트 | `pip install -U "python-hwpx-automation[mcp]"` 후 [MCP 서버](#mcp-서버)로 등록 |
|
|
96
118
|
|
|
97
|
-
|
|
119
|
+
### 에이전트에서 쓰기 (Claude Code·Codex)
|
|
120
|
+
|
|
121
|
+
이 저장소 주소 하나로 플러그인을 설치합니다. 플러그인이 python-hwpx와 이 패키지를 검증한 판으로 설치하고,
|
|
122
|
+
MCP 도구와 작업 안내(스킬)를 함께 붙입니다. 미리 [uv](https://docs.astral.sh/uv/getting-started/installation/)가
|
|
123
|
+
설치되어 있어야 합니다.
|
|
98
124
|
|
|
99
125
|
```bash
|
|
100
|
-
|
|
126
|
+
# Claude Code
|
|
127
|
+
claude plugin marketplace add airmang/python-hwpx-automation
|
|
128
|
+
claude plugin install hwpx-plugin@hwpx
|
|
129
|
+
|
|
130
|
+
# Codex
|
|
131
|
+
codex plugin marketplace add airmang/python-hwpx-automation
|
|
132
|
+
codex plugin add hwpx-plugin@hwpx
|
|
101
133
|
```
|
|
102
134
|
|
|
135
|
+
에이전트에게 "https://github.com/airmang/python-hwpx-automation 플러그인을 설치해 줘"라고 부탁해도 됩니다.
|
|
136
|
+
플러그인은 새 세션부터 쓰입니다. 예전 주소 `airmang/hwpx-plugins`로 설치한 플러그인도 같은 번들을 받으므로
|
|
137
|
+
그대로 업데이트됩니다.
|
|
138
|
+
|
|
139
|
+
## 파이썬에서 쓰기
|
|
140
|
+
|
|
141
|
+
Markdown 원고를 보고서 서식의 한/글 문서로 만듭니다. 위 그림이 이렇게 만든 문서입니다.
|
|
142
|
+
|
|
103
143
|
```python
|
|
104
|
-
from hwpx_automation import
|
|
144
|
+
from hwpx_automation.markdown import from_markdown
|
|
105
145
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
146
|
+
md = """\
|
|
147
|
+
# 2026년 운영 계획
|
|
148
|
+
|
|
149
|
+
## 추진 배경
|
|
150
|
+
|
|
151
|
+
- 학생 1인 1기기 보급 완료
|
|
152
|
+
- 교사 연수 수요 증가
|
|
153
|
+
|
|
154
|
+
## 추진 일정
|
|
155
|
+
|
|
156
|
+
| 구분 | 기간 |
|
|
157
|
+
|---|---|
|
|
158
|
+
| 1단계 | 3월 ~ 6월 |
|
|
159
|
+
"""
|
|
160
|
+
doc = from_markdown(md, style="report", byline="2026. 3. 교육과정부")
|
|
161
|
+
doc.save("운영계획.hwpx")
|
|
114
162
|
```
|
|
115
163
|
|
|
116
|
-
|
|
164
|
+
python-hwpx 7.0에서 이 패키지로 옮겨 온 기능은 아래에 있습니다. 인자와 결과는 python-hwpx 6.x와 같습니다.
|
|
165
|
+
|
|
166
|
+
| 하는 일 | 모듈 |
|
|
167
|
+
|---|---|
|
|
168
|
+
| Markdown으로 문서 만들기, Markdown·HTML로 내보내기 | `hwpx_automation.markdown` |
|
|
169
|
+
| 이름표로 양식 칸 찾아 채우기, 글자로 적힌 선택 칸 | `hwpx_automation.forms` |
|
|
170
|
+
| 메일 머지 | `hwpx_automation.mail_merge` |
|
|
171
|
+
| 미리보기(HTML·PNG), 수식 그림 | `hwpx_automation.preview` |
|
|
172
|
+
| 서식 규칙 검사(명령 `hwpx-check-format`) | `hwpx_automation.format_rules` |
|
|
173
|
+
| 다른 형식 가져오기, LangChain·LlamaIndex | `hwpx_automation.ingest`, `hwpx_automation.integrations` |
|
|
174
|
+
| 표 정리·보고서 수치, 공문 표기·개인정보 검사 | `hwpx_automation.office.utilities`, `hwpx_automation.office.compliance` |
|
|
117
175
|
|
|
118
|
-
|
|
176
|
+
명령줄에서는 `hwpx help`(또는 `python -m hwpx_automation --help`)로 시작합니다.
|
|
177
|
+
|
|
178
|
+
## MCP 서버
|
|
119
179
|
|
|
120
180
|
```bash
|
|
121
|
-
pip install "python-hwpx-automation[mcp]"
|
|
181
|
+
pip install -U "python-hwpx-automation[mcp]"
|
|
122
182
|
hwpx-automation-mcp
|
|
123
183
|
```
|
|
124
184
|
|
|
125
|
-
MCP 클라이언트 설정 파일에 아래 블록 하나면 `hwpx` 서버를
|
|
126
|
-
|
|
127
|
-
|
|
185
|
+
MCP 클라이언트 설정 파일에 아래 블록 하나면 `hwpx` 서버를 잡습니다. Claude Desktop은 `claude_desktop_config.json`,
|
|
186
|
+
VS Code는 `.vscode/mcp.json`(키가 `mcpServers` 대신 `servers`), Gemini CLI는 `~/.gemini/settings.json`,
|
|
187
|
+
Cursor·Windsurf는 각 에디터의 MCP 설정 파일입니다.
|
|
128
188
|
|
|
129
189
|
```json
|
|
130
190
|
{
|
|
@@ -133,7 +193,7 @@ Gemini CLI는 `~/.gemini/settings.json`, Cursor·Windsurf는 각 에디터의 MC
|
|
|
133
193
|
"command": "uvx",
|
|
134
194
|
"args": [
|
|
135
195
|
"--from",
|
|
136
|
-
"python-hwpx-automation[mcp]==
|
|
196
|
+
"python-hwpx-automation[mcp]==8.0.0",
|
|
137
197
|
"hwpx-automation-mcp"
|
|
138
198
|
],
|
|
139
199
|
"env": {
|
|
@@ -144,28 +204,29 @@ Gemini CLI는 `~/.gemini/settings.json`, Cursor·Windsurf는 각 에디터의 MC
|
|
|
144
204
|
}
|
|
145
205
|
```
|
|
146
206
|
|
|
147
|
-
`HWPX_AUTOMATION_WORKSPACE_ROOTS`에는 문서가 있는 폴더(
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
막힙니다 — 처음부터 지정하는 것을 권장합니다. 나머지 옵션은
|
|
151
|
-
[환경 변수](#환경-변수) 표를 참고하세요.
|
|
207
|
+
`HWPX_AUTOMATION_WORKSPACE_ROOTS`에는 문서가 있는 폴더(절대 경로나 `~`)를 적으세요. Windows는 `"[\"C:\\\\hwpx\"]"`처럼
|
|
208
|
+
씁니다. 비워 두면 GUI 클라이언트가 서버를 시스템 폴더에서 띄우는 바람에 모든 문서 경로가 막히므로, 처음부터 적어 두기를
|
|
209
|
+
권합니다. 나머지 설정은 [환경 변수](#환경-변수)에 있습니다.
|
|
152
210
|
|
|
153
|
-
>
|
|
154
|
-
>
|
|
155
|
-
> 설치합니다. 요구 사항: `Python >= 3.10` · `python-hwpx >= 6.5.0`.
|
|
211
|
+
> PDF·DOCX·XLSX·HTML·TXT 같은 다른 형식을 `document_to_markdown`으로 읽으려면 `pip install "python-hwpx-automation[ingest]"`로
|
|
212
|
+
> MarkItDown 어댑터를 함께 설치합니다. 요구 사항: Python 3.10 이상, python-hwpx 7.0 이상.
|
|
156
213
|
|
|
157
|
-
|
|
158
|
-
|
|
214
|
+
예전 `hwpx-mcp-server` 배포판·import·명령·설정 키도 그대로 동작합니다. 전체 목록과 유지 규칙은
|
|
215
|
+
[호환 표면](https://github.com/airmang/python-hwpx-automation/blob/main/docs/compatibility-6x.md)에 있습니다.
|
|
159
216
|
|
|
160
217
|
### 작은 로컬 모델용 프로필
|
|
161
218
|
|
|
162
219
|
Ollama·Open WebUI의 27B급 모델처럼 도구가 많으면 길을 잃는 환경에서는
|
|
163
220
|
`hwpx-automation-mcp --profile minimal`(또는 `HWPX_AUTOMATION_PROFILE=minimal`)로
|
|
164
221
|
굵은 도구 여섯 개만 띄웁니다: `read_outline`(id 붙은 짧은 목록) →
|
|
165
|
-
`apply_text_changes`(`{id: 새 글}`, 서식
|
|
222
|
+
`apply_text_changes`(`{id: 새 글}`, 서식 유지 — 서식이 섞인 곳을 가로질러 첫 서식으로 다시 쓴 id는
|
|
223
|
+
`rewritten`, 칸 넘침은 `overflow`, 볼 것이 있으면 `reviewRequired`), `replace_text`,
|
|
166
224
|
`stage_text` → `create_from_markdown`, `validate_document`. 긴 본문은 도구 인수에
|
|
167
225
|
한 번에 싣지 않고 `stage_text`로 1,000자 안팎씩 나눠 보낸 뒤 `draft_id`로 넘깁니다.
|
|
168
|
-
|
|
226
|
+
`create_from_markdown`의 `byline`(200자까지)은 제목 아래 오른쪽에 쓰는 부서·날짜 줄입니다.
|
|
227
|
+
수정 도구의 결과에는 문서 본문을 싣지 않고(건수와 id만), 수정본은 기본으로 `<이름>.edited.hwpx`에
|
|
228
|
+
저장합니다. `read_outline`은 문단·표 칸마다 앞 200자까지 원문을 싣습니다(개인정보를 가리지 않습니다) —
|
|
229
|
+
문단이 짧은 문서는 본문 전체가 결과에 실립니다.
|
|
169
230
|
|
|
170
231
|
## 한컴으로 PDF 렌더하기
|
|
171
232
|
|
|
@@ -174,13 +235,13 @@ PDF와 쪽 PNG로 렌더합니다. 별도 환경에서 실행하므로 호출하
|
|
|
174
235
|
고정 버전을 건드리지 않습니다.
|
|
175
236
|
|
|
176
237
|
```bash
|
|
177
|
-
uvx --from "python-hwpx-automation[oracle]==
|
|
238
|
+
uvx --from "python-hwpx-automation[oracle]==8.0.0" \
|
|
178
239
|
hwpx render-pdf in.hwpx out.pdf --png out/page --json
|
|
179
240
|
```
|
|
180
241
|
|
|
181
|
-
JSON 결과·종료 코드·플랫폼 요구 사항: [render-pdf](docs/render-pdf.md)
|
|
242
|
+
JSON 결과·종료 코드·플랫폼 요구 사항: [render-pdf](https://github.com/airmang/python-hwpx-automation/blob/main/docs/render-pdf.md)
|
|
182
243
|
|
|
183
|
-
##
|
|
244
|
+
## MCP 도구
|
|
184
245
|
|
|
185
246
|
기본 모드에서 다수의 HWPX 도구를 제공하며, 고급 모드(`HWPX_AUTOMATION_ADVANCED=1`)에서 점검·검증용 도구가 추가됩니다.
|
|
186
247
|
|
|
@@ -191,11 +252,11 @@ JSON 결과·종료 코드·플랫폼 요구 사항: [render-pdf](docs/render-pd
|
|
|
191
252
|
- **서식·그림·생성기** — `set_paragraph_format`·`set_page_setup`, `insert_picture`, 사진대지·명패·조직도
|
|
192
253
|
- **프리뷰·추출·복구·진단** — `render_preview`(HTML/PNG 자기검증), `hwpx_to_markdown`, `repair_hwpx`, `mcp_server_health`
|
|
193
254
|
|
|
194
|
-
자세한 내용: [사용 사례](docs/use-cases.md) · [스킬 우선 워크플로](docs/skill-first-workflows.md)
|
|
255
|
+
자세한 내용: [사용 사례](https://github.com/airmang/python-hwpx-automation/blob/main/docs/use-cases.md) · [스킬 우선 워크플로](https://github.com/airmang/python-hwpx-automation/blob/main/docs/skill-first-workflows.md)
|
|
195
256
|
|
|
196
257
|
## 안전하게 쓰는 법
|
|
197
258
|
|
|
198
|
-
처음부터 모든 도구를 외울 필요는 없습니다. 기존 문서 수정은 [조회·대상 확정·보존 저장·검증 안내](docs/existing-edit-navigation.md)를,
|
|
259
|
+
처음부터 모든 도구를 외울 필요는 없습니다. 기존 문서 수정은 [조회·대상 확정·보존 저장·검증 안내](https://github.com/airmang/python-hwpx-automation/blob/main/docs/existing-edit-navigation.md)를,
|
|
199
260
|
새 문서는 document-plan을 먼저 봅니다. 보통 이렇게 흘러갑니다.
|
|
200
261
|
|
|
201
262
|
1. **읽기** — `get_document_info` → `get_document_outline`/`get_document_text` → `find_text`, `get_table_map`으로 필요한 부분만 파악합니다. (저장하지 않음)
|
|
@@ -208,8 +269,8 @@ JSON 결과·종료 코드·플랫폼 요구 사항: [render-pdf](docs/render-pd
|
|
|
208
269
|
경로는 python-hwpx의 단일 `SavePipeline` 게이트를 통과해 무결성·XML·OPC/ID·
|
|
209
270
|
열림안전을 검사하고, 게이트가 실패하면 아무것도 쓰지 않습니다. capability
|
|
210
271
|
handshake는 core/automation/plugin 버전+해시 skew를 fail-closed로 차단합니다.
|
|
211
|
-
보안 상세: [하드닝 가이드](docs/hardening_guide_ko.md) · 옛 이름과의 호환
|
|
212
|
-
식별자: [호환 표면](docs/compatibility-6x.md)
|
|
272
|
+
보안 상세: [하드닝 가이드](https://github.com/airmang/python-hwpx-automation/blob/main/docs/hardening_guide_ko.md) · 옛 이름과의 호환
|
|
273
|
+
식별자: [호환 표면](https://github.com/airmang/python-hwpx-automation/blob/main/docs/compatibility-6x.md)
|
|
213
274
|
|
|
214
275
|
> **위치 계약** — `paragraph_index`는 본문 직속 문단의 0-based 인덱스입니다. 표 안 문단은 여기 섞지 않고
|
|
215
276
|
> `{"kind":"table_cell_paragraph","table_index":0,"row":0,"col":1,"cell_paragraph_index":0}` 같은 `location`
|
|
@@ -236,18 +297,29 @@ handshake는 core/automation/plugin 버전+해시 skew를 fail-closed로 차단
|
|
|
236
297
|
동일 suffix의 기존 `HWPX_MCP_*` 키는 fallback으로 유지되며, 두 키가
|
|
237
298
|
함께 있으면 `HWPX_AUTOMATION_*`이 우선합니다. render·workflow·oracle·plugin
|
|
238
299
|
연동용 보존 키 전체 목록과 workflow DB 경로 규칙은
|
|
239
|
-
[호환 표면](docs/compatibility-6x.md)에 있습니다.
|
|
300
|
+
[호환 표면](https://github.com/airmang/python-hwpx-automation/blob/main/docs/compatibility-6x.md)에 있습니다.
|
|
240
301
|
|
|
241
302
|
경로는 기본적으로 workspace 밖 traversal과 symlink escape를 거부하고, URL 입력은 HTTPS·공개 IP만
|
|
242
|
-
허용합니다. 원자 rename을 제공하지 않는 호스트의 동시성 주의사항은 [하드닝 가이드](docs/hardening_guide_ko.md)를 보세요.
|
|
303
|
+
허용합니다. 원자 rename을 제공하지 않는 호스트의 동시성 주의사항은 [하드닝 가이드](https://github.com/airmang/python-hwpx-automation/blob/main/docs/hardening_guide_ko.md)를 보세요.
|
|
304
|
+
|
|
305
|
+
## 릴리스 상태
|
|
306
|
+
|
|
307
|
+
<!-- release-state: release-approved -->
|
|
308
|
+
> [!NOTE]
|
|
309
|
+
> 발행이 승인된 8.0.1 후보 (release-approved; 원격 발행 대기): `python-hwpx 7.0.2 → python-hwpx-automation 8.0.1 → hwpx-plugin 8.0.1` (`c895883d5f4350ae`). 이 좌표는 `src/hwpx_automation/identity.json`의 `releaseState.candidate`와 같아야 합니다(`tests/test_audit_identity_docs.py`).
|
|
310
|
+
> 공개 트레인: `python-hwpx 7.0.0 → python-hwpx-automation 8.0.0 → hwpx-plugin 8.0.0`.
|
|
311
|
+
> [발행·설치 영수증](https://github.com/airmang/python-hwpx-automation/blob/main/docs/releases/2026-11-21-engine-7-automation-8.md)
|
|
312
|
+
> 공개 좌표는 core·automation PyPI와 plugin GitHub
|
|
313
|
+
> Release·marketplace·실제 marketplace 설치 관찰 후에만 승격합니다.
|
|
314
|
+
> [릴리스 runbook](https://github.com/airmang/python-hwpx-automation/blob/main/docs/release-runbook.md)
|
|
243
315
|
|
|
244
316
|
## 기여하기
|
|
245
317
|
|
|
246
318
|
[good first issue](https://github.com/airmang/python-hwpx-automation/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) ·
|
|
247
319
|
[마일스톤](https://github.com/airmang/python-hwpx-automation/milestones) ·
|
|
248
320
|
[Discussions](https://github.com/airmang/python-hwpx-automation/discussions) ·
|
|
249
|
-
[CONTRIBUTING](CONTRIBUTING.md) ·
|
|
250
|
-
[CHANGELOG](CHANGELOG.md)
|
|
321
|
+
[CONTRIBUTING](https://github.com/airmang/python-hwpx-automation/blob/main/CONTRIBUTING.md) ·
|
|
322
|
+
[CHANGELOG](https://github.com/airmang/python-hwpx-automation/blob/main/CHANGELOG.md)
|
|
251
323
|
|
|
252
324
|
```bash
|
|
253
325
|
python -m pip install -e ".[test]" # 테스트 의존성
|
|
@@ -266,4 +338,4 @@ python scripts/run_conformance.py run \
|
|
|
266
338
|
|
|
267
339
|
## License · Maintainer
|
|
268
340
|
|
|
269
|
-
Apache-2.0 ([LICENSE](LICENSE) · [NOTICE](NOTICE)) — **Kohkyuhyun** [@airmang](https://github.com/airmang) · [kokyuhyun@hotmail.com](mailto:kokyuhyun@hotmail.com)
|
|
341
|
+
Apache-2.0 ([LICENSE](https://github.com/airmang/python-hwpx-automation/blob/main/LICENSE) · [NOTICE](https://github.com/airmang/python-hwpx-automation/blob/main/NOTICE)) — **Kohkyuhyun** [@airmang](https://github.com/airmang) · [kokyuhyun@hotmail.com](mailto:kokyuhyun@hotmail.com)
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<h1 align="center">python-hwpx-automation</h1>
|
|
3
|
+
<p align="center">
|
|
4
|
+
<strong>python-hwpx 엔진 위에서 한/글 문서 일을 자동화하는 응용 패키지 · MCP 서버 · 에이전트 플러그인</strong>
|
|
5
|
+
</p>
|
|
6
|
+
<p align="center">
|
|
7
|
+
<a href="https://pypi.org/project/python-hwpx-automation/"><img src="https://img.shields.io/pypi/v/python-hwpx-automation?color=blue&label=PyPI" alt="PyPI"></a>
|
|
8
|
+
<a href="https://pepy.tech/project/python-hwpx-automation"><img src="https://static.pepy.tech/badge/python-hwpx-automation/month" alt="Downloads"></a>
|
|
9
|
+
<a href="https://pypi.org/project/python-hwpx-automation/"><img src="https://img.shields.io/pypi/pyversions/python-hwpx-automation" alt="Python"></a>
|
|
10
|
+
<a href="https://github.com/airmang/python-hwpx-automation/actions/workflows/tests.yml"><img src="https://img.shields.io/github/actions/workflow/status/airmang/python-hwpx-automation/tests.yml?branch=main&label=tests" alt="Tests"></a>
|
|
11
|
+
<a href="https://github.com/airmang/python-hwpx-automation/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue" alt="License"></a>
|
|
12
|
+
</p>
|
|
13
|
+
<p align="center">
|
|
14
|
+
<a href="https://github.com/airmang/python-hwpx-automation/blob/main/docs/use-cases.md">사용 사례</a>
|
|
15
|
+
· <a href="https://github.com/airmang/python-hwpx-automation/blob/main/docs/tool-contract.md">MCP 도구 계약</a>
|
|
16
|
+
· <a href="https://github.com/airmang/python-hwpx-automation/blob/main/docs/hardening_guide_ko.md">하드닝 가이드</a>
|
|
17
|
+
· <a href="https://github.com/airmang/python-hwpx-automation/blob/main/docs/compatibility-6x.md">호환 표면</a>
|
|
18
|
+
· <a href="https://github.com/airmang/python-hwpx-automation/blob/main/CHANGELOG.md">변경 기록</a>
|
|
19
|
+
</p>
|
|
20
|
+
</p>
|
|
21
|
+
|
|
22
|
+
[python-hwpx](https://github.com/airmang/python-hwpx)는 파일에 적힌 대로만 읽고 쓰는 엔진입니다. 정답이 하나로 정해지지
|
|
23
|
+
않는 일, 곧 다른 형식으로 바꾸기, 이름표로 양식 칸 찾기, 메일 머지, 보고서 서식, 미리보기, 한컴 렌더는 이 패키지가 맡습니다.
|
|
24
|
+
MCP 서버와 Claude Code·Codex 플러그인도 여기 있습니다. 한컴오피스 없이 Windows·macOS·Linux에서 돌아갑니다.
|
|
25
|
+
|
|
26
|
+
<p align="center">
|
|
27
|
+
<img src="https://raw.githubusercontent.com/airmang/python-hwpx/main/docs/assets/hancom-7.0-report.png" width="600" alt="이 패키지의 보고서 서식으로 만든 2026년 디지털 교육 운영 계획을 한컴오피스가 그린 쪽">
|
|
28
|
+
</p>
|
|
29
|
+
<p align="center"><sub>Markdown 원고를 <code>from_markdown(md, style="report")</code>로 만든 보고서. 한컴오피스 12.30.0이 그린 쪽입니다.</sub></p>
|
|
30
|
+
|
|
31
|
+
| | 저장소 | 역할 |
|
|
32
|
+
|---|---|---|
|
|
33
|
+
| 📦 | [`python-hwpx`](https://github.com/airmang/python-hwpx) | 한/글 문서를 읽고·고치고·만드는 엔진 |
|
|
34
|
+
| 🔌 | [`python-hwpx-automation`](https://github.com/airmang/python-hwpx-automation) | 변환·양식 채움·메일 머지·미리보기·보고서 서식, `hwpx` CLI, MCP 서버, Claude Code·Codex 플러그인 (이 저장소) |
|
|
35
|
+
| 🏫 | [`hwpx-school`](https://github.com/airmang/hwpx-school) | 학교 문서(지필평가 원안지·학습지·수행평가 문제지·보고서)를 학교 서식 그대로 만드는 도구 |
|
|
36
|
+
|
|
37
|
+
## 설치
|
|
38
|
+
|
|
39
|
+
쓰는 방식에 따라 고르세요.
|
|
40
|
+
|
|
41
|
+
| 쓰는 방식 | 설치 |
|
|
42
|
+
|---|---|
|
|
43
|
+
| Claude Code·Codex 같은 에이전트 | 아래 [플러그인](#에이전트에서-쓰기-claude-codecodex). pip 설치는 필요 없습니다 |
|
|
44
|
+
| 파이썬 코드 | `pip install -U python-hwpx-automation` (python-hwpx 7.0도 함께 설치됩니다) |
|
|
45
|
+
| 그 밖의 MCP 클라이언트 | `pip install -U "python-hwpx-automation[mcp]"` 후 [MCP 서버](#mcp-서버)로 등록 |
|
|
46
|
+
|
|
47
|
+
### 에이전트에서 쓰기 (Claude Code·Codex)
|
|
48
|
+
|
|
49
|
+
이 저장소 주소 하나로 플러그인을 설치합니다. 플러그인이 python-hwpx와 이 패키지를 검증한 판으로 설치하고,
|
|
50
|
+
MCP 도구와 작업 안내(스킬)를 함께 붙입니다. 미리 [uv](https://docs.astral.sh/uv/getting-started/installation/)가
|
|
51
|
+
설치되어 있어야 합니다.
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
# Claude Code
|
|
55
|
+
claude plugin marketplace add airmang/python-hwpx-automation
|
|
56
|
+
claude plugin install hwpx-plugin@hwpx
|
|
57
|
+
|
|
58
|
+
# Codex
|
|
59
|
+
codex plugin marketplace add airmang/python-hwpx-automation
|
|
60
|
+
codex plugin add hwpx-plugin@hwpx
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
에이전트에게 "https://github.com/airmang/python-hwpx-automation 플러그인을 설치해 줘"라고 부탁해도 됩니다.
|
|
64
|
+
플러그인은 새 세션부터 쓰입니다. 예전 주소 `airmang/hwpx-plugins`로 설치한 플러그인도 같은 번들을 받으므로
|
|
65
|
+
그대로 업데이트됩니다.
|
|
66
|
+
|
|
67
|
+
## 파이썬에서 쓰기
|
|
68
|
+
|
|
69
|
+
Markdown 원고를 보고서 서식의 한/글 문서로 만듭니다. 위 그림이 이렇게 만든 문서입니다.
|
|
70
|
+
|
|
71
|
+
```python
|
|
72
|
+
from hwpx_automation.markdown import from_markdown
|
|
73
|
+
|
|
74
|
+
md = """\
|
|
75
|
+
# 2026년 운영 계획
|
|
76
|
+
|
|
77
|
+
## 추진 배경
|
|
78
|
+
|
|
79
|
+
- 학생 1인 1기기 보급 완료
|
|
80
|
+
- 교사 연수 수요 증가
|
|
81
|
+
|
|
82
|
+
## 추진 일정
|
|
83
|
+
|
|
84
|
+
| 구분 | 기간 |
|
|
85
|
+
|---|---|
|
|
86
|
+
| 1단계 | 3월 ~ 6월 |
|
|
87
|
+
"""
|
|
88
|
+
doc = from_markdown(md, style="report", byline="2026. 3. 교육과정부")
|
|
89
|
+
doc.save("운영계획.hwpx")
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
python-hwpx 7.0에서 이 패키지로 옮겨 온 기능은 아래에 있습니다. 인자와 결과는 python-hwpx 6.x와 같습니다.
|
|
93
|
+
|
|
94
|
+
| 하는 일 | 모듈 |
|
|
95
|
+
|---|---|
|
|
96
|
+
| Markdown으로 문서 만들기, Markdown·HTML로 내보내기 | `hwpx_automation.markdown` |
|
|
97
|
+
| 이름표로 양식 칸 찾아 채우기, 글자로 적힌 선택 칸 | `hwpx_automation.forms` |
|
|
98
|
+
| 메일 머지 | `hwpx_automation.mail_merge` |
|
|
99
|
+
| 미리보기(HTML·PNG), 수식 그림 | `hwpx_automation.preview` |
|
|
100
|
+
| 서식 규칙 검사(명령 `hwpx-check-format`) | `hwpx_automation.format_rules` |
|
|
101
|
+
| 다른 형식 가져오기, LangChain·LlamaIndex | `hwpx_automation.ingest`, `hwpx_automation.integrations` |
|
|
102
|
+
| 표 정리·보고서 수치, 공문 표기·개인정보 검사 | `hwpx_automation.office.utilities`, `hwpx_automation.office.compliance` |
|
|
103
|
+
|
|
104
|
+
명령줄에서는 `hwpx help`(또는 `python -m hwpx_automation --help`)로 시작합니다.
|
|
105
|
+
|
|
106
|
+
## MCP 서버
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
pip install -U "python-hwpx-automation[mcp]"
|
|
110
|
+
hwpx-automation-mcp
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
MCP 클라이언트 설정 파일에 아래 블록 하나면 `hwpx` 서버를 잡습니다. Claude Desktop은 `claude_desktop_config.json`,
|
|
114
|
+
VS Code는 `.vscode/mcp.json`(키가 `mcpServers` 대신 `servers`), Gemini CLI는 `~/.gemini/settings.json`,
|
|
115
|
+
Cursor·Windsurf는 각 에디터의 MCP 설정 파일입니다.
|
|
116
|
+
|
|
117
|
+
```json
|
|
118
|
+
{
|
|
119
|
+
"mcpServers": {
|
|
120
|
+
"hwpx": {
|
|
121
|
+
"command": "uvx",
|
|
122
|
+
"args": [
|
|
123
|
+
"--from",
|
|
124
|
+
"python-hwpx-automation[mcp]==8.0.0",
|
|
125
|
+
"hwpx-automation-mcp"
|
|
126
|
+
],
|
|
127
|
+
"env": {
|
|
128
|
+
"HWPX_AUTOMATION_WORKSPACE_ROOTS": "[\"~/Documents\"]"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
`HWPX_AUTOMATION_WORKSPACE_ROOTS`에는 문서가 있는 폴더(절대 경로나 `~`)를 적으세요. Windows는 `"[\"C:\\\\hwpx\"]"`처럼
|
|
136
|
+
씁니다. 비워 두면 GUI 클라이언트가 서버를 시스템 폴더에서 띄우는 바람에 모든 문서 경로가 막히므로, 처음부터 적어 두기를
|
|
137
|
+
권합니다. 나머지 설정은 [환경 변수](#환경-변수)에 있습니다.
|
|
138
|
+
|
|
139
|
+
> PDF·DOCX·XLSX·HTML·TXT 같은 다른 형식을 `document_to_markdown`으로 읽으려면 `pip install "python-hwpx-automation[ingest]"`로
|
|
140
|
+
> MarkItDown 어댑터를 함께 설치합니다. 요구 사항: Python 3.10 이상, python-hwpx 7.0 이상.
|
|
141
|
+
|
|
142
|
+
예전 `hwpx-mcp-server` 배포판·import·명령·설정 키도 그대로 동작합니다. 전체 목록과 유지 규칙은
|
|
143
|
+
[호환 표면](https://github.com/airmang/python-hwpx-automation/blob/main/docs/compatibility-6x.md)에 있습니다.
|
|
144
|
+
|
|
145
|
+
### 작은 로컬 모델용 프로필
|
|
146
|
+
|
|
147
|
+
Ollama·Open WebUI의 27B급 모델처럼 도구가 많으면 길을 잃는 환경에서는
|
|
148
|
+
`hwpx-automation-mcp --profile minimal`(또는 `HWPX_AUTOMATION_PROFILE=minimal`)로
|
|
149
|
+
굵은 도구 여섯 개만 띄웁니다: `read_outline`(id 붙은 짧은 목록) →
|
|
150
|
+
`apply_text_changes`(`{id: 새 글}`, 서식 유지 — 서식이 섞인 곳을 가로질러 첫 서식으로 다시 쓴 id는
|
|
151
|
+
`rewritten`, 칸 넘침은 `overflow`, 볼 것이 있으면 `reviewRequired`), `replace_text`,
|
|
152
|
+
`stage_text` → `create_from_markdown`, `validate_document`. 긴 본문은 도구 인수에
|
|
153
|
+
한 번에 싣지 않고 `stage_text`로 1,000자 안팎씩 나눠 보낸 뒤 `draft_id`로 넘깁니다.
|
|
154
|
+
`create_from_markdown`의 `byline`(200자까지)은 제목 아래 오른쪽에 쓰는 부서·날짜 줄입니다.
|
|
155
|
+
수정 도구의 결과에는 문서 본문을 싣지 않고(건수와 id만), 수정본은 기본으로 `<이름>.edited.hwpx`에
|
|
156
|
+
저장합니다. `read_outline`은 문단·표 칸마다 앞 200자까지 원문을 싣습니다(개인정보를 가리지 않습니다) —
|
|
157
|
+
문단이 짧은 문서는 본문 전체가 결과에 실립니다.
|
|
158
|
+
|
|
159
|
+
## 한컴으로 PDF 렌더하기
|
|
160
|
+
|
|
161
|
+
한컴(macOS 한컴오피스 한글 또는 Windows 한글 COM)이 있는 컴퓨터에서 문서 하나를
|
|
162
|
+
PDF와 쪽 PNG로 렌더합니다. 별도 환경에서 실행하므로 호출하는 쪽의 python-hwpx
|
|
163
|
+
고정 버전을 건드리지 않습니다.
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
uvx --from "python-hwpx-automation[oracle]==8.0.0" \
|
|
167
|
+
hwpx render-pdf in.hwpx out.pdf --png out/page --json
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
JSON 결과·종료 코드·플랫폼 요구 사항: [render-pdf](https://github.com/airmang/python-hwpx-automation/blob/main/docs/render-pdf.md)
|
|
171
|
+
|
|
172
|
+
## MCP 도구
|
|
173
|
+
|
|
174
|
+
기본 모드에서 다수의 HWPX 도구를 제공하며, 고급 모드(`HWPX_AUTOMATION_ADVANCED=1`)에서 점검·검증용 도구가 추가됩니다.
|
|
175
|
+
|
|
176
|
+
- **읽기·탐색** — `get_document_info`, `get_document_map`(아웃라인·표 지도·앵커를 한 호출로), `find_text` (저장하지 않음)
|
|
177
|
+
- **검색·치환·편집** — `search_and_replace`, `apply_document_commands`(이종 편집 원자 적용·dry-run·롤백·멱등키), `add_tracked_edit`(변경 추적)
|
|
178
|
+
- **표·양식 채움** — `analyze_form_fill` → `apply_form_fill` → `verify_form_fill` 바이트 보존 트랜잭션, `table_compute`(합계·소계)
|
|
179
|
+
- **문서 생성·공문** — 선언형 `create_document_from_plan`, `inspect_official_document_style`(행정 규정 lint), `mail_merge`
|
|
180
|
+
- **서식·그림·생성기** — `set_paragraph_format`·`set_page_setup`, `insert_picture`, 사진대지·명패·조직도
|
|
181
|
+
- **프리뷰·추출·복구·진단** — `render_preview`(HTML/PNG 자기검증), `hwpx_to_markdown`, `repair_hwpx`, `mcp_server_health`
|
|
182
|
+
|
|
183
|
+
자세한 내용: [사용 사례](https://github.com/airmang/python-hwpx-automation/blob/main/docs/use-cases.md) · [스킬 우선 워크플로](https://github.com/airmang/python-hwpx-automation/blob/main/docs/skill-first-workflows.md)
|
|
184
|
+
|
|
185
|
+
## 안전하게 쓰는 법
|
|
186
|
+
|
|
187
|
+
처음부터 모든 도구를 외울 필요는 없습니다. 기존 문서 수정은 [조회·대상 확정·보존 저장·검증 안내](https://github.com/airmang/python-hwpx-automation/blob/main/docs/existing-edit-navigation.md)를,
|
|
188
|
+
새 문서는 document-plan을 먼저 봅니다. 보통 이렇게 흘러갑니다.
|
|
189
|
+
|
|
190
|
+
1. **읽기** — `get_document_info` → `get_document_outline`/`get_document_text` → `find_text`, `get_table_map`으로 필요한 부분만 파악합니다. (저장하지 않음)
|
|
191
|
+
2. **안전 수정** — `copy_document`로 사본을 만들고, 가장 작은 변경(`search_and_replace`, `set_table_cell_text`, `apply_document_commands`)을 적용한 뒤 다시 읽어 확인하고, 검토가 끝난 사본을 전달합니다.
|
|
192
|
+
|
|
193
|
+
핵심은 **copy first · smallest edit · re-read after edits**입니다. 수정 도구는
|
|
194
|
+
호출 즉시 저장되므로 검토용 작업은 반드시 사본에서 하세요.
|
|
195
|
+
|
|
196
|
+
모델은 operation/plan만 보내고 raw XML을 직접 편집하지 않습니다. 일반 저장
|
|
197
|
+
경로는 python-hwpx의 단일 `SavePipeline` 게이트를 통과해 무결성·XML·OPC/ID·
|
|
198
|
+
열림안전을 검사하고, 게이트가 실패하면 아무것도 쓰지 않습니다. capability
|
|
199
|
+
handshake는 core/automation/plugin 버전+해시 skew를 fail-closed로 차단합니다.
|
|
200
|
+
보안 상세: [하드닝 가이드](https://github.com/airmang/python-hwpx-automation/blob/main/docs/hardening_guide_ko.md) · 옛 이름과의 호환
|
|
201
|
+
식별자: [호환 표면](https://github.com/airmang/python-hwpx-automation/blob/main/docs/compatibility-6x.md)
|
|
202
|
+
|
|
203
|
+
> **위치 계약** — `paragraph_index`는 본문 직속 문단의 0-based 인덱스입니다. 표 안 문단은 여기 섞지 않고
|
|
204
|
+
> `{"kind":"table_cell_paragraph","table_index":0,"row":0,"col":1,"cell_paragraph_index":0}` 같은 `location`
|
|
205
|
+
> 객체로 지정하며, `find_text`가 반환한 값을 그대로 넘길 수 있습니다. `get_table_map`은 기본(`detail="compact"`)으로
|
|
206
|
+
> 실제 칸만 한 번씩 싣고(병합은 `row_span`/`col_span`) 위치는 응답의 `cell_paragraph_location` 틀에 `table_index`·`row`·`col`을
|
|
207
|
+
> 넣어 만듭니다. 칸마다 `location`이 든 이전 형태는 `detail="full"`로 받습니다.
|
|
208
|
+
|
|
209
|
+
## 환경 변수
|
|
210
|
+
|
|
211
|
+
| 변수 | 설명 | 기본값 |
|
|
212
|
+
|---|---|---|
|
|
213
|
+
| `HWPX_AUTOMATION_WORKSPACE_ROOTS` | 허용할 workspace 절대경로의 JSON 배열(복수 root 지원). 상대경로는 첫 root 기준 | unset → 프로세스 cwd. degenerate cwd는 `WORKSPACE_ROOT_INVALID`로 거부 |
|
|
214
|
+
| `HWPX_AUTOMATION_MAX_CHARS` | 텍스트 반환 도구 기본 최대 길이 | `10000` |
|
|
215
|
+
| `HWPX_AUTOMATION_AUTOBACKUP` | `1`이면 저장 전 `.bak` 백업 생성 | `1` |
|
|
216
|
+
| `HWPX_AUTOMATION_ADVANCED` | `1`이면 고급 도구 활성화 | `0` |
|
|
217
|
+
| `HWPX_AUTOMATION_PROFILE` | `minimal`이면 작은 로컬 모델용 도구 6개만 제공(`--profile`과 같음) | `full` |
|
|
218
|
+
| `HWPX_AUTOMATION_FETCH_TIMEOUT_SECONDS` | URL 기반 HWPX fetch timeout | `20.0` |
|
|
219
|
+
| `HWPX_AUTOMATION_ALLOW_PRIVATE_NETWORK` | `1`이면 신뢰된 사설/루프백 HTTPS 대상 허용. 링크로컬·metadata·예약 주소는 계속 차단 | `0` |
|
|
220
|
+
| `HWPX_AUTOMATION_QUALITY` | 전역 기본 저장 게이트 정책(`transparent`/`strict`). 도구별 `quality`가 우선 | `transparent` |
|
|
221
|
+
| `HWPX_AUTOMATION_REQUIRE_CAPABILITY` | `0`이면 capability skew fail-closed를 끔(진단/전문가용) | `1` |
|
|
222
|
+
| `HWPX_AUTOMATION_WORKFLOW_STORE` | durable workflow SQLite 경로. 기존 `HWPX_WORKFLOW_STORE`보다 우선 | 기존 6.x 상태 경로 |
|
|
223
|
+
| `LOG_LEVEL` | 로그 레벨 | `INFO` |
|
|
224
|
+
|
|
225
|
+
동일 suffix의 기존 `HWPX_MCP_*` 키는 fallback으로 유지되며, 두 키가
|
|
226
|
+
함께 있으면 `HWPX_AUTOMATION_*`이 우선합니다. render·workflow·oracle·plugin
|
|
227
|
+
연동용 보존 키 전체 목록과 workflow DB 경로 규칙은
|
|
228
|
+
[호환 표면](https://github.com/airmang/python-hwpx-automation/blob/main/docs/compatibility-6x.md)에 있습니다.
|
|
229
|
+
|
|
230
|
+
경로는 기본적으로 workspace 밖 traversal과 symlink escape를 거부하고, URL 입력은 HTTPS·공개 IP만
|
|
231
|
+
허용합니다. 원자 rename을 제공하지 않는 호스트의 동시성 주의사항은 [하드닝 가이드](https://github.com/airmang/python-hwpx-automation/blob/main/docs/hardening_guide_ko.md)를 보세요.
|
|
232
|
+
|
|
233
|
+
## 릴리스 상태
|
|
234
|
+
|
|
235
|
+
<!-- release-state: release-approved -->
|
|
236
|
+
> [!NOTE]
|
|
237
|
+
> 발행이 승인된 8.0.1 후보 (release-approved; 원격 발행 대기): `python-hwpx 7.0.2 → python-hwpx-automation 8.0.1 → hwpx-plugin 8.0.1` (`c895883d5f4350ae`). 이 좌표는 `src/hwpx_automation/identity.json`의 `releaseState.candidate`와 같아야 합니다(`tests/test_audit_identity_docs.py`).
|
|
238
|
+
> 공개 트레인: `python-hwpx 7.0.0 → python-hwpx-automation 8.0.0 → hwpx-plugin 8.0.0`.
|
|
239
|
+
> [발행·설치 영수증](https://github.com/airmang/python-hwpx-automation/blob/main/docs/releases/2026-11-21-engine-7-automation-8.md)
|
|
240
|
+
> 공개 좌표는 core·automation PyPI와 plugin GitHub
|
|
241
|
+
> Release·marketplace·실제 marketplace 설치 관찰 후에만 승격합니다.
|
|
242
|
+
> [릴리스 runbook](https://github.com/airmang/python-hwpx-automation/blob/main/docs/release-runbook.md)
|
|
243
|
+
|
|
244
|
+
## 기여하기
|
|
245
|
+
|
|
246
|
+
[good first issue](https://github.com/airmang/python-hwpx-automation/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) ·
|
|
247
|
+
[마일스톤](https://github.com/airmang/python-hwpx-automation/milestones) ·
|
|
248
|
+
[Discussions](https://github.com/airmang/python-hwpx-automation/discussions) ·
|
|
249
|
+
[CONTRIBUTING](https://github.com/airmang/python-hwpx-automation/blob/main/CONTRIBUTING.md) ·
|
|
250
|
+
[CHANGELOG](https://github.com/airmang/python-hwpx-automation/blob/main/CHANGELOG.md)
|
|
251
|
+
|
|
252
|
+
```bash
|
|
253
|
+
python -m pip install -e ".[test]" # 테스트 의존성
|
|
254
|
+
python -m pytest -q # 전체 테스트
|
|
255
|
+
python scripts/run_conformance.py run \
|
|
256
|
+
--tier structural --check tests/conformance/golden/structural.json
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
## 감사의 말
|
|
260
|
+
|
|
261
|
+
코어 라이브러리 [python-hwpx](https://github.com/airmang/python-hwpx) 위에서 동작하며, 아래 공개 표준·프로젝트에 빚지고 있습니다.
|
|
262
|
+
|
|
263
|
+
- **[OWPML — 개방형 워드프로세서 마크업 언어 (KS X 6101)](https://www.kssn.net/search/stddetail.do?itemNo=K001010119985)** — HWPX가 기반하는 한국 산업 표준
|
|
264
|
+
- **[hancom-io/hwpx-owpml-model](https://github.com/hancom-io/hwpx-owpml-model)** — OWPML 요소 구조 참조 모델 · **[neolord0/hwpxlib](https://github.com/neolord0/hwpxlib)** — 오라클 샘플 코퍼스
|
|
265
|
+
- **[edwardkim/rhwp](https://github.com/edwardkim/rhwp)** — 멱등성·검증 게이트 설계 영감
|
|
266
|
+
|
|
267
|
+
## License · Maintainer
|
|
268
|
+
|
|
269
|
+
Apache-2.0 ([LICENSE](https://github.com/airmang/python-hwpx-automation/blob/main/LICENSE) · [NOTICE](https://github.com/airmang/python-hwpx-automation/blob/main/NOTICE)) — **Kohkyuhyun** [@airmang](https://github.com/airmang) · [kokyuhyun@hotmail.com](mailto:kokyuhyun@hotmail.com)
|