Skip to content

Latest commit

 

History

History
94 lines (62 loc) · 1.97 KB

README.md

File metadata and controls

94 lines (62 loc) · 1.97 KB

docpler

A Python library for converting HWP documents to Markdown.

HWP is a document format used by Hancom Office, the most widely used word processor in South Korea — commonly found in government, legal, and academic documents.

docpler uses a high-performance Rust core to parse HWP 5.0 files and produce clean Markdown output, including tables, equations, and text boxes.

Supported Formats

Format Read Output
HWP 5.0 ✅ Markdown

Installation

pip install docpler

Usage

from docpler.hwp import convert

markdown = convert("document.hwp")
print(markdown)

MarkItDown Plugin

pip install markitdown-hwp
from markitdown import MarkItDown

md = MarkItDown(enable_plugins=True)
result = md.convert("document.hwp")
print(result.text_content)

한국어

HWP(한글 워드프로세서) 문서를 Markdown으로 변환하는 Python 패키지입니다. Rust 코어 기반으로 빠르고 정확한 파싱을 제공합니다.

설치

pip install docpler

사용법

from docpler.hwp import convert

markdown = convert("document.hwp")
print(markdown)

markitdown 플러그인

pip install markitdown-hwp
from markitdown import MarkItDown

md = MarkItDown(enable_plugins=True)
result = md.convert("document.hwp")
print(result.text_content)

License

Elastic License 2.0 (ELv2)

  • Free to use for any purpose, including production use
  • Cannot be provided to others as a hosted or managed service
  • Cannot circumvent license key functionality
  • Must preserve copyright and trademark notices
  • Rust core engine: distributed as compiled binary, source code is private

HWP Format Notice

This product was developed with reference to the HWP document file (.hwp) specification published by Hancom.