$ account mete0r
The pyhwp repository is a Python library and command-line toolset for parsing, analyzing, and converting Hangul Word Processor (HWP) version 5 files. It provides tools to extract text, metadata, and structural information from HWP files and convert them to HTML, ODT (OpenDocument Text), and plain text formats. The architecture is modular, separating concerns into binary model parsing, storage abstraction, platform-specific backends, and transformation pipelines. Key entry points include command-line tools like hwp5proc (for inspection), hwp5odt/htm/txt (for conversion), and hwp5view (for viewing). The system reads HWP files via storage abstractions, parses them into record streams using a declarative binary modeling system, and optionally transforms the internal representation via XSLT for output formats. While the project shows signs of active maintenance with recent security updates and version bumps, it exhibits technical drift due to continued support for end-of-life Python versions (2.7, 3.5-3.8) and reliance on legacy compatibility code.