automation

Python Hwpx

Pure Python HWPX automation: read, edit, generate, and validate documents without Hancom Office.
102 stars33 forksPythonUpdated 7/31/2026100% free · open source
What it does

Python-hwpx allows you to automate reading, editing, generating, and validating HWPX documents without needing Hancom Office

When to use it
  • Automating tasks involving Korean document formats
  • Integrating HWPX document processing into a larger Python application
  • Migrating or converting legacy HWPX documents to other formats
Ready-to-paste prompt
doc = hwpx.Document('example.hwp'); doc.add_paragraph('This is a new paragraph.'); doc.save('modified_example.hwp')
Heads up: Ensure you have the necessary dependencies installed, including `lxml` and `Pillow`, as python-hwpx relies on these libraries for XML parsing and image processing
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/python-hwpx && curl -fsSL https://workflowstacks.com/api/skills/python-hwpx/claude-skill -o ~/.claude/skills/python-hwpx/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How Python Hwpx works
Codeflow
Free to inspect

Python Hwpx is a very large Python project (~87k lines across 271 code files, plus 167 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit this month, Apache-2.0 license, has a test suite.

Size
Very large codebase
~87k lines · 271 code files · days to read — use, don't read
Setup
One-command install
Installs like a normal app. Reading the code is optional.
Runs on
Python
No API keys detected
Python 99%PowerShell 1%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    pyproject.toml
    Dependencies and the commands it exposes
  3. 3
    src/hwpx/__init__.py
    Inside src/ — the main logic begins here
  4. 4
    examples/FormattingShowcase.hwpx
    A worked example — copy this to get going
What's in each folder
src/Core code — the actual logic155 files
docs/Documentation112 files
examples/Examples you can copy8 files
scripts/Helper scripts71 files
probes/Folder47 files
DevDoc/Folder10 files
tests/Tests — proof it works459 files
.github/CI / automation (GitHub Actions)14 files
READMEHas testsDocumentedCI checksExamples includedApache-2.0 licenseUpdated this month
Quick Actions
Details
Creator
airmang
Language
Python
Category
automation
Published
9/17/2025

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.