Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hwp_extract-0.1.0.tar.gz (728.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hwp_extract-0.1.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

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

Hashes for hwp_extract-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b8a8cde3777fb70cd78c1e611e51292567900e0e0d39f1b2bb95a3f9f45b508c
MD5 8f0f121a407d6af4c13285585c5d1cdc
BLAKE2b-256 e5f80453d5598b846cfb00e13c4e853eb206171a6efeb8c50af46ffdc90c7273

See more details on using hashes here.

Provenance

The following attestation bundles were made for hwp_extract-0.1.0.tar.gz:

Publisher: publish.yml on volexity/hwp-extract

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for hwp_extract-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 20513f8d897c9472e504c73dbbd769baaa63afa4bbf8fc3f24353f04f201a8b8
MD5 a6a3a20715067f88e65bd0c11090edaa
BLAKE2b-256 3a4559dcb3de9b14752b5a5e289175eae198d1154a4d0f052b1acddb70c53284

See more details on using hashes here.

Provenance

The following attestation bundles were made for hwp_extract-0.1.0-py3-none-any.whl:

Publisher: publish.yml on volexity/hwp-extract

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page