python-hwpx-automation 8.0.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-8.0.0/src/python_hwpx_automation.egg-info → python_hwpx_automation-8.0.1}/PKG-INFO +120 -61
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/README.md +118 -59
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/pyproject.toml +8 -3
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/content.py +33 -15
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/search.py +5 -18
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/transactions.py +17 -45
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/errors.py +34 -4
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/form_fill.py +6 -1
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/_shared.py +3 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/authoring.py +13 -2
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/layout_style.py +6 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/read_export.py +64 -2
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/specialized.py +202 -33
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/tracked_changes.py +5 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/identity.json +12 -12
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/mail_merge.py +96 -3
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/markdown/__init__.py +47 -9
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/markdown/_import.py +64 -7
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/markdown/_plain_export.py +5 -2
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/markdown_plan.py +36 -1
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/minimal_profile.py +4 -2
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/mixed_form.py +207 -44
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/_batch_publication.py +22 -4
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/_batch_verification.py +18 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/blueprint/replay.py +2 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/__init__.py +401 -35
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/builder/core.py +10 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/compact/__init__.py +36 -6
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/document_ops/mail_merge.py +4 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/evalplan/runtime.py +482 -14
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/exam/compose.py +6 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/quality.py +42 -10
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/cli.py +5 -2
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/mac_session.py +9 -84
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/oracle.py +218 -6
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/worker.py +13 -6
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/context.py +31 -2
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/form_fields.py +3 -2
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/package_validation.py +2 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/save_policy.py +6 -1
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/transactions.py +4 -4
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/quality.py +13 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/runtime.py +75 -7
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/storage.py +91 -6
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/upstream.py +22 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workspace.py +140 -1
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1/src/python_hwpx_automation.egg-info}/PKG-INFO +120 -61
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/python_hwpx_automation.egg-info/requires.txt +1 -1
- python_hwpx_automation-8.0.0/MANIFEST.in +0 -2
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/LICENSE +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/NOTICE +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/setup.cfg +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/__init__.pyi +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/__main__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/agent_document.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/api.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/blind_eval.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/capabilities.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/compat.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/configuration.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/context.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/diff.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/document.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/formatting.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/handles.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/locations.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/locator.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/plan.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/resources.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/core/txn.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/document_state.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/execution_lock.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/fastmcp_adapter.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/form_output_models.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/format_rules.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/forms/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/forms/choices.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/forms/labels.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/agent_document.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/content_edit.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/form_fill.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/quality_render.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/handlers/workflow.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/hwp_converter.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/hwp_support.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/hwpx_ops.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/identity.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ingest/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ingest/_types.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ingest/adapters.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ingest/base.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ingest/hwpx_converter.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ingest_adapters.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/integrations/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/integrations/langchain.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/integrations/llama_index.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/markdown/_export.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/mcp_cli.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/metadata/tools_meta.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/mutation_models.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/network_policy.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/_text_scope.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/blueprint/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/blueprint/bundle.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/blueprint/catalog.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/blueprint/dump.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/blueprint/mapping.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/blueprint/model.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/blueprint/native.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/catalog.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/cli.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/commands.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/document.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/form_plan.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/model.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/path.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/query.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/agent/story.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/advanced_generators.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/builder/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/builder/report.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/_support.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/composer.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/harvest.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/marked.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/plan.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/profile.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/profiles/application_form/fragments.hwpx +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/profiles/application_form/profile.json +0 -0
- {python_hwpx_automation-8.0.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.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/profiles/home_notice/fragments.hwpx +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/profiles/home_notice/profile.json +0 -0
- {python_hwpx_automation-8.0.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.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/profiles/official_notice/fragments.hwpx +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/profiles/official_notice/profile.json +0 -0
- {python_hwpx_automation-8.0.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.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/profiles/report/fragments.hwpx +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/profiles/report/profile.json +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/profiles/report/template.hwpx +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/design/validator.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/presets/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/presets/proposal.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/report_parser.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/style_profile.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/authoring/template_analyzer.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/charting/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/compliance/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/compliance/official_lint.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/compliance/pii.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/compliance/reference_consistency.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/document_ops/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/document_ops/comparison.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/document_ops/redline.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/evalplan/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/exam/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/exam/ir.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/exam/measure.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/exam/parser.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/exam/profile.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/classification.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/fill_residue.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/fit/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/fit/apply.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/fit/engine.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/fit/measure.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/fit/policy.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/fit/report.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/fit/seal.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/fit/wordbox.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/guidance.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/split_run.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/form_fill/template_formfit.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/house_style/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/house_style/composition.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/house_style/data/bank.json +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/house_style/data/genres.json +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/house_style/gianmun.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/house_style/org_chart.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/quality/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/quality/page_guard.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/__main__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/_hancom_alerts_mac.applescript +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/_hancom_open_rate.ps1 +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/_refresh_hwpx_mac.applescript +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/_render_hwpx.ps1 +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/_render_hwpx_mac.applescript +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/block_splits.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/detectors.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/diff.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/fixture_corpus.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/page_qa.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/qa_contracts.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/rendering/qa_metrics.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/utilities/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/utilities/report_utils.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/utilities/table_cleanup.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/office/utilities/table_compute.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/_border_fill.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/composition.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/content_layout.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/media.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/memo_style.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/planning.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/preview_export.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/read_query.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/ops_services/tables.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/preview/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/preview/document_viewer.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/preview/equation_render.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/preview/layout_preview.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/preview/mathml.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/preview_output_models.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/public-modules.json +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/py.typed +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/quality_generation.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/resources.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/runtime_services.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/save_dates.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/server.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/tool_bindings.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/tool_contract.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/utils/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/utils/helpers.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/utils/read_budget.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/visual_qa.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/__init__.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/adapters.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/dispatcher.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/evidence_lineage.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/models.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/policy.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/render_contracts.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/render_metrics.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/render_queue.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/render_security.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/render_transport.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/rendering.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/service.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/state_machine.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/hwpx_automation/workflow/store.py +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/python_hwpx_automation.egg-info/SOURCES.txt +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/python_hwpx_automation.egg-info/dependency_links.txt +0 -0
- {python_hwpx_automation-8.0.0 → python_hwpx_automation-8.0.1}/src/python_hwpx_automation.egg-info/entry_points.txt +0 -0
- {python_hwpx_automation-8.0.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: 8.0.
|
|
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,7 +20,7 @@ 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<8,>=7.0
|
|
23
|
+
Requires-Dist: python-hwpx<8,>=7.0.2
|
|
24
24
|
Requires-Dist: pydantic<3,>=2.11
|
|
25
25
|
Requires-Dist: tomli>=2.0; python_version < "3.11"
|
|
26
26
|
Provides-Extra: mcp
|
|
@@ -73,7 +73,7 @@ Dynamic: license-file
|
|
|
73
73
|
<p align="center">
|
|
74
74
|
<h1 align="center">python-hwpx-automation</h1>
|
|
75
75
|
<p align="center">
|
|
76
|
-
<strong>
|
|
76
|
+
<strong>python-hwpx 엔진 위에서 한/글 문서 일을 자동화하는 응용 패키지 · MCP 서버 · 에이전트 플러그인</strong>
|
|
77
77
|
</p>
|
|
78
78
|
<p align="center">
|
|
79
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>
|
|
@@ -82,61 +82,109 @@ Dynamic: license-file
|
|
|
82
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>
|
|
83
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>
|
|
84
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>
|
|
85
92
|
</p>
|
|
86
93
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
> [!NOTE]
|
|
91
|
-
> 발행이 승인된 8.0.0 후보 (release-approved; 원격 발행 대기): `python-hwpx 7.0.0 → python-hwpx-automation 8.0.0 → hwpx-plugin 8.0.0` (`c895883d5f4350ae`). 이 좌표는 `src/hwpx_automation/identity.json`의 `releaseState.candidate`와 같아야 합니다(`tests/test_audit_identity_docs.py`).
|
|
92
|
-
> 공개 트레인: `python-hwpx 6.6.0 → python-hwpx-automation 7.3.1 → hwpx-plugin 2.4.0`.
|
|
93
|
-
> 공개 좌표는 core·automation PyPI와 plugin GitHub
|
|
94
|
-
> Release·marketplace·실제 marketplace 설치 관찰 후에만 승격합니다.
|
|
94
|
+
[python-hwpx](https://github.com/airmang/python-hwpx)는 파일에 적힌 대로만 읽고 쓰는 엔진입니다. 정답이 하나로 정해지지
|
|
95
|
+
않는 일, 곧 다른 형식으로 바꾸기, 이름표로 양식 칸 찾기, 메일 머지, 보고서 서식, 미리보기, 한컴 렌더는 이 패키지가 맡습니다.
|
|
96
|
+
MCP 서버와 Claude Code·Codex 플러그인도 여기 있습니다. 한컴오피스 없이 Windows·macOS·Linux에서 돌아갑니다.
|
|
95
97
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
`[mcp]` extra로 더합니다. 한컴오피스도 Windows도 필요 없으므로 **파이썬이 도는
|
|
101
|
-
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>
|
|
102
102
|
|
|
103
103
|
| | 저장소 | 역할 |
|
|
104
104
|
|---|---|---|
|
|
105
|
-
| 📦 | [`python-hwpx`](https://github.com/airmang/python-hwpx) |
|
|
106
|
-
| 🔌 | [`python-hwpx-automation`](https://github.com/airmang/python-hwpx-automation) |
|
|
107
|
-
|
|
|
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-서버)로 등록 |
|
|
108
118
|
|
|
109
|
-
|
|
119
|
+
### 에이전트에서 쓰기 (Claude Code·Codex)
|
|
120
|
+
|
|
121
|
+
이 저장소 주소 하나로 플러그인을 설치합니다. 플러그인이 python-hwpx와 이 패키지를 검증한 판으로 설치하고,
|
|
122
|
+
MCP 도구와 작업 안내(스킬)를 함께 붙입니다. 미리 [uv](https://docs.astral.sh/uv/getting-started/installation/)가
|
|
123
|
+
설치되어 있어야 합니다.
|
|
110
124
|
|
|
111
125
|
```bash
|
|
112
|
-
|
|
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
|
|
113
133
|
```
|
|
114
134
|
|
|
135
|
+
에이전트에게 "https://github.com/airmang/python-hwpx-automation 플러그인을 설치해 줘"라고 부탁해도 됩니다.
|
|
136
|
+
플러그인은 새 세션부터 쓰입니다. 예전 주소 `airmang/hwpx-plugins`로 설치한 플러그인도 같은 번들을 받으므로
|
|
137
|
+
그대로 업데이트됩니다.
|
|
138
|
+
|
|
139
|
+
## 파이썬에서 쓰기
|
|
140
|
+
|
|
141
|
+
Markdown 원고를 보고서 서식의 한/글 문서로 만듭니다. 위 그림이 이렇게 만든 문서입니다.
|
|
142
|
+
|
|
115
143
|
```python
|
|
116
|
-
from hwpx_automation import
|
|
144
|
+
from hwpx_automation.markdown import from_markdown
|
|
117
145
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
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")
|
|
126
162
|
```
|
|
127
163
|
|
|
128
|
-
|
|
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` |
|
|
129
175
|
|
|
130
|
-
|
|
176
|
+
명령줄에서는 `hwpx help`(또는 `python -m hwpx_automation --help`)로 시작합니다.
|
|
177
|
+
|
|
178
|
+
## MCP 서버
|
|
131
179
|
|
|
132
180
|
```bash
|
|
133
|
-
pip install "python-hwpx-automation[mcp]"
|
|
181
|
+
pip install -U "python-hwpx-automation[mcp]"
|
|
134
182
|
hwpx-automation-mcp
|
|
135
183
|
```
|
|
136
184
|
|
|
137
|
-
MCP 클라이언트 설정 파일에 아래 블록 하나면 `hwpx` 서버를
|
|
138
|
-
|
|
139
|
-
|
|
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 설정 파일입니다.
|
|
140
188
|
|
|
141
189
|
```json
|
|
142
190
|
{
|
|
@@ -145,7 +193,7 @@ Gemini CLI는 `~/.gemini/settings.json`, Cursor·Windsurf는 각 에디터의 MC
|
|
|
145
193
|
"command": "uvx",
|
|
146
194
|
"args": [
|
|
147
195
|
"--from",
|
|
148
|
-
"python-hwpx-automation[mcp]==
|
|
196
|
+
"python-hwpx-automation[mcp]==8.0.0",
|
|
149
197
|
"hwpx-automation-mcp"
|
|
150
198
|
],
|
|
151
199
|
"env": {
|
|
@@ -156,29 +204,29 @@ Gemini CLI는 `~/.gemini/settings.json`, Cursor·Windsurf는 각 에디터의 MC
|
|
|
156
204
|
}
|
|
157
205
|
```
|
|
158
206
|
|
|
159
|
-
`HWPX_AUTOMATION_WORKSPACE_ROOTS`에는 문서가 있는 폴더(
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
막힙니다 — 처음부터 지정하는 것을 권장합니다. 나머지 옵션은
|
|
163
|
-
[환경 변수](#환경-변수) 표를 참고하세요.
|
|
207
|
+
`HWPX_AUTOMATION_WORKSPACE_ROOTS`에는 문서가 있는 폴더(절대 경로나 `~`)를 적으세요. Windows는 `"[\"C:\\\\hwpx\"]"`처럼
|
|
208
|
+
씁니다. 비워 두면 GUI 클라이언트가 서버를 시스템 폴더에서 띄우는 바람에 모든 문서 경로가 막히므로, 처음부터 적어 두기를
|
|
209
|
+
권합니다. 나머지 설정은 [환경 변수](#환경-변수)에 있습니다.
|
|
164
210
|
|
|
165
|
-
>
|
|
166
|
-
>
|
|
167
|
-
> 설치합니다. 요구 사항: `Python >= 3.10` · `python-hwpx >= 7.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 이상.
|
|
168
213
|
|
|
169
|
-
|
|
170
|
-
|
|
214
|
+
예전 `hwpx-mcp-server` 배포판·import·명령·설정 키도 그대로 동작합니다. 전체 목록과 유지 규칙은
|
|
215
|
+
[호환 표면](https://github.com/airmang/python-hwpx-automation/blob/main/docs/compatibility-6x.md)에 있습니다.
|
|
171
216
|
|
|
172
217
|
### 작은 로컬 모델용 프로필
|
|
173
218
|
|
|
174
219
|
Ollama·Open WebUI의 27B급 모델처럼 도구가 많으면 길을 잃는 환경에서는
|
|
175
220
|
`hwpx-automation-mcp --profile minimal`(또는 `HWPX_AUTOMATION_PROFILE=minimal`)로
|
|
176
221
|
굵은 도구 여섯 개만 띄웁니다: `read_outline`(id 붙은 짧은 목록) →
|
|
177
|
-
`apply_text_changes`(`{id: 새 글}`, 서식
|
|
222
|
+
`apply_text_changes`(`{id: 새 글}`, 서식 유지 — 서식이 섞인 곳을 가로질러 첫 서식으로 다시 쓴 id는
|
|
223
|
+
`rewritten`, 칸 넘침은 `overflow`, 볼 것이 있으면 `reviewRequired`), `replace_text`,
|
|
178
224
|
`stage_text` → `create_from_markdown`, `validate_document`. 긴 본문은 도구 인수에
|
|
179
225
|
한 번에 싣지 않고 `stage_text`로 1,000자 안팎씩 나눠 보낸 뒤 `draft_id`로 넘깁니다.
|
|
180
226
|
`create_from_markdown`의 `byline`(200자까지)은 제목 아래 오른쪽에 쓰는 부서·날짜 줄입니다.
|
|
181
|
-
결과에는 문서 본문을 싣지
|
|
227
|
+
수정 도구의 결과에는 문서 본문을 싣지 않고(건수와 id만), 수정본은 기본으로 `<이름>.edited.hwpx`에
|
|
228
|
+
저장합니다. `read_outline`은 문단·표 칸마다 앞 200자까지 원문을 싣습니다(개인정보를 가리지 않습니다) —
|
|
229
|
+
문단이 짧은 문서는 본문 전체가 결과에 실립니다.
|
|
182
230
|
|
|
183
231
|
## 한컴으로 PDF 렌더하기
|
|
184
232
|
|
|
@@ -191,9 +239,9 @@ uvx --from "python-hwpx-automation[oracle]==8.0.0" \
|
|
|
191
239
|
hwpx render-pdf in.hwpx out.pdf --png out/page --json
|
|
192
240
|
```
|
|
193
241
|
|
|
194
|
-
JSON 결과·종료 코드·플랫폼 요구 사항: [render-pdf](docs/render-pdf.md)
|
|
242
|
+
JSON 결과·종료 코드·플랫폼 요구 사항: [render-pdf](https://github.com/airmang/python-hwpx-automation/blob/main/docs/render-pdf.md)
|
|
195
243
|
|
|
196
|
-
##
|
|
244
|
+
## MCP 도구
|
|
197
245
|
|
|
198
246
|
기본 모드에서 다수의 HWPX 도구를 제공하며, 고급 모드(`HWPX_AUTOMATION_ADVANCED=1`)에서 점검·검증용 도구가 추가됩니다.
|
|
199
247
|
|
|
@@ -204,11 +252,11 @@ JSON 결과·종료 코드·플랫폼 요구 사항: [render-pdf](docs/render-pd
|
|
|
204
252
|
- **서식·그림·생성기** — `set_paragraph_format`·`set_page_setup`, `insert_picture`, 사진대지·명패·조직도
|
|
205
253
|
- **프리뷰·추출·복구·진단** — `render_preview`(HTML/PNG 자기검증), `hwpx_to_markdown`, `repair_hwpx`, `mcp_server_health`
|
|
206
254
|
|
|
207
|
-
자세한 내용: [사용 사례](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)
|
|
208
256
|
|
|
209
257
|
## 안전하게 쓰는 법
|
|
210
258
|
|
|
211
|
-
처음부터 모든 도구를 외울 필요는 없습니다. 기존 문서 수정은 [조회·대상 확정·보존 저장·검증 안내](docs/existing-edit-navigation.md)를,
|
|
259
|
+
처음부터 모든 도구를 외울 필요는 없습니다. 기존 문서 수정은 [조회·대상 확정·보존 저장·검증 안내](https://github.com/airmang/python-hwpx-automation/blob/main/docs/existing-edit-navigation.md)를,
|
|
212
260
|
새 문서는 document-plan을 먼저 봅니다. 보통 이렇게 흘러갑니다.
|
|
213
261
|
|
|
214
262
|
1. **읽기** — `get_document_info` → `get_document_outline`/`get_document_text` → `find_text`, `get_table_map`으로 필요한 부분만 파악합니다. (저장하지 않음)
|
|
@@ -221,8 +269,8 @@ JSON 결과·종료 코드·플랫폼 요구 사항: [render-pdf](docs/render-pd
|
|
|
221
269
|
경로는 python-hwpx의 단일 `SavePipeline` 게이트를 통과해 무결성·XML·OPC/ID·
|
|
222
270
|
열림안전을 검사하고, 게이트가 실패하면 아무것도 쓰지 않습니다. capability
|
|
223
271
|
handshake는 core/automation/plugin 버전+해시 skew를 fail-closed로 차단합니다.
|
|
224
|
-
보안 상세: [하드닝 가이드](docs/hardening_guide_ko.md) · 옛 이름과의 호환
|
|
225
|
-
식별자: [호환 표면](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)
|
|
226
274
|
|
|
227
275
|
> **위치 계약** — `paragraph_index`는 본문 직속 문단의 0-based 인덱스입니다. 표 안 문단은 여기 섞지 않고
|
|
228
276
|
> `{"kind":"table_cell_paragraph","table_index":0,"row":0,"col":1,"cell_paragraph_index":0}` 같은 `location`
|
|
@@ -249,18 +297,29 @@ handshake는 core/automation/plugin 버전+해시 skew를 fail-closed로 차단
|
|
|
249
297
|
동일 suffix의 기존 `HWPX_MCP_*` 키는 fallback으로 유지되며, 두 키가
|
|
250
298
|
함께 있으면 `HWPX_AUTOMATION_*`이 우선합니다. render·workflow·oracle·plugin
|
|
251
299
|
연동용 보존 키 전체 목록과 workflow DB 경로 규칙은
|
|
252
|
-
[호환 표면](docs/compatibility-6x.md)에 있습니다.
|
|
300
|
+
[호환 표면](https://github.com/airmang/python-hwpx-automation/blob/main/docs/compatibility-6x.md)에 있습니다.
|
|
253
301
|
|
|
254
302
|
경로는 기본적으로 workspace 밖 traversal과 symlink escape를 거부하고, URL 입력은 HTTPS·공개 IP만
|
|
255
|
-
허용합니다. 원자 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)
|
|
256
315
|
|
|
257
316
|
## 기여하기
|
|
258
317
|
|
|
259
318
|
[good first issue](https://github.com/airmang/python-hwpx-automation/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) ·
|
|
260
319
|
[마일스톤](https://github.com/airmang/python-hwpx-automation/milestones) ·
|
|
261
320
|
[Discussions](https://github.com/airmang/python-hwpx-automation/discussions) ·
|
|
262
|
-
[CONTRIBUTING](CONTRIBUTING.md) ·
|
|
263
|
-
[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)
|
|
264
323
|
|
|
265
324
|
```bash
|
|
266
325
|
python -m pip install -e ".[test]" # 테스트 의존성
|
|
@@ -279,4 +338,4 @@ python scripts/run_conformance.py run \
|
|
|
279
338
|
|
|
280
339
|
## License · Maintainer
|
|
281
340
|
|
|
282
|
-
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)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<p align="center">
|
|
2
2
|
<h1 align="center">python-hwpx-automation</h1>
|
|
3
3
|
<p align="center">
|
|
4
|
-
<strong>
|
|
4
|
+
<strong>python-hwpx 엔진 위에서 한/글 문서 일을 자동화하는 응용 패키지 · MCP 서버 · 에이전트 플러그인</strong>
|
|
5
5
|
</p>
|
|
6
6
|
<p align="center">
|
|
7
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>
|
|
@@ -10,61 +10,109 @@
|
|
|
10
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
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
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>
|
|
13
20
|
</p>
|
|
14
21
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
> [!NOTE]
|
|
19
|
-
> 발행이 승인된 8.0.0 후보 (release-approved; 원격 발행 대기): `python-hwpx 7.0.0 → python-hwpx-automation 8.0.0 → hwpx-plugin 8.0.0` (`c895883d5f4350ae`). 이 좌표는 `src/hwpx_automation/identity.json`의 `releaseState.candidate`와 같아야 합니다(`tests/test_audit_identity_docs.py`).
|
|
20
|
-
> 공개 트레인: `python-hwpx 6.6.0 → python-hwpx-automation 7.3.1 → hwpx-plugin 2.4.0`.
|
|
21
|
-
> 공개 좌표는 core·automation PyPI와 plugin GitHub
|
|
22
|
-
> Release·marketplace·실제 marketplace 설치 관찰 후에만 승격합니다.
|
|
22
|
+
[python-hwpx](https://github.com/airmang/python-hwpx)는 파일에 적힌 대로만 읽고 쓰는 엔진입니다. 정답이 하나로 정해지지
|
|
23
|
+
않는 일, 곧 다른 형식으로 바꾸기, 이름표로 양식 칸 찾기, 메일 머지, 보고서 서식, 미리보기, 한컴 렌더는 이 패키지가 맡습니다.
|
|
24
|
+
MCP 서버와 Claude Code·Codex 플러그인도 여기 있습니다. 한컴오피스 없이 Windows·macOS·Linux에서 돌아갑니다.
|
|
23
25
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
`[mcp]` extra로 더합니다. 한컴오피스도 Windows도 필요 없으므로 **파이썬이 도는
|
|
29
|
-
ChatGPT 채팅 안에서도** 그대로 동작합니다.
|
|
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
30
|
|
|
31
31
|
| | 저장소 | 역할 |
|
|
32
32
|
|---|---|---|
|
|
33
|
-
| 📦 | [`python-hwpx`](https://github.com/airmang/python-hwpx) |
|
|
34
|
-
| 🔌 | [`python-hwpx-automation`](https://github.com/airmang/python-hwpx-automation) |
|
|
35
|
-
|
|
|
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-서버)로 등록 |
|
|
36
46
|
|
|
37
|
-
|
|
47
|
+
### 에이전트에서 쓰기 (Claude Code·Codex)
|
|
48
|
+
|
|
49
|
+
이 저장소 주소 하나로 플러그인을 설치합니다. 플러그인이 python-hwpx와 이 패키지를 검증한 판으로 설치하고,
|
|
50
|
+
MCP 도구와 작업 안내(스킬)를 함께 붙입니다. 미리 [uv](https://docs.astral.sh/uv/getting-started/installation/)가
|
|
51
|
+
설치되어 있어야 합니다.
|
|
38
52
|
|
|
39
53
|
```bash
|
|
40
|
-
|
|
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
|
|
41
61
|
```
|
|
42
62
|
|
|
63
|
+
에이전트에게 "https://github.com/airmang/python-hwpx-automation 플러그인을 설치해 줘"라고 부탁해도 됩니다.
|
|
64
|
+
플러그인은 새 세션부터 쓰입니다. 예전 주소 `airmang/hwpx-plugins`로 설치한 플러그인도 같은 번들을 받으므로
|
|
65
|
+
그대로 업데이트됩니다.
|
|
66
|
+
|
|
67
|
+
## 파이썬에서 쓰기
|
|
68
|
+
|
|
69
|
+
Markdown 원고를 보고서 서식의 한/글 문서로 만듭니다. 위 그림이 이렇게 만든 문서입니다.
|
|
70
|
+
|
|
43
71
|
```python
|
|
44
|
-
from hwpx_automation import
|
|
72
|
+
from hwpx_automation.markdown import from_markdown
|
|
45
73
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
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")
|
|
54
90
|
```
|
|
55
91
|
|
|
56
|
-
|
|
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` |
|
|
57
103
|
|
|
58
|
-
|
|
104
|
+
명령줄에서는 `hwpx help`(또는 `python -m hwpx_automation --help`)로 시작합니다.
|
|
105
|
+
|
|
106
|
+
## MCP 서버
|
|
59
107
|
|
|
60
108
|
```bash
|
|
61
|
-
pip install "python-hwpx-automation[mcp]"
|
|
109
|
+
pip install -U "python-hwpx-automation[mcp]"
|
|
62
110
|
hwpx-automation-mcp
|
|
63
111
|
```
|
|
64
112
|
|
|
65
|
-
MCP 클라이언트 설정 파일에 아래 블록 하나면 `hwpx` 서버를
|
|
66
|
-
|
|
67
|
-
|
|
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 설정 파일입니다.
|
|
68
116
|
|
|
69
117
|
```json
|
|
70
118
|
{
|
|
@@ -73,7 +121,7 @@ Gemini CLI는 `~/.gemini/settings.json`, Cursor·Windsurf는 각 에디터의 MC
|
|
|
73
121
|
"command": "uvx",
|
|
74
122
|
"args": [
|
|
75
123
|
"--from",
|
|
76
|
-
"python-hwpx-automation[mcp]==
|
|
124
|
+
"python-hwpx-automation[mcp]==8.0.0",
|
|
77
125
|
"hwpx-automation-mcp"
|
|
78
126
|
],
|
|
79
127
|
"env": {
|
|
@@ -84,29 +132,29 @@ Gemini CLI는 `~/.gemini/settings.json`, Cursor·Windsurf는 각 에디터의 MC
|
|
|
84
132
|
}
|
|
85
133
|
```
|
|
86
134
|
|
|
87
|
-
`HWPX_AUTOMATION_WORKSPACE_ROOTS`에는 문서가 있는 폴더(
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
막힙니다 — 처음부터 지정하는 것을 권장합니다. 나머지 옵션은
|
|
91
|
-
[환경 변수](#환경-변수) 표를 참고하세요.
|
|
135
|
+
`HWPX_AUTOMATION_WORKSPACE_ROOTS`에는 문서가 있는 폴더(절대 경로나 `~`)를 적으세요. Windows는 `"[\"C:\\\\hwpx\"]"`처럼
|
|
136
|
+
씁니다. 비워 두면 GUI 클라이언트가 서버를 시스템 폴더에서 띄우는 바람에 모든 문서 경로가 막히므로, 처음부터 적어 두기를
|
|
137
|
+
권합니다. 나머지 설정은 [환경 변수](#환경-변수)에 있습니다.
|
|
92
138
|
|
|
93
|
-
>
|
|
94
|
-
>
|
|
95
|
-
> 설치합니다. 요구 사항: `Python >= 3.10` · `python-hwpx >= 7.0`.
|
|
139
|
+
> PDF·DOCX·XLSX·HTML·TXT 같은 다른 형식을 `document_to_markdown`으로 읽으려면 `pip install "python-hwpx-automation[ingest]"`로
|
|
140
|
+
> MarkItDown 어댑터를 함께 설치합니다. 요구 사항: Python 3.10 이상, python-hwpx 7.0 이상.
|
|
96
141
|
|
|
97
|
-
|
|
98
|
-
|
|
142
|
+
예전 `hwpx-mcp-server` 배포판·import·명령·설정 키도 그대로 동작합니다. 전체 목록과 유지 규칙은
|
|
143
|
+
[호환 표면](https://github.com/airmang/python-hwpx-automation/blob/main/docs/compatibility-6x.md)에 있습니다.
|
|
99
144
|
|
|
100
145
|
### 작은 로컬 모델용 프로필
|
|
101
146
|
|
|
102
147
|
Ollama·Open WebUI의 27B급 모델처럼 도구가 많으면 길을 잃는 환경에서는
|
|
103
148
|
`hwpx-automation-mcp --profile minimal`(또는 `HWPX_AUTOMATION_PROFILE=minimal`)로
|
|
104
149
|
굵은 도구 여섯 개만 띄웁니다: `read_outline`(id 붙은 짧은 목록) →
|
|
105
|
-
`apply_text_changes`(`{id: 새 글}`, 서식
|
|
150
|
+
`apply_text_changes`(`{id: 새 글}`, 서식 유지 — 서식이 섞인 곳을 가로질러 첫 서식으로 다시 쓴 id는
|
|
151
|
+
`rewritten`, 칸 넘침은 `overflow`, 볼 것이 있으면 `reviewRequired`), `replace_text`,
|
|
106
152
|
`stage_text` → `create_from_markdown`, `validate_document`. 긴 본문은 도구 인수에
|
|
107
153
|
한 번에 싣지 않고 `stage_text`로 1,000자 안팎씩 나눠 보낸 뒤 `draft_id`로 넘깁니다.
|
|
108
154
|
`create_from_markdown`의 `byline`(200자까지)은 제목 아래 오른쪽에 쓰는 부서·날짜 줄입니다.
|
|
109
|
-
결과에는 문서 본문을 싣지
|
|
155
|
+
수정 도구의 결과에는 문서 본문을 싣지 않고(건수와 id만), 수정본은 기본으로 `<이름>.edited.hwpx`에
|
|
156
|
+
저장합니다. `read_outline`은 문단·표 칸마다 앞 200자까지 원문을 싣습니다(개인정보를 가리지 않습니다) —
|
|
157
|
+
문단이 짧은 문서는 본문 전체가 결과에 실립니다.
|
|
110
158
|
|
|
111
159
|
## 한컴으로 PDF 렌더하기
|
|
112
160
|
|
|
@@ -119,9 +167,9 @@ uvx --from "python-hwpx-automation[oracle]==8.0.0" \
|
|
|
119
167
|
hwpx render-pdf in.hwpx out.pdf --png out/page --json
|
|
120
168
|
```
|
|
121
169
|
|
|
122
|
-
JSON 결과·종료 코드·플랫폼 요구 사항: [render-pdf](docs/render-pdf.md)
|
|
170
|
+
JSON 결과·종료 코드·플랫폼 요구 사항: [render-pdf](https://github.com/airmang/python-hwpx-automation/blob/main/docs/render-pdf.md)
|
|
123
171
|
|
|
124
|
-
##
|
|
172
|
+
## MCP 도구
|
|
125
173
|
|
|
126
174
|
기본 모드에서 다수의 HWPX 도구를 제공하며, 고급 모드(`HWPX_AUTOMATION_ADVANCED=1`)에서 점검·검증용 도구가 추가됩니다.
|
|
127
175
|
|
|
@@ -132,11 +180,11 @@ JSON 결과·종료 코드·플랫폼 요구 사항: [render-pdf](docs/render-pd
|
|
|
132
180
|
- **서식·그림·생성기** — `set_paragraph_format`·`set_page_setup`, `insert_picture`, 사진대지·명패·조직도
|
|
133
181
|
- **프리뷰·추출·복구·진단** — `render_preview`(HTML/PNG 자기검증), `hwpx_to_markdown`, `repair_hwpx`, `mcp_server_health`
|
|
134
182
|
|
|
135
|
-
자세한 내용: [사용 사례](docs/use-cases.md) · [스킬 우선 워크플로](docs/skill-first-workflows.md)
|
|
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)
|
|
136
184
|
|
|
137
185
|
## 안전하게 쓰는 법
|
|
138
186
|
|
|
139
|
-
처음부터 모든 도구를 외울 필요는 없습니다. 기존 문서 수정은 [조회·대상 확정·보존 저장·검증 안내](docs/existing-edit-navigation.md)를,
|
|
187
|
+
처음부터 모든 도구를 외울 필요는 없습니다. 기존 문서 수정은 [조회·대상 확정·보존 저장·검증 안내](https://github.com/airmang/python-hwpx-automation/blob/main/docs/existing-edit-navigation.md)를,
|
|
140
188
|
새 문서는 document-plan을 먼저 봅니다. 보통 이렇게 흘러갑니다.
|
|
141
189
|
|
|
142
190
|
1. **읽기** — `get_document_info` → `get_document_outline`/`get_document_text` → `find_text`, `get_table_map`으로 필요한 부분만 파악합니다. (저장하지 않음)
|
|
@@ -149,8 +197,8 @@ JSON 결과·종료 코드·플랫폼 요구 사항: [render-pdf](docs/render-pd
|
|
|
149
197
|
경로는 python-hwpx의 단일 `SavePipeline` 게이트를 통과해 무결성·XML·OPC/ID·
|
|
150
198
|
열림안전을 검사하고, 게이트가 실패하면 아무것도 쓰지 않습니다. capability
|
|
151
199
|
handshake는 core/automation/plugin 버전+해시 skew를 fail-closed로 차단합니다.
|
|
152
|
-
보안 상세: [하드닝 가이드](docs/hardening_guide_ko.md) · 옛 이름과의 호환
|
|
153
|
-
식별자: [호환 표면](docs/compatibility-6x.md)
|
|
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)
|
|
154
202
|
|
|
155
203
|
> **위치 계약** — `paragraph_index`는 본문 직속 문단의 0-based 인덱스입니다. 표 안 문단은 여기 섞지 않고
|
|
156
204
|
> `{"kind":"table_cell_paragraph","table_index":0,"row":0,"col":1,"cell_paragraph_index":0}` 같은 `location`
|
|
@@ -177,18 +225,29 @@ handshake는 core/automation/plugin 버전+해시 skew를 fail-closed로 차단
|
|
|
177
225
|
동일 suffix의 기존 `HWPX_MCP_*` 키는 fallback으로 유지되며, 두 키가
|
|
178
226
|
함께 있으면 `HWPX_AUTOMATION_*`이 우선합니다. render·workflow·oracle·plugin
|
|
179
227
|
연동용 보존 키 전체 목록과 workflow DB 경로 규칙은
|
|
180
|
-
[호환 표면](docs/compatibility-6x.md)에 있습니다.
|
|
228
|
+
[호환 표면](https://github.com/airmang/python-hwpx-automation/blob/main/docs/compatibility-6x.md)에 있습니다.
|
|
181
229
|
|
|
182
230
|
경로는 기본적으로 workspace 밖 traversal과 symlink escape를 거부하고, URL 입력은 HTTPS·공개 IP만
|
|
183
|
-
허용합니다. 원자 rename을 제공하지 않는 호스트의 동시성 주의사항은 [하드닝 가이드](docs/hardening_guide_ko.md)를 보세요.
|
|
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)
|
|
184
243
|
|
|
185
244
|
## 기여하기
|
|
186
245
|
|
|
187
246
|
[good first issue](https://github.com/airmang/python-hwpx-automation/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) ·
|
|
188
247
|
[마일스톤](https://github.com/airmang/python-hwpx-automation/milestones) ·
|
|
189
248
|
[Discussions](https://github.com/airmang/python-hwpx-automation/discussions) ·
|
|
190
|
-
[CONTRIBUTING](CONTRIBUTING.md) ·
|
|
191
|
-
[CHANGELOG](CHANGELOG.md)
|
|
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)
|
|
192
251
|
|
|
193
252
|
```bash
|
|
194
253
|
python -m pip install -e ".[test]" # 테스트 의존성
|
|
@@ -207,4 +266,4 @@ python scripts/run_conformance.py run \
|
|
|
207
266
|
|
|
208
267
|
## License · Maintainer
|
|
209
268
|
|
|
210
|
-
Apache-2.0 ([LICENSE](LICENSE) · [NOTICE](NOTICE)) — **Kohkyuhyun** [@airmang](https://github.com/airmang) · [kokyuhyun@hotmail.com](mailto:kokyuhyun@hotmail.com)
|
|
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)
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "python-hwpx-automation"
|
|
7
|
-
version = "8.0.
|
|
7
|
+
version = "8.0.1"
|
|
8
8
|
description = "Task-oriented HWPX document automation for Python, with an optional MCP adapter."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [{ name = "Kohkyuhyun" }]
|
|
@@ -32,8 +32,10 @@ dependencies = [
|
|
|
32
32
|
# console name (core stopped declaring it at 5.0), which is what makes "no
|
|
33
33
|
# valid install has two declarers" true rather than hopeful. The bounded
|
|
34
34
|
# major (<8) keeps the next core major from silently breaking an
|
|
35
|
-
# already-published automation line.
|
|
36
|
-
|
|
35
|
+
# already-published automation line. 7.0.2 is the patch floor of 8.0.1:
|
|
36
|
+
# the engine refuses to overwrite an existing .hwp on every write path and
|
|
37
|
+
# moves section settings back on saving, which this package's tools rely on.
|
|
38
|
+
"python-hwpx>=7.0.2,<8", # HWPX object model, OXML/OPC, format-native primitives
|
|
37
39
|
|
|
38
40
|
"pydantic>=2.11,<3",
|
|
39
41
|
# cryptography (workflow store only) is the [workflow] extra and anyio is
|
|
@@ -162,6 +164,9 @@ include = ["hwpx_automation*"]
|
|
|
162
164
|
# exercise, and their tests import them by bare name.
|
|
163
165
|
pythonpath = ["src", "scripts"]
|
|
164
166
|
addopts = "-q"
|
|
167
|
+
# plugins-src/ (the moved hwpx-plugins source) has its own pytest.ini and is
|
|
168
|
+
# run from that directory; a bare `pytest` here collects only tests/.
|
|
169
|
+
testpaths = ["tests"]
|
|
165
170
|
# WP-F (core 6.0 namespace adaptation, design §9): any DeprecationWarning this
|
|
166
171
|
# package's own code triggers by calling core's pre-7.0 legacy shim surface is
|
|
167
172
|
# a real regression -- error by default, and name each known non-automation
|