HWP Extract
This is a Python utility for extracting objects and metadata from .hwp files. This script supports extraction of objects from password
protected HWP files (assuming a password is provided).
Installation
To install HWP Extract, you can use something like this:
python -m pip install hwp-extract
Usage as a library
For examples of how to use HWP Extract as a library, review the code in src/hwpextract/cli.py
CLI usage
Following successful installation of HWP Extract a new CLI utility will be available, for usage see:
hwp-extract --help
Extract embedded files
hwp-extract /path/to/file.hwp --extract-files
Display metadata
hwp-extract /path/to/file.hwp --extract-meta
Extract embedded files from a password protected HWP file with password 1234
hwp-extract /path/to/file.hwp --extract-files --password 1234
Disclaimer
There's another great library for working with .hwp files which is published here. The primary reasons to use this library over pyhwp are:
- Simpler CLI interaction
- Support for password protected HWP files.
If you're looking for a function in this library that doesn't exist, it may well exist in PyHwp.
Metadata
Release files for hwp-extract 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 | |
|---|---|---|---|
| hwp_extract-0.1.0.tar.gz | 728.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hwp_extract-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 739.1 kB
Release files / hwp_extract-0.1.0.tar.gz
| Download URL | hwp_extract-0.1.0.tar.gz |
|---|---|
| Size | 728.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8a8cde3777fb70cd78c1e611e51292567900e0e0d39f1b2bb95a3f9f45b508c
|
|
BLAKE2b-256 checksum How to use checksums |
e5f80453d5598b846cfb00e13c4e853eb206171a6efeb8c50af46ffdc90c7273
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
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 27, 2024.
Transparency logRelease files / hwp_extract-0.1.0-py3-none-any.whl
| Download URL | hwp_extract-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20513f8d897c9472e504c73dbbd769baaa63afa4bbf8fc3f24353f04f201a8b8
|
|
BLAKE2b-256 checksum How to use checksums |
3a4559dcb3de9b14752b5a5e289175eae198d1154a4d0f052b1acddb70c53284
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
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 27, 2024.
Transparency log