pyhwp
hwp file format parser
Decision gist · record as of 2026-08-14
Yes, with conditions. Install if you need to parse or extract data from HWP files and can tolerate beta-status software and high install friction. The package is actively maintained, has no known vulnerabilities, and fills a niche need for HWP document handling. However, be aware that the last release was in 2020, the experimental conversion features may not be production-ready, and AGPLv3+ licensing imposes copyleft obligations on derivative works.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires cryptography, lxml, and olefile as runtime dependencies; source distribution requires build tools; Python 2.7 or 3.5+ support declared but package is in beta.
- High install friction due to source distribution and no runtime dependencies listed in metadata.
- Package is actively maintained with recent commits, but last release was in 2020; requires --pre flag for installation due to beta versioning.
License · maintenance · safety
(agpl) — Licensed under GNU Affero General Public License v3 or later (AGPLv3+). This is a copyleft license requiring that any modifications or derivative works distributed must also be released under AGPLv3+, and may impose network use restrictions depending on deployment context.
last release 2020-05-30 (2267 days) · last repo commit 2026-05-19 · 302 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 329,765 downloads/mo, #7,543 on PyPI
Alternatives
Verify before relying
pip install --pre pyhwp
import pyhwp
# Parse HWP file and extract streams
with open('document.hwp', 'rb') as f:
doc = pyhwp.parse(f)- Whether the package actually works reliably with Python 3.8+ given the last release was 2020 and Python has evolved significantly
- Current state of the experimental ODT and plain text conversion features and their stability
- Whether cryptography, lxml, and olefile are correctly declared as install-time dependencies despite not appearing in the metadata
What it is and what it does
pyhwp is a parser and processor for HWP (Hancom Word Processor) Document Format v5 files, the native format used by Korean word processing software. It allows you to read HWP files, analyze their internal structure, and extract embedded streams and content. The package includes experimental features for converting HWP documents to OpenDocument (.odt) or plain text (.txt) formats, making it useful for document analysis, format conversion, and content extraction workflows.
The package depends on cryptography, lxml, and olefile for its core functionality. It is actively maintained and supports multiple Python implementations (CPython, Jython, PyPy) across Python 2.7 and 3.5–3.8. However, it is distributed as a source tarball and remains in beta status, requiring the --pre flag during installation.
Use it for
- Extract text and metadata from HWP documents for indexing or archival purposes
- Convert HWP files to OpenDocument format for compatibility with other office suites
- Analyze the internal structure and streams of HWP files for forensic or research purposes
- Batch process Korean word processor documents in automated workflows
- Migrate legacy HWP documents to open formats for long-term preservation
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
Install if you need to parse or extract data from HWP files and can tolerate beta-status software and high install friction. The package is actively maintained, has no known vulnerabilities, and fills a niche need for HWP document handling. However, be aware that the last release was in 2020, the experimental conversion features may not be production-ready, and AGPLv3+ licensing imposes copyleft obligations on derivative works.
Install
pyhwp on PyPI
Before you install
High install friction due to source distribution and no runtime dependencies listed in metadata. Package is actively maintained with recent commits, but last release was in 2020; requires --pre flag for installation due to beta versioning.
Requires cryptography, lxml, and olefile as runtime dependencies; source distribution requires build tools; Python 2.7 or 3.5+ support declared but package is in beta.
License in practice
Licensed under GNU Affero General Public License v3 or later (AGPLv3+). This is a copyleft license requiring that any modifications or derivative works distributed must also be released under AGPLv3+, and may impose network use restrictions depending on deployment context.
Quickstart
pip install --pre pyhwp
import pyhwp
# Parse HWP file and extract streams
with open('document.hwp', 'rb') as f:
doc = pyhwp.parse(f)
Verify before relying
- Whether the package actually works reliably with Python 3.8+ given the last release was 2020 and Python has evolved significantly
- Current state of the experimental ODT and plain text conversion features and their stability
- Whether cryptography, lxml, and olefile are correctly declared as install-time dependencies despite not appearing in the metadata
Package facts
| License | Not declared agpl |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Actively maintained 2,267 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 329,765 / month, #7,543 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: JythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text ProcessingTopic :: Text Processing :: Filters |
Evidence: pyhwp-0.1b15.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “hwp file parser”
- pyhwpParses and extracts data from HWP Document Format v5 files, with…
- pyhwpxAutomates HWP (아래아한글) document creation and editing through Python by…
- pymupdfproPyMuPDF Pro extends PyMuPDF with commercial Office document…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also python-hwpx · pyhwpx · pyexcel-ezodf · odfdo · pymupdfpro · docx · textract · olefile · ezodf