python-hwpx 6.9.0__tar.gz → 6.10.0__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-6.10.0/PKG-INFO +256 -0
- python_hwpx-6.10.0/README.md +205 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/pyproject.toml +3 -3
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/fields.py +217 -84
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/ns/fields.py +17 -1
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/ns/refs.py +14 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/ns/styles.py +135 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/data/contract_docs/support-matrix.md +1 -1
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/equation/authoring.py +3 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/equation/eqedit.py +88 -5
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/errors.py +2 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/form_fit/_glyph_table.py +2169 -141
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/form_fit/measure.py +242 -15
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/layout/line_cache.py +201 -67
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/layout/pages.py +544 -84
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/objects/__init__.py +3 -1
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/objects/form_field.py +73 -3
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/_document_primitives.py +31 -54
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/document_parts.py +9 -5
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/header_fonts.py +66 -2
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/paragraph.py +16 -3
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/patch.py +248 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/repair.py +123 -3
- python_hwpx-6.10.0/src/python_hwpx.egg-info/PKG-INFO +256 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/python_hwpx.egg-info/SOURCES.txt +5 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_documentation_code_fences.py +2 -2
- python_hwpx-6.10.0/tests/test_ensure_run_font_by_lang.py +248 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_equation_authoring.py +25 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_equation_converter.py +75 -4
- python_hwpx-6.10.0/tests/test_field_readers.py +158 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_form_fit_hancom_rules.py +252 -0
- python_hwpx-6.10.0/tests/test_known_leak_migration_contract.py +94 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_layout_line_cache.py +232 -20
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_layout_page_estimate.py +216 -42
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_line_break_writing.py +45 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_mutation_report.py +20 -0
- python_hwpx-6.10.0/tests/test_package_text_and_namespaces.py +195 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_release_workflow_safety.py +3 -3
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_return_contract.py +4 -0
- python_hwpx-6.10.0/tests/test_styles_definition_verbs.py +98 -0
- python_hwpx-6.9.0/PKG-INFO +0 -252
- python_hwpx-6.9.0/README.md +0 -201
- python_hwpx-6.9.0/src/python_hwpx.egg-info/PKG-INFO +0 -252
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/LICENSE +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/NOTICE +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/setup.cfg +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/__init__.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/__init__.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/_legacy.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/_resolve.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/_units.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/headings.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/highlight.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/layout.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/media.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/memos.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/ns/__init__.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/ns/_base.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/ns/media.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/ns/notes.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/ns/page.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/ns/parts.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/ns/shapes.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/ns/tables.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/ns/text.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/ns/tracking.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/persistence.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/shapes.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_document/tracked.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/_moved_modules.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/body_patch.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/capabilities.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/data/Skeleton.hwpx +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/data/contract_docs/known-traps.md +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/data/contract_docs/mutation-semantics.md +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/data/contract_docs/recipes-traversal.md +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/document.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/equation/__init__.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/equation/mathml.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/equation/measure.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/equation/render.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/equation/tokens.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/experimental.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/form_fit/__init__.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/form_fit/apply.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/form_fit/engine.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/form_fit/policy.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/form_fit/report.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/__init__.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/binary.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/bodytext.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/cfb.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/controls.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/docinfo.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/docinfo_writer.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/errors.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/fileheader.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/header_xml.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/owpml.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/package.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/reader.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/records.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/section_common.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/section_writer.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/section_xml.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/shape_xml.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/shapes.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/summary.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/hwp5/writer.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/ingest/__init__.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/ingest/base.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/ingest/hwpx_converter.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/layout/__init__.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/layout/lint.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/layout/report.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/model.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/mutation_report.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/objects/binary_item.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/objects/checkbox.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/objects/highlight.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/objects/results.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/objects/tracked.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/opc/package.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/opc/relationships.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/opc/security.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/opc/xml_utils.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/__init__.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/_document_impl.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/_paragraph_text_edit.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/body.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/canonical_defaults.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/color.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/common.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/container.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/curves.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/document.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/document_metadata.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/drop_cap.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/dutmal_compose.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/field_marks.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/header.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/header_compat.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/header_part.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/history_part.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/hyperlink_form.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/master_page.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/master_page_authoring.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/memo.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/namespaces.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/note_authoring.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/numbering.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/numbering_kinds.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/objects.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/paragraph_heading.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/parser.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/run.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/schema.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/section.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/section_format.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/section_layout.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/section_story.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/settings.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/shape_position.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/simple_parts.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/table.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/table_merge.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/table_sizes.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/table_structure.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/utils.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/oxml/version_part.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/package.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/plan/__init__.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/plan/_execute.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/plan/_model.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/plan/_schema.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/plan/_validate.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/py.typed +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/quality/__init__.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/quality/ledger.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/quality/policy.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/quality/rendering.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/quality/report.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/quality/save_pipeline.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/table_patch.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/templates.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/__init__.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/_schemas/header.xsd +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/_schemas/owpml-body.xsd +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/_schemas/owpml-core.xsd +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/_schemas/owpml-header.xsd +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/_schemas/owpml-paralist.xsd +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/_schemas/owpml-xml.xsd +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/_schemas/section.xsd +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/archive_cli.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/doc_diff.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/document_merge.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/document_viewer.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/exporter.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/generic_inventory.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/id_integrity.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/idempotence.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/ir_equality.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/layout_preview.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/mail_merge.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/markdown_export.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/object_finder.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/package_reconcile.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/package_validator.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/page_guard.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/read_fidelity.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/recover.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/redline.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/report_utils.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/roundtrip_diff.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/table_cleanup.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/table_navigation.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/template_analyzer.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/text_extract_cli.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/text_extractor.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/toc_author.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/toc_fidelity.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/hwpx/tools/validator.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/python_hwpx.egg-info/dependency_links.txt +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/python_hwpx.egg-info/entry_points.txt +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/python_hwpx.egg-info/requires.txt +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/src/python_hwpx.egg-info/top_level.txt +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_add_control.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_add_heading.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_adoption_metrics_snapshot.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_arc_authoring.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_authoring_defaults.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_authoring_quality_corpus.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_blind_eval_fixture.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_body_patch.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_border_fill_image_gradient.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_border_line_types.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_build_element_census.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_byte_patch_identity.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_capabilities_surface.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_cell_border_neighbors.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_cell_edit_holder_cache.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_cell_fields.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_cell_line_spacing.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_cell_margins.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_cell_text_rewrite_semantics.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_char_pr_child_order.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_character_width_ratio.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_chart_authoring.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_check_box_authoring.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_color_arguments.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_column_break.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_column_widths_as_shares.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_comment_node_robustness.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_container_authoring.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_container_members.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_contract_docs_sync.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_corpus_read_fidelity.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_coverage_ledger.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_coverage_promotion.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_coverage_targets.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_curve_connector_authoring.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_deviations_registry.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_doc_diff.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_document_context_manager.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_document_facade_surface.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_document_formatting.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_document_merge.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_document_metadata.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_document_ops_runtime_boundary.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_document_save_api.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_document_viewer.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_drop_cap_authoring.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_dutmal_compose_authoring.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_edit_fidelity_corpus.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_edit_plan.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_editor_surface_inventory.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_engine_surface_6_0.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_equalize_widths_per_row.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_equation_measure_hancom_saved.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_equation_render.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_equation_size.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_equation_width_hancom_boxes.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_error_contract.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_error_messages.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_evalplan_core_primitives.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_existing_document_format_editing.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_export_captions_dutmal.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_export_cell_text_spaces.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_export_list_labels.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_export_notes.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_export_text_boxes.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_exporter_table_text.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_field_marks.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_field_type_ids.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_fill_image_hancom_modes.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_form_field_authoring.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_form_fields.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_form_fill_core_primitives.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_form_fit.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_form_fit_integration.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_fuzz_catalog_derive_expected.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_fuzz_loop.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_fuzz_regressions.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_gap_and_new_number_values.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_gap_closure_tools.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_golden_api.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_header_compat_authoring.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_header_control_before_field.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_header_list_lookups.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_heading_style_shapes.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_highlight_authoring.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_hp_tab_support.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_hwp5_container.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_hwp5_hancom_files.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_hwp5_open.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_hwp5_save.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_hwpxlib_corpus_read.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_hyperlink_hancom_form.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_id_generator_range.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_id_integrity.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_image_object_workflow.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_index_mark.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_ingest.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_inline_models.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_insert_column_by_clone.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_insert_row_merged_cells.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_insert_row_sides.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_instid_attribute_case.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_integration_hwpx_compatibility.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_integration_roundtrip.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_internal_calls_skip_moved_names.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_layer_leak_guard.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_layout_cache_scope.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_layout_lint.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_layout_preview.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_lazy_hwp5_import.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_lazy_tools_import.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_lazy_tools_submodules.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_library_boundary_closure.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_line_width_arguments.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_list_continue.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_list_defaults_vs_hancom.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_list_level_range.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_llms_txt.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_mail_merge_xlsx.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_manifest_resolve_once.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_markdown_export.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_markdown_export_shape_text.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_master_page_authoring.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_master_page_pages_taken.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_memo_and_style_editing.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_memo_fields.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_memo_shape_authoring.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_merge_cells_hancom_files.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_merge_cells_keeps_contents.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_moved_module_imports.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_moved_surface_hints.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_namespace_handling.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_namespace_hygiene.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_namespace_normalization.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_native_edit_contract.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_new_features.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_note_authoring_contract.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_ns_fields.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_ns_media.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_ns_notes.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_ns_page.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_ns_refs.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_ns_shapes.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_ns_tables.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_ns_tracking.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_number_formats.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_opc_package.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_open_safety_corpus.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_outline_numbering.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_oxml_modularization.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_oxml_parsing.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_package_hygiene.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_packaging_license_metadata.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_packaging_py_typed.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_page_and_list_values.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_page_number_control.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_page_number_format.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_page_orientation.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_para_pr_dedup.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_paragraph_align_distribute_space.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_paragraph_border.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_paragraph_format_targets.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_paragraph_hyperlink_style.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_paragraph_keep_together.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_paragraph_margin_default_scale.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_paragraph_property_lookup.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_paragraph_property_version_switch.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_paragraph_remove_in_containers.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_paragraph_section_management.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_part_hierarchy_read_models.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_picture_adjustments.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_polygon_authoring.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_product_boundary.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_public_artifact_hygiene.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_public_runtime_boundary.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_read_fidelity.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_recover_broken_zip.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_redline_authoring.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_redline_verify.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_remove_unused_charts.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_remove_unused_images.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_repair_repack.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_replace_text_barriers.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_report_utils.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_repr_snapshots.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_roundtrip_fidelity.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_roundtrip_fidelity_corpus.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_row_heights.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_run_choice_atom_authoring.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_run_content_kinds.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_run_font_refs.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_run_style_base.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_safe_edit_example.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_save_keeps_inline_text_caches.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_save_pipeline.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_save_verifies_once.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_section_clear_body.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_section_columns.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_section_headers.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_section_ids_order.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_section_properties_real_roundtrip.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_set_column_widths_uniform_split.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_set_paragraph_format_keep.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_shape_geometry_contract.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_shape_open_safety_risk_check.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_shape_original_size.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_shape_position_frames.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_shape_size_values.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_size_ratchet.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_skeleton_template_ids.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_split_cell.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_split_merged_cell.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_stable_surface.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_stale_layout_cache_sweep.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_story_edits_reach_control_copy.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_style_font_border_reads.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_style_resolution.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_tab_character_writing.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_tab_definition_version_switch.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_table_cell_equalize.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_table_cleanup.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_table_clone_identities.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_table_column_floor.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_table_label.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_table_navigation.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_table_ops_cells_without_geometry.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_table_ops_delete_every_line.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_table_ops_delete_zones.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_table_page_flow.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_table_patch.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_table_patch_dryrun.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_table_patch_m105.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_table_patch_structure_fixes.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_table_split_merge.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_table_structure_edits.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_tables_default_border.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_template_analyzer_enrichment.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_text_box_fields.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_text_extractor_annotations.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_text_extractor_nested_once.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_text_extractor_run_choice_atoms.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_text_inline_elements.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_text_replace_everywhere.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_title_mark.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_toc_author.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_toc_fidelity.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_tracked_overlap_render_smoke.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_tracked_paragraph_delete_break.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_validation_severity.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_validator_comment_nodes.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_validator_form_parameters.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_validator_full_schema.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_validator_hancom_open_rules.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_validator_section_ids.py +0 -0
- {python_hwpx-6.9.0 → python_hwpx-6.10.0}/tests/test_version_metadata.py +0 -0
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: python-hwpx
|
|
3
|
+
Version: 6.10.0
|
|
4
|
+
Summary: 한글 없이 HWPX 문서를 열고, 편집하고, 생성하고, 검증하는 Python 문서 라이브러리
|
|
5
|
+
Author: python-hwpx Maintainers
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/airmang/python-hwpx
|
|
8
|
+
Project-URL: Documentation, https://airmang.github.io/python-hwpx/
|
|
9
|
+
Project-URL: Issues, https://github.com/airmang/python-hwpx/issues
|
|
10
|
+
Keywords: hwp,hwpx,hancom,opc,xml,document-automation,validation,template
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
20
|
+
Classifier: Topic :: Text Processing :: Markup :: XML
|
|
21
|
+
Classifier: Typing :: Typed
|
|
22
|
+
Requires-Python: >=3.10
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
License-File: LICENSE
|
|
25
|
+
License-File: NOTICE
|
|
26
|
+
Requires-Dist: lxml<7,>=4.9
|
|
27
|
+
Provides-Extra: visual
|
|
28
|
+
Provides-Extra: xlsx
|
|
29
|
+
Requires-Dist: openpyxl>=3.1; extra == "xlsx"
|
|
30
|
+
Provides-Extra: preview
|
|
31
|
+
Requires-Dist: latex2mathml>=3.77; extra == "preview"
|
|
32
|
+
Provides-Extra: dev
|
|
33
|
+
Requires-Dist: build>=1.0; extra == "dev"
|
|
34
|
+
Requires-Dist: twine>=4.0; extra == "dev"
|
|
35
|
+
Requires-Dist: pytest>=7.4; extra == "dev"
|
|
36
|
+
Requires-Dist: latex2mathml>=3.77; extra == "dev"
|
|
37
|
+
Provides-Extra: test
|
|
38
|
+
Requires-Dist: build>=1.0; extra == "test"
|
|
39
|
+
Requires-Dist: numpy>=1.26; extra == "test"
|
|
40
|
+
Requires-Dist: openpyxl>=3.1; extra == "test"
|
|
41
|
+
Requires-Dist: pillow>=10.0; extra == "test"
|
|
42
|
+
Requires-Dist: pytest>=7.4; extra == "test"
|
|
43
|
+
Requires-Dist: pytest-cov>=5.0; extra == "test"
|
|
44
|
+
Requires-Dist: pyyaml<7,>=6.0; extra == "test"
|
|
45
|
+
Requires-Dist: ruff>=0.12; extra == "test"
|
|
46
|
+
Requires-Dist: latex2mathml>=3.77; extra == "test"
|
|
47
|
+
Provides-Extra: typecheck
|
|
48
|
+
Requires-Dist: mypy>=1.10; extra == "typecheck"
|
|
49
|
+
Requires-Dist: pyright>=1.1.390; extra == "typecheck"
|
|
50
|
+
Dynamic: license-file
|
|
51
|
+
|
|
52
|
+
<p align="center">
|
|
53
|
+
<h1 align="center">python-hwpx</h1>
|
|
54
|
+
<p align="center">
|
|
55
|
+
<strong>한컴오피스 없이 한/글 문서(HWPX·HWP)를 읽고 고치고 만드는 파이썬 라이브러리</strong>
|
|
56
|
+
</p>
|
|
57
|
+
<p align="center">
|
|
58
|
+
<a href="https://pypi.org/project/python-hwpx/"><img src="https://img.shields.io/pypi/v/python-hwpx?color=blue&label=PyPI" alt="PyPI"></a>
|
|
59
|
+
<a href="https://pepy.tech/project/python-hwpx"><img src="https://static.pepy.tech/badge/python-hwpx/month" alt="Downloads"></a>
|
|
60
|
+
<a href="https://pypi.org/project/python-hwpx/"><img src="https://img.shields.io/pypi/pyversions/python-hwpx" alt="Python"></a>
|
|
61
|
+
<a href="https://github.com/airmang/python-hwpx/actions/workflows/tests.yml"><img src="https://img.shields.io/github/actions/workflow/status/airmang/python-hwpx/tests.yml?branch=main&label=tests" alt="Tests"></a>
|
|
62
|
+
<a href="https://airmang.github.io/python-hwpx/corpus-metrics.html"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fairmang.github.io%2Fpython-hwpx%2F_static%2Fbadge-hancom-open.json" alt="Hancom open"></a>
|
|
63
|
+
<a href="https://github.com/airmang/python-hwpx/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue" alt="License"></a>
|
|
64
|
+
</p>
|
|
65
|
+
</p>
|
|
66
|
+
|
|
67
|
+
<p align="center">한국어 | <a href="README_EN.md">English</a></p>
|
|
68
|
+
|
|
69
|
+
HWPX는 ZIP 안에 XML(OWPML)을 담은 형식이라, 한컴오피스가 없어도 파이썬만으로 다룰 수 있습니다.
|
|
70
|
+
python-hwpx는 Windows·macOS·Linux·CI 어디서나 돌고 의존성은 `lxml` 하나입니다. HWP 5.0(`.hwp`)도 같은
|
|
71
|
+
API로 열고 저장합니다.
|
|
72
|
+
|
|
73
|
+
만든 문서는 한컴오피스 2024에서 직접 열어 보고 그 결과를 날짜와 함께
|
|
74
|
+
[아래](#한글과-얼마나-같은가)에 적어 둡니다.
|
|
75
|
+
|
|
76
|
+
## 시작하기
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
pip install python-hwpx # Python 3.10+
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
<!-- standalone-python-example -->
|
|
83
|
+
|
|
84
|
+
```python
|
|
85
|
+
from hwpx import HwpxDocument
|
|
86
|
+
|
|
87
|
+
doc = HwpxDocument.new()
|
|
88
|
+
doc.add_heading("2026 운영계획", level=1)
|
|
89
|
+
doc.add_paragraph("추진 배경", style="개요 2") # 한/글이 "가." 번호를 붙인다
|
|
90
|
+
doc.save_to_path("계획.hwpx")
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
스타일은 이름으로 고릅니다. 없는 이름을 쓰면 그 줄에서 바로 오류가 납니다.
|
|
94
|
+
있는 문서를 고칠 때는 `HwpxDocument.open("보고서.hwpx")`로 시작합니다. `.hwp`도 똑같이 열고,
|
|
95
|
+
`save_to_path("보고서.hwp")`로 HWP 5.0으로 저장할 수 있습니다.
|
|
96
|
+
|
|
97
|
+
문서 저작·양식 채움·시험지 조판 같은 상위 워크플로가 필요하면
|
|
98
|
+
[`python-hwpx-automation`](https://github.com/airmang/python-hwpx-automation)을 함께 설치하세요.
|
|
99
|
+
|
|
100
|
+
> 예전 설치 명령을 위해 `pip install "python-hwpx[visual]"`도 계속 됩니다. 다만 이 extra는 비어 있어
|
|
101
|
+
> 렌더·PDF 의존성을 설치하지 않습니다. 그 일은 `python-hwpx-automation[oracle]`이 맡습니다.
|
|
102
|
+
|
|
103
|
+
## 할 수 있는 것
|
|
104
|
+
|
|
105
|
+
- 읽기·추출: 텍스트·HTML·Markdown으로 내보냅니다. 서식, 표 안의 표, 각주를 살립니다.
|
|
106
|
+
- 편집: 문단·표·그림·머리말/꼬리말·메모·각주, 줄 간격·여백·쪽 번호 같은 서식을 고칩니다.
|
|
107
|
+
- 양식 채우기: 라벨로 칸을 찾아 값만 넣고 손대지 않은 부분은 바이트 그대로 둡니다. FormFit은 값이
|
|
108
|
+
칸에 들어가도록 줄을 바꾸거나 글자를 줄일지 한/글의 글자 폭으로 재서 고릅니다.
|
|
109
|
+
- 표 구조 편집: 행·열 넣기와 지우기, 칸 나누기와 합치기. `doc.tables[0]`처럼 번호로 표를 꺼냅니다.
|
|
110
|
+
- 만들기·일괄 처리: 새 문서, 목차·상호 참조, 메일 머지, 문서 비교, 변경 추적.
|
|
111
|
+
- HWP 5.0: `.hwp`를 HWPX로 읽어 같은 API로 고치고 `.hwp`로 저장합니다. 옮기지 못한 내용은
|
|
112
|
+
`document.conversion_report`에 남습니다.
|
|
113
|
+
- 배치 추정(실험): `estimate_pages`는 한/글 없이 쪽 수와 줄마다의 쪽·세로 위치를 추정합니다.
|
|
114
|
+
`write_line_caches`는 한/글이 저장할 때 쓰는 줄 배치 정보를, 한/글과 같은 값을 확실히 아는 문단에만 씁니다.
|
|
115
|
+
rhwp처럼 이 정보로 그림 자리를 찾는 뷰어에서도 그림이 보이게 됩니다. 기본으로는 쓰지 않습니다.
|
|
116
|
+
- 검증·안전: 패키지 구조 검사 CLI, 저장 전 열림 검사, 저장 결과 보고(`return_report=True`).
|
|
117
|
+
|
|
118
|
+
자세한 내용: [5분 퀵스타트](docs/quickstart.md) · [사용 가이드](docs/usage.md) · [API 레퍼런스](https://airmang.github.io/python-hwpx/) · [예제](docs/examples.md) · [지원 매트릭스](docs/support-matrix.md)
|
|
119
|
+
|
|
120
|
+
### 양식 채우기 예
|
|
121
|
+
|
|
122
|
+
```python
|
|
123
|
+
doc = HwpxDocument.open("신청서.hwpx")
|
|
124
|
+
values = {
|
|
125
|
+
"성명 > right": "홍길동",
|
|
126
|
+
"소속 > right": "플랫폼팀",
|
|
127
|
+
}
|
|
128
|
+
result = doc.tables.fill_by_path(values)
|
|
129
|
+
if result["failed_count"] or result["applied_count"] != len(values):
|
|
130
|
+
raise ValueError(result["failed"])
|
|
131
|
+
report = doc.save_to_path("신청서-작성완료.hwpx", mode="patch", fallback="error", return_report=True)
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
라벨이 겹치거나 없으면 실패로 돌려주고 저장하기 전에 멈출 수 있습니다. `mode="patch"`는 고치지 않은
|
|
135
|
+
ZIP 파트를 바이트 그대로 두라는 뜻입니다. 고친 파트 안쪽과 화면 배치는 따로 확인해야 합니다. 저장한 파일을
|
|
136
|
+
다시 열어 내용까지 확인하는 방법은 [안전한 쓰기 계약](docs/safe-write-contract.md)에 있습니다.
|
|
137
|
+
|
|
138
|
+
*독립 실행 예제로 표시하지 않은 블록은 여러분이 가진 문서를 입력으로 쓰는 조각입니다. 예제별 Python 블록 판정은
|
|
139
|
+
[실행 기록](docs/python-example-ledger.json)에 남겨 둡니다.*
|
|
140
|
+
|
|
141
|
+
## 한/글과 얼마나 같은가
|
|
142
|
+
|
|
143
|
+
만든 파일을 실제 한컴오피스로 열어 보고 그대로 적습니다. 숫자마다 잰 날짜와 프로그램 판을 붙입니다.
|
|
144
|
+
|
|
145
|
+
**배치: python-hwpx 6.9 이후 main · 2026-10-25**
|
|
146
|
+
|
|
147
|
+
| 무엇을 | 정답 | 결과 |
|
|
148
|
+
|---|---|---|
|
|
149
|
+
| 공개 실문서 77건의 줄 나눔이 같은 문단 | 한컴오피스 2024 (Windows)가 배치해 저장한 것 | 8,246 / 8,263 (99.8 %) |
|
|
150
|
+
| 그 77건 중 모든 줄의 쪽·위치가 같은 문서 | 같음 | 76 / 77 (나머지 1건은 표가 깨진 문서) |
|
|
151
|
+
| 줄 배치 정보를 지운 사본으로 추정한 쪽 수가 같은 문서 (공개 79 · 비공개 실문서 522 · 기능 시험 문서 780) | 그 문서를 저장한 한/글의 쪽 수 | 1,344 / 1,381 (추정하지 않음 16) |
|
|
152
|
+
|
|
153
|
+
**열림: 한컴오피스 12 (macOS)**
|
|
154
|
+
|
|
155
|
+
- 한컴에서 열림 120/120, 렌더 검증 120/120: 기준 문서와 저작 기능 6종(각주·누름틀·수식·차트·체크박스·편집
|
|
156
|
+
계획)을 줄여서 잰 것 (5.7.0 · 2026-08-03)
|
|
157
|
+
- 한컴에서 열림 476/476: 동결한 코퍼스 전체(N=497) (3.4.1 · 2026-07-19)
|
|
158
|
+
- 고치지 않은 영역의 바이트 보존 497/497, 개인정보 유출 0
|
|
159
|
+
- 렌더 검증 416/476: 한컴이 PDF 내보내기를 거부한 43건도 빼지 않고 셌습니다.
|
|
160
|
+
|
|
161
|
+
<p align="center">
|
|
162
|
+
<img src="https://raw.githubusercontent.com/airmang/python-hwpx/main/docs/assets/hancom-open-generated.png" width="760" alt="ChatGPT 실행 환경에서 python-hwpx로 생성한 HWPX 문서를 실제 한컴오피스에서 연 모습">
|
|
163
|
+
</p>
|
|
164
|
+
<p align="center"><sub>ChatGPT 실행 환경에서 만든 문서를 실제 한컴오피스로 연 모습.</sub></p>
|
|
165
|
+
|
|
166
|
+
전체 숫자와 주의할 점은 [실측 코퍼스 메트릭](https://airmang.github.io/python-hwpx/corpus-metrics.html)에,
|
|
167
|
+
기능별 등급은 [지원 매트릭스](docs/support-matrix.md)에 있습니다. 이 숫자들은 "만든 파일을 한/글이 어떻게
|
|
168
|
+
받는가"를 잰 것이고 파서가 문서를 얼마나 잘 읽는지와는 다른 지표입니다.
|
|
169
|
+
|
|
170
|
+
개발 단계는 Beta입니다. 하위 호환을 지키는 범위는 [안정 API 표면](docs/stable-api.md)에 적혀 있고,
|
|
171
|
+
`hwpx.experimental`과 위에서 "실험"이라고 적은 기능은 바뀔 수 있습니다.
|
|
172
|
+
|
|
173
|
+
## 어디서 쓰나
|
|
174
|
+
|
|
175
|
+
| 환경 | 방법 |
|
|
176
|
+
|---|---|
|
|
177
|
+
| 로컬·서버 파이썬 | `pip install python-hwpx` (스크립트·배치·CI) |
|
|
178
|
+
| 파이썬 자동화 (MCP 없이) | `pip install python-hwpx-automation` (저작·양식 채움·검증 워크플로) |
|
|
179
|
+
| 일반 ChatGPT 대화 | `.hwpx`와 [Release wheel](https://github.com/airmang/python-hwpx/releases/latest)을 함께 올려 대화 안에서 설치([안내](docs/ai-assistants.md)) |
|
|
180
|
+
| ChatGPT MCP 앱 | [`python-hwpx-automation`](https://github.com/airmang/python-hwpx-automation)의 MCP adapter를 커넥터로 등록 |
|
|
181
|
+
| Codex 마켓플레이스 플러그인 | [`hwpx-plugins`](https://github.com/airmang/hwpx-plugins) 설치 |
|
|
182
|
+
| Claude Code · Hermes · OpenClaw | 같은 MCP 서버를 각 클라이언트에 등록 ([`python-hwpx-automation`](https://github.com/airmang/python-hwpx-automation)) |
|
|
183
|
+
|
|
184
|
+
<p align="center">
|
|
185
|
+
<img src="https://raw.githubusercontent.com/airmang/python-hwpx/main/docs/assets/chatgpt-formfill.png" width="760" alt="일반 ChatGPT 대화에 hwpx 양식을 올려 지도안 작성을 부탁하고, 양식이 유지된 채 채워진 문서를 돌려받는 화면">
|
|
186
|
+
</p>
|
|
187
|
+
<p align="center"><sub>일반 ChatGPT 대화에서 양식 <code>.hwpx</code>를 올리고 부탁하면, 서식은 그대로이고 값만 채운 문서가 돌아옵니다.</sub></p>
|
|
188
|
+
|
|
189
|
+
ChatGPT 채팅의 파이썬 환경은 PyPI에 접속하지 못합니다. 그래서 [최신 Release](https://github.com/airmang/python-hwpx/releases/latest)의
|
|
190
|
+
`python_hwpx-*.whl`을 문서와 함께 올리고 이렇게 부탁합니다.
|
|
191
|
+
|
|
192
|
+
```text
|
|
193
|
+
첨부한 python_hwpx-*.whl 을 pip 로 설치한 다음(pip install /mnt/data/python_hwpx-*.whl),
|
|
194
|
+
이 .hwpx 파일을 python-hwpx 라이브러리로 열어서 작업해줘.
|
|
195
|
+
양식과 서식은 그대로 두고, ○○만 바꿔서 새 파일로 돌려줘.
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
설치부터 결과 파일까지 대화 안에서 끝나므로 내 컴퓨터에 파이썬이 없어도 됩니다. wheel의 의존성은 `lxml`
|
|
199
|
+
하나이고 실행 환경에 없으면 lxml wheel도 함께 올립니다. 에이전트용 지시문은 [AI 채팅 환경에서 쓰기](docs/ai-assistants.md)에,
|
|
200
|
+
AI 도구가 API를 정확히 익히도록 만든 [llms.txt](https://airmang.github.io/python-hwpx/llms.txt)도 있습니다.
|
|
201
|
+
|
|
202
|
+
| | 저장소 | 역할 |
|
|
203
|
+
|---|---|---|
|
|
204
|
+
| 📦 | [`python-hwpx`](https://github.com/airmang/python-hwpx) | HWPX 문서를 읽고·고치고·만드는 순수 파이썬 엔진 |
|
|
205
|
+
| 🔌 | [`python-hwpx-automation`](https://github.com/airmang/python-hwpx-automation) | 저작·양식 채움 워크플로, `hwpx` CLI, 선택형 MCP 서버 |
|
|
206
|
+
| 🎯 | [`hwpx-plugins`](https://github.com/airmang/hwpx-plugins) | 에이전트가 알맞은 도구를 고르도록 돕는 플러그인/스킬 번들 |
|
|
207
|
+
|
|
208
|
+
## 비교
|
|
209
|
+
|
|
210
|
+
| | python-hwpx | pyhwpx | pyhwp |
|
|
211
|
+
|---|---|---|---|
|
|
212
|
+
| **다루는 형식** | `.hwpx`, `.hwp` (HWP 5.0) 읽기·쓰기 | `.hwpx` | `.hwp` (v5 바이너리) |
|
|
213
|
+
| **한/글 설치** | 필요 없음 | 필요 (Windows COM) | 필요 없음 |
|
|
214
|
+
| **운영체제** | Linux / macOS / Windows / CI | Windows 전용 | Linux / macOS / Windows |
|
|
215
|
+
| **편집·생성** | ✅ | ✅ (한/글이 함) | 대부분 읽기 |
|
|
216
|
+
| **한/글 없이 쪽 수 추정** | ✅ (실험) | 한/글이 계산 | ❌ |
|
|
217
|
+
| **AI 에이전트 연동 (MCP)** | ✅ (automation 경유) | ❌ | ❌ |
|
|
218
|
+
|
|
219
|
+
## 알려진 제약
|
|
220
|
+
|
|
221
|
+
- `add_shape()`·`add_control()`은 저수준 탈출구라, 그대로 저장하면 한/글이 열지 못하는 파일이 됩니다(부를 때
|
|
222
|
+
경고만 나옵니다). 도형은 한/글이 요구하는 하위 요소까지 만드는 `add_line()`·`add_rectangle()`·`add_ellipse()`·
|
|
223
|
+
`add_arc()`·`add_polygon()`·`add_curve()`·`add_connector()`·`add_container()`(묶음)를, 컨트롤은
|
|
224
|
+
`add_column_definition()`·`add_bookmark()`·`add_hyperlink()`를 쓰세요.
|
|
225
|
+
- 그림은 밝기·대비·회색조·흑백·투명도, 실선 테두리, 자르기(`crop`), 그림자·빛남·부드러운 가장자리·반사
|
|
226
|
+
(`shadow`·`glow`·`soft_edge`·`reflection`)를 `add_picture()` 인자로 줄 수 있습니다. 뒤집기와 회전은 아직 안 됩니다.
|
|
227
|
+
- 쪽 수 추정과 줄 배치 정보 쓰기는 실험 기능입니다. 따르지 못하는 요소가 있으면 추정하지 않고 까닭을 돌려줍니다.
|
|
228
|
+
지금은 줄 배치 정보 없이 글자 격자를 쓰는 문단, 그리고 표 칸 안에서 글 사이에 놓이거나 떠 있는 표 가운데 쪽 끝이
|
|
229
|
+
어울림·글 뒤·앞 표나 여러 줄짜리 행을 가로지르는 경우가 여기에 듭니다. 그 밖의 칸 안 표는 쪽 끝에서 행 사이로 나뉘는
|
|
230
|
+
것까지 한/글처럼 배치합니다. 표를 읽고 고치는 기능은 이와 상관없이 표 안의 표까지 다룹니다.
|
|
231
|
+
- 암호를 건 HWPX와 암호·배포용 HWP는 지원하지 않습니다(HWP는 `Hwp5Error`로 거부합니다).
|
|
232
|
+
|
|
233
|
+
## 기여하기
|
|
234
|
+
|
|
235
|
+
[help wanted](https://github.com/airmang/python-hwpx/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) ·
|
|
236
|
+
[로드맵](https://github.com/airmang/python-hwpx/milestones) ·
|
|
237
|
+
[Discussions](https://github.com/airmang/python-hwpx/discussions) ·
|
|
238
|
+
[CONTRIBUTING](CONTRIBUTING.md)
|
|
239
|
+
|
|
240
|
+
HWPX 내부 구조가 처음이라면 [내부 실전 가이드](docs/internals/)부터 보세요. 실제 한/글 동작으로 확인한 조판
|
|
241
|
+
캐시, 목차 필드, OPC 재압축 같은 내용을 정리해 두었습니다. 공개 API의 안정 범위는 [안정 API 표면](docs/stable-api.md),
|
|
242
|
+
계층 사이의 소유권은 [제품 경계 문서](docs/architecture/product-boundary.md)에 있습니다.
|
|
243
|
+
|
|
244
|
+
## 감사의 말
|
|
245
|
+
|
|
246
|
+
아래 공개 표준과 프로젝트에 빚지고 있습니다.
|
|
247
|
+
|
|
248
|
+
- [OWPML, 개방형 워드프로세서 마크업 언어 (KS X 6101)](https://www.kssn.net/search/stddetail.do?itemNo=K001010119985): HWPX의 바탕인 한국 산업 표준
|
|
249
|
+
- [hancom-io/hwpx-owpml-model](https://github.com/hancom-io/hwpx-owpml-model): OWPML 요소 구조 참조 모델
|
|
250
|
+
- [neolord0/hwpxlib](https://github.com/neolord0/hwpxlib): 견본 코퍼스
|
|
251
|
+
- [edwardkim/rhwp](https://github.com/edwardkim/rhwp): 멱등성·검증 게이트 설계에서 영감을 받았고 다른 뷰어 호환을 확인할 때 씁니다
|
|
252
|
+
- 범정부오피스: 공무 문서 편집 워크플로 아이디어
|
|
253
|
+
|
|
254
|
+
## License · Maintainer
|
|
255
|
+
|
|
256
|
+
Apache-2.0 ([LICENSE](LICENSE) · [NOTICE](NOTICE)) · Kohkyuhyun [@airmang](https://github.com/airmang) · [kokyuhyun@hotmail.com](mailto:kokyuhyun@hotmail.com)
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<h1 align="center">python-hwpx</h1>
|
|
3
|
+
<p align="center">
|
|
4
|
+
<strong>한컴오피스 없이 한/글 문서(HWPX·HWP)를 읽고 고치고 만드는 파이썬 라이브러리</strong>
|
|
5
|
+
</p>
|
|
6
|
+
<p align="center">
|
|
7
|
+
<a href="https://pypi.org/project/python-hwpx/"><img src="https://img.shields.io/pypi/v/python-hwpx?color=blue&label=PyPI" alt="PyPI"></a>
|
|
8
|
+
<a href="https://pepy.tech/project/python-hwpx"><img src="https://static.pepy.tech/badge/python-hwpx/month" alt="Downloads"></a>
|
|
9
|
+
<a href="https://pypi.org/project/python-hwpx/"><img src="https://img.shields.io/pypi/pyversions/python-hwpx" alt="Python"></a>
|
|
10
|
+
<a href="https://github.com/airmang/python-hwpx/actions/workflows/tests.yml"><img src="https://img.shields.io/github/actions/workflow/status/airmang/python-hwpx/tests.yml?branch=main&label=tests" alt="Tests"></a>
|
|
11
|
+
<a href="https://airmang.github.io/python-hwpx/corpus-metrics.html"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fairmang.github.io%2Fpython-hwpx%2F_static%2Fbadge-hancom-open.json" alt="Hancom open"></a>
|
|
12
|
+
<a href="https://github.com/airmang/python-hwpx/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue" alt="License"></a>
|
|
13
|
+
</p>
|
|
14
|
+
</p>
|
|
15
|
+
|
|
16
|
+
<p align="center">한국어 | <a href="README_EN.md">English</a></p>
|
|
17
|
+
|
|
18
|
+
HWPX는 ZIP 안에 XML(OWPML)을 담은 형식이라, 한컴오피스가 없어도 파이썬만으로 다룰 수 있습니다.
|
|
19
|
+
python-hwpx는 Windows·macOS·Linux·CI 어디서나 돌고 의존성은 `lxml` 하나입니다. HWP 5.0(`.hwp`)도 같은
|
|
20
|
+
API로 열고 저장합니다.
|
|
21
|
+
|
|
22
|
+
만든 문서는 한컴오피스 2024에서 직접 열어 보고 그 결과를 날짜와 함께
|
|
23
|
+
[아래](#한글과-얼마나-같은가)에 적어 둡니다.
|
|
24
|
+
|
|
25
|
+
## 시작하기
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pip install python-hwpx # Python 3.10+
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
<!-- standalone-python-example -->
|
|
32
|
+
|
|
33
|
+
```python
|
|
34
|
+
from hwpx import HwpxDocument
|
|
35
|
+
|
|
36
|
+
doc = HwpxDocument.new()
|
|
37
|
+
doc.add_heading("2026 운영계획", level=1)
|
|
38
|
+
doc.add_paragraph("추진 배경", style="개요 2") # 한/글이 "가." 번호를 붙인다
|
|
39
|
+
doc.save_to_path("계획.hwpx")
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
스타일은 이름으로 고릅니다. 없는 이름을 쓰면 그 줄에서 바로 오류가 납니다.
|
|
43
|
+
있는 문서를 고칠 때는 `HwpxDocument.open("보고서.hwpx")`로 시작합니다. `.hwp`도 똑같이 열고,
|
|
44
|
+
`save_to_path("보고서.hwp")`로 HWP 5.0으로 저장할 수 있습니다.
|
|
45
|
+
|
|
46
|
+
문서 저작·양식 채움·시험지 조판 같은 상위 워크플로가 필요하면
|
|
47
|
+
[`python-hwpx-automation`](https://github.com/airmang/python-hwpx-automation)을 함께 설치하세요.
|
|
48
|
+
|
|
49
|
+
> 예전 설치 명령을 위해 `pip install "python-hwpx[visual]"`도 계속 됩니다. 다만 이 extra는 비어 있어
|
|
50
|
+
> 렌더·PDF 의존성을 설치하지 않습니다. 그 일은 `python-hwpx-automation[oracle]`이 맡습니다.
|
|
51
|
+
|
|
52
|
+
## 할 수 있는 것
|
|
53
|
+
|
|
54
|
+
- 읽기·추출: 텍스트·HTML·Markdown으로 내보냅니다. 서식, 표 안의 표, 각주를 살립니다.
|
|
55
|
+
- 편집: 문단·표·그림·머리말/꼬리말·메모·각주, 줄 간격·여백·쪽 번호 같은 서식을 고칩니다.
|
|
56
|
+
- 양식 채우기: 라벨로 칸을 찾아 값만 넣고 손대지 않은 부분은 바이트 그대로 둡니다. FormFit은 값이
|
|
57
|
+
칸에 들어가도록 줄을 바꾸거나 글자를 줄일지 한/글의 글자 폭으로 재서 고릅니다.
|
|
58
|
+
- 표 구조 편집: 행·열 넣기와 지우기, 칸 나누기와 합치기. `doc.tables[0]`처럼 번호로 표를 꺼냅니다.
|
|
59
|
+
- 만들기·일괄 처리: 새 문서, 목차·상호 참조, 메일 머지, 문서 비교, 변경 추적.
|
|
60
|
+
- HWP 5.0: `.hwp`를 HWPX로 읽어 같은 API로 고치고 `.hwp`로 저장합니다. 옮기지 못한 내용은
|
|
61
|
+
`document.conversion_report`에 남습니다.
|
|
62
|
+
- 배치 추정(실험): `estimate_pages`는 한/글 없이 쪽 수와 줄마다의 쪽·세로 위치를 추정합니다.
|
|
63
|
+
`write_line_caches`는 한/글이 저장할 때 쓰는 줄 배치 정보를, 한/글과 같은 값을 확실히 아는 문단에만 씁니다.
|
|
64
|
+
rhwp처럼 이 정보로 그림 자리를 찾는 뷰어에서도 그림이 보이게 됩니다. 기본으로는 쓰지 않습니다.
|
|
65
|
+
- 검증·안전: 패키지 구조 검사 CLI, 저장 전 열림 검사, 저장 결과 보고(`return_report=True`).
|
|
66
|
+
|
|
67
|
+
자세한 내용: [5분 퀵스타트](docs/quickstart.md) · [사용 가이드](docs/usage.md) · [API 레퍼런스](https://airmang.github.io/python-hwpx/) · [예제](docs/examples.md) · [지원 매트릭스](docs/support-matrix.md)
|
|
68
|
+
|
|
69
|
+
### 양식 채우기 예
|
|
70
|
+
|
|
71
|
+
```python
|
|
72
|
+
doc = HwpxDocument.open("신청서.hwpx")
|
|
73
|
+
values = {
|
|
74
|
+
"성명 > right": "홍길동",
|
|
75
|
+
"소속 > right": "플랫폼팀",
|
|
76
|
+
}
|
|
77
|
+
result = doc.tables.fill_by_path(values)
|
|
78
|
+
if result["failed_count"] or result["applied_count"] != len(values):
|
|
79
|
+
raise ValueError(result["failed"])
|
|
80
|
+
report = doc.save_to_path("신청서-작성완료.hwpx", mode="patch", fallback="error", return_report=True)
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
라벨이 겹치거나 없으면 실패로 돌려주고 저장하기 전에 멈출 수 있습니다. `mode="patch"`는 고치지 않은
|
|
84
|
+
ZIP 파트를 바이트 그대로 두라는 뜻입니다. 고친 파트 안쪽과 화면 배치는 따로 확인해야 합니다. 저장한 파일을
|
|
85
|
+
다시 열어 내용까지 확인하는 방법은 [안전한 쓰기 계약](docs/safe-write-contract.md)에 있습니다.
|
|
86
|
+
|
|
87
|
+
*독립 실행 예제로 표시하지 않은 블록은 여러분이 가진 문서를 입력으로 쓰는 조각입니다. 예제별 Python 블록 판정은
|
|
88
|
+
[실행 기록](docs/python-example-ledger.json)에 남겨 둡니다.*
|
|
89
|
+
|
|
90
|
+
## 한/글과 얼마나 같은가
|
|
91
|
+
|
|
92
|
+
만든 파일을 실제 한컴오피스로 열어 보고 그대로 적습니다. 숫자마다 잰 날짜와 프로그램 판을 붙입니다.
|
|
93
|
+
|
|
94
|
+
**배치: python-hwpx 6.9 이후 main · 2026-10-25**
|
|
95
|
+
|
|
96
|
+
| 무엇을 | 정답 | 결과 |
|
|
97
|
+
|---|---|---|
|
|
98
|
+
| 공개 실문서 77건의 줄 나눔이 같은 문단 | 한컴오피스 2024 (Windows)가 배치해 저장한 것 | 8,246 / 8,263 (99.8 %) |
|
|
99
|
+
| 그 77건 중 모든 줄의 쪽·위치가 같은 문서 | 같음 | 76 / 77 (나머지 1건은 표가 깨진 문서) |
|
|
100
|
+
| 줄 배치 정보를 지운 사본으로 추정한 쪽 수가 같은 문서 (공개 79 · 비공개 실문서 522 · 기능 시험 문서 780) | 그 문서를 저장한 한/글의 쪽 수 | 1,344 / 1,381 (추정하지 않음 16) |
|
|
101
|
+
|
|
102
|
+
**열림: 한컴오피스 12 (macOS)**
|
|
103
|
+
|
|
104
|
+
- 한컴에서 열림 120/120, 렌더 검증 120/120: 기준 문서와 저작 기능 6종(각주·누름틀·수식·차트·체크박스·편집
|
|
105
|
+
계획)을 줄여서 잰 것 (5.7.0 · 2026-08-03)
|
|
106
|
+
- 한컴에서 열림 476/476: 동결한 코퍼스 전체(N=497) (3.4.1 · 2026-07-19)
|
|
107
|
+
- 고치지 않은 영역의 바이트 보존 497/497, 개인정보 유출 0
|
|
108
|
+
- 렌더 검증 416/476: 한컴이 PDF 내보내기를 거부한 43건도 빼지 않고 셌습니다.
|
|
109
|
+
|
|
110
|
+
<p align="center">
|
|
111
|
+
<img src="https://raw.githubusercontent.com/airmang/python-hwpx/main/docs/assets/hancom-open-generated.png" width="760" alt="ChatGPT 실행 환경에서 python-hwpx로 생성한 HWPX 문서를 실제 한컴오피스에서 연 모습">
|
|
112
|
+
</p>
|
|
113
|
+
<p align="center"><sub>ChatGPT 실행 환경에서 만든 문서를 실제 한컴오피스로 연 모습.</sub></p>
|
|
114
|
+
|
|
115
|
+
전체 숫자와 주의할 점은 [실측 코퍼스 메트릭](https://airmang.github.io/python-hwpx/corpus-metrics.html)에,
|
|
116
|
+
기능별 등급은 [지원 매트릭스](docs/support-matrix.md)에 있습니다. 이 숫자들은 "만든 파일을 한/글이 어떻게
|
|
117
|
+
받는가"를 잰 것이고 파서가 문서를 얼마나 잘 읽는지와는 다른 지표입니다.
|
|
118
|
+
|
|
119
|
+
개발 단계는 Beta입니다. 하위 호환을 지키는 범위는 [안정 API 표면](docs/stable-api.md)에 적혀 있고,
|
|
120
|
+
`hwpx.experimental`과 위에서 "실험"이라고 적은 기능은 바뀔 수 있습니다.
|
|
121
|
+
|
|
122
|
+
## 어디서 쓰나
|
|
123
|
+
|
|
124
|
+
| 환경 | 방법 |
|
|
125
|
+
|---|---|
|
|
126
|
+
| 로컬·서버 파이썬 | `pip install python-hwpx` (스크립트·배치·CI) |
|
|
127
|
+
| 파이썬 자동화 (MCP 없이) | `pip install python-hwpx-automation` (저작·양식 채움·검증 워크플로) |
|
|
128
|
+
| 일반 ChatGPT 대화 | `.hwpx`와 [Release wheel](https://github.com/airmang/python-hwpx/releases/latest)을 함께 올려 대화 안에서 설치([안내](docs/ai-assistants.md)) |
|
|
129
|
+
| ChatGPT MCP 앱 | [`python-hwpx-automation`](https://github.com/airmang/python-hwpx-automation)의 MCP adapter를 커넥터로 등록 |
|
|
130
|
+
| Codex 마켓플레이스 플러그인 | [`hwpx-plugins`](https://github.com/airmang/hwpx-plugins) 설치 |
|
|
131
|
+
| Claude Code · Hermes · OpenClaw | 같은 MCP 서버를 각 클라이언트에 등록 ([`python-hwpx-automation`](https://github.com/airmang/python-hwpx-automation)) |
|
|
132
|
+
|
|
133
|
+
<p align="center">
|
|
134
|
+
<img src="https://raw.githubusercontent.com/airmang/python-hwpx/main/docs/assets/chatgpt-formfill.png" width="760" alt="일반 ChatGPT 대화에 hwpx 양식을 올려 지도안 작성을 부탁하고, 양식이 유지된 채 채워진 문서를 돌려받는 화면">
|
|
135
|
+
</p>
|
|
136
|
+
<p align="center"><sub>일반 ChatGPT 대화에서 양식 <code>.hwpx</code>를 올리고 부탁하면, 서식은 그대로이고 값만 채운 문서가 돌아옵니다.</sub></p>
|
|
137
|
+
|
|
138
|
+
ChatGPT 채팅의 파이썬 환경은 PyPI에 접속하지 못합니다. 그래서 [최신 Release](https://github.com/airmang/python-hwpx/releases/latest)의
|
|
139
|
+
`python_hwpx-*.whl`을 문서와 함께 올리고 이렇게 부탁합니다.
|
|
140
|
+
|
|
141
|
+
```text
|
|
142
|
+
첨부한 python_hwpx-*.whl 을 pip 로 설치한 다음(pip install /mnt/data/python_hwpx-*.whl),
|
|
143
|
+
이 .hwpx 파일을 python-hwpx 라이브러리로 열어서 작업해줘.
|
|
144
|
+
양식과 서식은 그대로 두고, ○○만 바꿔서 새 파일로 돌려줘.
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
설치부터 결과 파일까지 대화 안에서 끝나므로 내 컴퓨터에 파이썬이 없어도 됩니다. wheel의 의존성은 `lxml`
|
|
148
|
+
하나이고 실행 환경에 없으면 lxml wheel도 함께 올립니다. 에이전트용 지시문은 [AI 채팅 환경에서 쓰기](docs/ai-assistants.md)에,
|
|
149
|
+
AI 도구가 API를 정확히 익히도록 만든 [llms.txt](https://airmang.github.io/python-hwpx/llms.txt)도 있습니다.
|
|
150
|
+
|
|
151
|
+
| | 저장소 | 역할 |
|
|
152
|
+
|---|---|---|
|
|
153
|
+
| 📦 | [`python-hwpx`](https://github.com/airmang/python-hwpx) | HWPX 문서를 읽고·고치고·만드는 순수 파이썬 엔진 |
|
|
154
|
+
| 🔌 | [`python-hwpx-automation`](https://github.com/airmang/python-hwpx-automation) | 저작·양식 채움 워크플로, `hwpx` CLI, 선택형 MCP 서버 |
|
|
155
|
+
| 🎯 | [`hwpx-plugins`](https://github.com/airmang/hwpx-plugins) | 에이전트가 알맞은 도구를 고르도록 돕는 플러그인/스킬 번들 |
|
|
156
|
+
|
|
157
|
+
## 비교
|
|
158
|
+
|
|
159
|
+
| | python-hwpx | pyhwpx | pyhwp |
|
|
160
|
+
|---|---|---|---|
|
|
161
|
+
| **다루는 형식** | `.hwpx`, `.hwp` (HWP 5.0) 읽기·쓰기 | `.hwpx` | `.hwp` (v5 바이너리) |
|
|
162
|
+
| **한/글 설치** | 필요 없음 | 필요 (Windows COM) | 필요 없음 |
|
|
163
|
+
| **운영체제** | Linux / macOS / Windows / CI | Windows 전용 | Linux / macOS / Windows |
|
|
164
|
+
| **편집·생성** | ✅ | ✅ (한/글이 함) | 대부분 읽기 |
|
|
165
|
+
| **한/글 없이 쪽 수 추정** | ✅ (실험) | 한/글이 계산 | ❌ |
|
|
166
|
+
| **AI 에이전트 연동 (MCP)** | ✅ (automation 경유) | ❌ | ❌ |
|
|
167
|
+
|
|
168
|
+
## 알려진 제약
|
|
169
|
+
|
|
170
|
+
- `add_shape()`·`add_control()`은 저수준 탈출구라, 그대로 저장하면 한/글이 열지 못하는 파일이 됩니다(부를 때
|
|
171
|
+
경고만 나옵니다). 도형은 한/글이 요구하는 하위 요소까지 만드는 `add_line()`·`add_rectangle()`·`add_ellipse()`·
|
|
172
|
+
`add_arc()`·`add_polygon()`·`add_curve()`·`add_connector()`·`add_container()`(묶음)를, 컨트롤은
|
|
173
|
+
`add_column_definition()`·`add_bookmark()`·`add_hyperlink()`를 쓰세요.
|
|
174
|
+
- 그림은 밝기·대비·회색조·흑백·투명도, 실선 테두리, 자르기(`crop`), 그림자·빛남·부드러운 가장자리·반사
|
|
175
|
+
(`shadow`·`glow`·`soft_edge`·`reflection`)를 `add_picture()` 인자로 줄 수 있습니다. 뒤집기와 회전은 아직 안 됩니다.
|
|
176
|
+
- 쪽 수 추정과 줄 배치 정보 쓰기는 실험 기능입니다. 따르지 못하는 요소가 있으면 추정하지 않고 까닭을 돌려줍니다.
|
|
177
|
+
지금은 줄 배치 정보 없이 글자 격자를 쓰는 문단, 그리고 표 칸 안에서 글 사이에 놓이거나 떠 있는 표 가운데 쪽 끝이
|
|
178
|
+
어울림·글 뒤·앞 표나 여러 줄짜리 행을 가로지르는 경우가 여기에 듭니다. 그 밖의 칸 안 표는 쪽 끝에서 행 사이로 나뉘는
|
|
179
|
+
것까지 한/글처럼 배치합니다. 표를 읽고 고치는 기능은 이와 상관없이 표 안의 표까지 다룹니다.
|
|
180
|
+
- 암호를 건 HWPX와 암호·배포용 HWP는 지원하지 않습니다(HWP는 `Hwp5Error`로 거부합니다).
|
|
181
|
+
|
|
182
|
+
## 기여하기
|
|
183
|
+
|
|
184
|
+
[help wanted](https://github.com/airmang/python-hwpx/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) ·
|
|
185
|
+
[로드맵](https://github.com/airmang/python-hwpx/milestones) ·
|
|
186
|
+
[Discussions](https://github.com/airmang/python-hwpx/discussions) ·
|
|
187
|
+
[CONTRIBUTING](CONTRIBUTING.md)
|
|
188
|
+
|
|
189
|
+
HWPX 내부 구조가 처음이라면 [내부 실전 가이드](docs/internals/)부터 보세요. 실제 한/글 동작으로 확인한 조판
|
|
190
|
+
캐시, 목차 필드, OPC 재압축 같은 내용을 정리해 두었습니다. 공개 API의 안정 범위는 [안정 API 표면](docs/stable-api.md),
|
|
191
|
+
계층 사이의 소유권은 [제품 경계 문서](docs/architecture/product-boundary.md)에 있습니다.
|
|
192
|
+
|
|
193
|
+
## 감사의 말
|
|
194
|
+
|
|
195
|
+
아래 공개 표준과 프로젝트에 빚지고 있습니다.
|
|
196
|
+
|
|
197
|
+
- [OWPML, 개방형 워드프로세서 마크업 언어 (KS X 6101)](https://www.kssn.net/search/stddetail.do?itemNo=K001010119985): HWPX의 바탕인 한국 산업 표준
|
|
198
|
+
- [hancom-io/hwpx-owpml-model](https://github.com/hancom-io/hwpx-owpml-model): OWPML 요소 구조 참조 모델
|
|
199
|
+
- [neolord0/hwpxlib](https://github.com/neolord0/hwpxlib): 견본 코퍼스
|
|
200
|
+
- [edwardkim/rhwp](https://github.com/edwardkim/rhwp): 멱등성·검증 게이트 설계에서 영감을 받았고 다른 뷰어 호환을 확인할 때 씁니다
|
|
201
|
+
- 범정부오피스: 공무 문서 편집 워크플로 아이디어
|
|
202
|
+
|
|
203
|
+
## License · Maintainer
|
|
204
|
+
|
|
205
|
+
Apache-2.0 ([LICENSE](LICENSE) · [NOTICE](NOTICE)) · Kohkyuhyun [@airmang](https://github.com/airmang) · [kokyuhyun@hotmail.com](mailto:kokyuhyun@hotmail.com)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["setuptools==84.
|
|
2
|
+
requires = ["setuptools==84.2.1", "wheel==0.48.0"]
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "python-hwpx"
|
|
7
|
-
version = "6.
|
|
7
|
+
version = "6.10.0"
|
|
8
8
|
description = "한글 없이 HWPX 문서를 열고, 편집하고, 생성하고, 검증하는 Python 문서 라이브러리"
|
|
9
9
|
readme = { file = "README.md", content-type = "text/markdown" }
|
|
10
10
|
license = "Apache-2.0"
|
|
@@ -15,7 +15,7 @@ authors = [
|
|
|
15
15
|
]
|
|
16
16
|
keywords = ["hwp", "hwpx", "hancom", "opc", "xml", "document-automation", "validation", "template"]
|
|
17
17
|
classifiers = [
|
|
18
|
-
"Development Status ::
|
|
18
|
+
"Development Status :: 4 - Beta",
|
|
19
19
|
"Intended Audience :: Developers",
|
|
20
20
|
"Programming Language :: Python :: 3",
|
|
21
21
|
"Programming Language :: Python :: 3.10",
|