ttdu-hwp
Thin client (Python standard library only) for HWP/HWPX conversion with the Tools That Don't Upload API or its offline local runner: text with structure, Markdown, or DOCX. Used by markitdown-ttdu-hwp and docling-ttdu-hwp.
from ttdu_hwp import HwpClient, EncryptedDocumentError
c = HwpClient("hub") # or HwpClient("local", local_key_file="local-api-key.txt")
print(c.markdown("notice.hwp").markdown)
open("notice.docx", "wb").write(c.docx("notice.hwp").docx)
ttdu-hwp notice.hwp --to markdown
ttdu-hwp notice.hwpx --to docx -o notice.docx --backend local
Where your document goes
- Hub API (default,
TTDU_HWP_BACKEND=hub): the document is sent over HTTPS totoolsthatdontupload.com, read in memory for that request, and not stored. Without a key: 20 calls a day per IP; with a key (TTDU_API_KEY): 20 free file calls a day, then credits. Files up to 15 MB. - Local runner (
TTDU_HWP_BACKEND=local): the offline runner on the same computer (ttdu serve, 127.0.0.1 only, key fromlocal-api-key.txtviaTTDU_LOCAL_KEY_FILE). The document does not leave the computer.
The first hub call warns once until TTDU_HWP_BACKEND is set. Full settings, error types and limits: see the repository README and https://toolsthatdontupload.com/docs/hwp/ .
Notices
MIT license. This package contains no HWP parser; it calls the Tools That Don't Upload service (which reads documents with rhwp, MIT). This product was developed with reference to the HWP document file (.hwp) specification published by Hancom Inc. Hangul Word Processor (HWP) is a trademark of Hancom Inc. Not affiliated with Hancom Inc.
한국어: 기본 설정(허브 API)에서는 문서가 toolsthatdontupload.com 서버로 전송됩니다(요청 동안 메모리 처리, 저장 안 함). 외부 전송이 안 되는 문서는 TTDU_HWP_BACKEND=local 로 같은 PC의 로컬 실행기를 쓰세요. 한글(HWP)은 ㈜한글과컴퓨터의 상표이며 이 프로젝트는 한컴과 관계가 없습니다.
Metadata
Release files for ttdu-hwp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ttdu_hwp-0.1.0.tar.gz | 10.5 kB | With provenance | Details for ttdu_hwp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ttdu_hwp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ttdu_hwp-0.1.0-py3-none-any.whl |
Total release size: 23.4 kB
Release files / ttdu_hwp-0.1.0.tar.gz
| Download URL | ttdu_hwp-0.1.0.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3a250bbbbde1988a48a6bfa04d4c9042ba605843587b929a42e79116269f7be
|
|
BLAKE2b-256 checksum How to use checksums |
096b9625fa7fb0192b6a6e1e7d56bf4af345a9b814f16370bc14850002cc8be1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logRelease files / ttdu_hwp-0.1.0-py3-none-any.whl
| Download URL | ttdu_hwp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b6fb0d84e4f95351c88b9b24b91abe330a21903ddc411345c91a1429a45bf1c
|
|
BLAKE2b-256 checksum How to use checksums |
8c21a8e9da43ad5b03b34942e190f26295917f46b81e4c144a33222a562a43af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logSecurity for ttdu-hwp 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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ttdu_hwp-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logA 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.