Skip to main content

hwp-to-md

Convert Korean HWP (Hangul Word Processor) files to Markdown format.

Installation

pip install hwp-to-md

Usage

Command Line

# Convert single file
hwp-to-md convert document.hwp

# Convert with custom output path
hwp-to-md convert document.hwp -o output.md

# Convert all HWP files in directory
hwp-to-md convert ./documents/

# Check dependencies
hwp-to-md check

# Install dependencies
hwp-to-md install

Python API

from hwp_to_md import convert_hwp, batch_convert

# Single file
success, message = convert_hwp("document.hwp")

# Batch convert
results = batch_convert("./documents/")
for file_path, success, message in results:
    print(f"{file_path}: {'✓' if success else '✗'} {message}")

Requirements

  • Python 3.8+
  • pyhwp (hwp5html)
  • html2text

How it works

  1. HWP → HTML: Uses hwp5html from pyhwp to extract HTML
  2. HTML → Markdown: Uses html2text to convert to Markdown

License

MIT

Metadata

Release files for hwp-to-md 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hwp-to-md 0.1.0
File Size Uploaded Provenance Actions
hwp_to_md-0.1.0.tar.gz 3.8 kB Without provenance Details for hwp_to_md-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hwp-to-md 0.1.0
File Interpreter ABI Platform Actions
hwp_to_md-0.1.0-py3-none-any.whl Python 3 none any Details for hwp_to_md-0.1.0-py3-none-any.whl

Total release size: 8.7 kB

Release files / hwp_to_md-0.1.0.tar.gz

Download URL hwp_to_md-0.1.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5597f6d2729219278a4af4e9a9cf498d6a3f23aed4c7faf0ed51ce723dca5fb5
BLAKE2b-256 checksum
How to use checksums
48e0146dd82a8d8d1b6ce017345de9822b3a5071fd82809f6d38e50a6bb68d99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / hwp_to_md-0.1.0-py3-none-any.whl

Download URL hwp_to_md-0.1.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2fdef508138dd9337a87570ab6254b6ad2e200a2f87b06642352bb891d66c75e
BLAKE2b-256 checksum
How to use checksums
b3e3725c0d94048a9c28727c9ff96a0d3c9882c8761f8427ca71b0c99709eadb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for hwp-to-md 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page