Simple object extractor for HWP files.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hwp_extract-0.1.0.tar.gz.
File metadata
- Download URL: hwp_extract-0.1.0.tar.gz
- Upload date:
- Size: 728.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8a8cde3777fb70cd78c1e611e51292567900e0e0d39f1b2bb95a3f9f45b508c
|
|
| MD5 |
8f0f121a407d6af4c13285585c5d1cdc
|
|
| BLAKE2b-256 |
e5f80453d5598b846cfb00e13c4e853eb206171a6efeb8c50af46ffdc90c7273
|
Provenance
The following attestation bundles were made for hwp_extract-0.1.0.tar.gz:
Publisher:
publish.yml on volexity/hwp-extract
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hwp_extract-0.1.0.tar.gz -
Subject digest:
b8a8cde3777fb70cd78c1e611e51292567900e0e0d39f1b2bb95a3f9f45b508c - Sigstore transparency entry: 151956306
- Sigstore integration time:
-
Permalink:
volexity/hwp-extract@19361beb4d553cb33a1342e885e86b2d66324916 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/volexity
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@19361beb4d553cb33a1342e885e86b2d66324916 -
Trigger Event:
push
-
Statement type:
File details
Details for the file hwp_extract-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hwp_extract-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20513f8d897c9472e504c73dbbd769baaa63afa4bbf8fc3f24353f04f201a8b8
|
|
| MD5 |
a6a3a20715067f88e65bd0c11090edaa
|
|
| BLAKE2b-256 |
3a4559dcb3de9b14752b5a5e289175eae198d1154a4d0f052b1acddb70c53284
|
Provenance
The following attestation bundles were made for hwp_extract-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on volexity/hwp-extract
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hwp_extract-0.1.0-py3-none-any.whl -
Subject digest:
20513f8d897c9472e504c73dbbd769baaa63afa4bbf8fc3f24353f04f201a8b8 - Sigstore transparency entry: 151956307
- Sigstore integration time:
-
Permalink:
volexity/hwp-extract@19361beb4d553cb33a1342e885e86b2d66324916 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/volexity
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@19361beb4d553cb33a1342e885e86b2d66324916 -
Trigger Event:
push
-
Statement type: