python-hwpx 2.3__tar.gz → 2.4__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.
Files changed (60) hide show
  1. {python_hwpx-2.3 → python_hwpx-2.4}/LICENSE +32 -32
  2. {python_hwpx-2.3/src/python_hwpx.egg-info → python_hwpx-2.4}/PKG-INFO +333 -257
  3. {python_hwpx-2.3 → python_hwpx-2.4}/README.md +266 -190
  4. {python_hwpx-2.3 → python_hwpx-2.4}/pyproject.toml +86 -86
  5. {python_hwpx-2.3 → python_hwpx-2.4}/setup.cfg +4 -4
  6. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/__init__.py +36 -36
  7. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/document.py +1362 -890
  8. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/opc/package.py +607 -514
  9. python_hwpx-2.4/src/hwpx/opc/xml_utils.py +86 -0
  10. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/oxml/__init__.py +222 -220
  11. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/oxml/body.py +435 -435
  12. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/oxml/common.py +36 -36
  13. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/oxml/document.py +4727 -3494
  14. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/oxml/header.py +1369 -1369
  15. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/oxml/header_part.py +10 -10
  16. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/oxml/memo.py +10 -10
  17. python_hwpx-2.4/src/hwpx/oxml/namespaces.py +24 -0
  18. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/oxml/paragraph.py +10 -10
  19. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/oxml/parser.py +72 -72
  20. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/oxml/schema.py +44 -44
  21. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/oxml/section.py +10 -10
  22. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/oxml/table.py +10 -10
  23. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/oxml/utils.py +85 -85
  24. python_hwpx-2.4/src/hwpx/package.py +30 -0
  25. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/templates.py +33 -33
  26. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/tools/__init__.py +44 -36
  27. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/tools/_schemas/header.xsd +14 -14
  28. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/tools/_schemas/section.xsd +12 -12
  29. python_hwpx-2.4/src/hwpx/tools/exporter.py +272 -0
  30. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/tools/object_finder.py +347 -347
  31. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/tools/text_extractor.py +726 -726
  32. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/tools/validator.py +184 -184
  33. {python_hwpx-2.3 → python_hwpx-2.4/src/python_hwpx.egg-info}/PKG-INFO +333 -257
  34. {python_hwpx-2.3 → python_hwpx-2.4}/src/python_hwpx.egg-info/SOURCES.txt +5 -0
  35. {python_hwpx-2.3 → python_hwpx-2.4}/tests/test_coverage_targets.py +74 -74
  36. {python_hwpx-2.3 → python_hwpx-2.4}/tests/test_document_context_manager.py +65 -65
  37. {python_hwpx-2.3 → python_hwpx-2.4}/tests/test_document_formatting.py +619 -619
  38. {python_hwpx-2.3 → python_hwpx-2.4}/tests/test_document_save_api.py +55 -55
  39. {python_hwpx-2.3 → python_hwpx-2.4}/tests/test_inline_models.py +113 -113
  40. {python_hwpx-2.3 → python_hwpx-2.4}/tests/test_integration_hwpx_compatibility.py +228 -228
  41. python_hwpx-2.4/tests/test_integration_roundtrip.py +329 -0
  42. {python_hwpx-2.3 → python_hwpx-2.4}/tests/test_memo_and_style_editing.py +305 -305
  43. python_hwpx-2.4/tests/test_new_features.py +529 -0
  44. {python_hwpx-2.3 → python_hwpx-2.4}/tests/test_opc_package.py +81 -81
  45. {python_hwpx-2.3 → python_hwpx-2.4}/tests/test_oxml_parsing.py +385 -385
  46. {python_hwpx-2.3 → python_hwpx-2.4}/tests/test_packaging_py_typed.py +38 -38
  47. python_hwpx-2.4/tests/test_paragraph_section_management.py +215 -0
  48. {python_hwpx-2.3 → python_hwpx-2.4}/tests/test_repr_snapshots.py +68 -68
  49. {python_hwpx-2.3 → python_hwpx-2.4}/tests/test_section_headers.py +143 -143
  50. {python_hwpx-2.3 → python_hwpx-2.4}/tests/test_tables_default_border.py +81 -81
  51. {python_hwpx-2.3 → python_hwpx-2.4}/tests/test_text_extractor_annotations.py +126 -126
  52. {python_hwpx-2.3 → python_hwpx-2.4}/tests/test_version_metadata.py +25 -25
  53. python_hwpx-2.3/src/hwpx/opc/xml_utils.py +0 -50
  54. python_hwpx-2.3/src/hwpx/package.py +0 -24
  55. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/data/Skeleton.hwpx +0 -0
  56. {python_hwpx-2.3 → python_hwpx-2.4}/src/hwpx/py.typed +0 -0
  57. {python_hwpx-2.3 → python_hwpx-2.4}/src/python_hwpx.egg-info/dependency_links.txt +0 -0
  58. {python_hwpx-2.3 → python_hwpx-2.4}/src/python_hwpx.egg-info/entry_points.txt +0 -0
  59. {python_hwpx-2.3 → python_hwpx-2.4}/src/python_hwpx.egg-info/requires.txt +0 -0
  60. {python_hwpx-2.3 → python_hwpx-2.4}/src/python_hwpx.egg-info/top_level.txt +0 -0
@@ -1,32 +1,32 @@
1
- Non-Commercial License
2
-
3
- Copyright (c) 2024 python-hwpx Maintainers
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to use,
7
- copy, modify, merge, publish, distribute, and sublicense the Software only for
8
- non-commercial purposes, subject to the following conditions:
9
-
10
- 1. Non-Commercial Use Only. The Software may be used, copied, modified,
11
- merged, published, distributed, and sublicensed only for non-commercial
12
- purposes. "Non-Commercial" means use that is not primarily intended for or
13
- directed toward commercial advantage, monetary compensation, or any form of
14
- direct or indirect commercial exploitation.
15
-
16
- 2. Attribution. The above copyright notice and this permission notice shall be
17
- included in all copies or substantial portions of the Software.
18
-
19
- 3. No Warranty of Commercial Support. The maintainers are not obligated to
20
- provide commercial support, maintenance, or updates.
21
-
22
- THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
- FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL THE
25
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
- SOFTWARE.
29
-
30
- If you require permissions to use this Software for commercial purposes,
31
- please contact the copyright holders to negotiate an alternative licensing
32
- arrangement.
1
+ Non-Commercial License
2
+
3
+ Copyright (c) 2024 python-hwpx Maintainers
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to use,
7
+ copy, modify, merge, publish, distribute, and sublicense the Software only for
8
+ non-commercial purposes, subject to the following conditions:
9
+
10
+ 1. Non-Commercial Use Only. The Software may be used, copied, modified,
11
+ merged, published, distributed, and sublicensed only for non-commercial
12
+ purposes. "Non-Commercial" means use that is not primarily intended for or
13
+ directed toward commercial advantage, monetary compensation, or any form of
14
+ direct or indirect commercial exploitation.
15
+
16
+ 2. Attribution. The above copyright notice and this permission notice shall be
17
+ included in all copies or substantial portions of the Software.
18
+
19
+ 3. No Warranty of Commercial Support. The maintainers are not obligated to
20
+ provide commercial support, maintenance, or updates.
21
+
22
+ THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL THE
25
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
+ SOFTWARE.
29
+
30
+ If you require permissions to use this Software for commercial purposes,
31
+ please contact the copyright holders to negotiate an alternative licensing
32
+ arrangement.