Registry / data / pyhwp
library0.1b15pypypiunverified

A Python library for parsing HWP (Hangul Word Processor) files, a legacy Korean document format. Current version 0.1b15, beta release cadence is irregular.

pip install pyhwp
INSTALL
IMPORT
SIG · PYHWP
P
pyhwp
datapythonv0.1b15
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HWPFile
from hwp5 import HWPFile
from pyhwp.hwp5 import HWPFile

Read text content from an HWP file.

from pyhwp.hwp5 import HWPFile import os hwp_path = os.environ.get('HWP_SAMPLE', 'sample.hwp') hwp = HWPFile(hwp_path) print(hwp.to_text())
Debug
Known issues
gotchaThe package is in beta (0.1b15); API stability is not guaranteed. Expect breaking changes between versions.
fix
Pin to a specific version, e.g., pyhwp==0.1b15
affects: all
deprecatedPyPI name 'pyhwp' may be confused with 'pyhwp' Chinese word processor library, but this is the Korean HWP parser.
fix
Install from PyPI with correct case: pip install pyhwp
affects: all
Upgrade
Version history
0.1b15latest on PyPI · released May 30, 2020
Audit
Dependencies
lxmlrequiredXML parsing for HWPML extraction
Agent activity
4 hits · last 30 days
node
4
Resources
pyhwp — pip install pyhwp · libregistry