Skip to main content

Open-source Python reimplementation of Microsoft's HTML Help Compiler (hhc.exe)

Project description

pyhhc

Open-source Python reimplementation of Microsoft's hhc.exe (HTML Help Compiler). Compiles .hhp projects into .chm files with no external dependencies.

Install

pip install pyhhc

Usage

Command line

pyhhc project.hhp

Library

from pyhhc import HHPProject, compile_chm

project = HHPProject.parse("project.hhp")
compile_chm(project)

Features

  • Full CHM container format (ITSF/ITSP headers, PMGL/PMGI directory)
  • LZX compression
  • Table of contents and index
  • Full-text search index ($FIftiMain)
  • All internal metadata files (#SYSTEM, #STRINGS, #WINDOWS, #TOPICS, #URLTBL, #URLSTR, #IDXHDR, $OBJINST)

License

BSL-1.0

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

pyhhc-1.0.0.tar.gz (27.3 kB view details)

Uploaded Source

Built Distribution

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

pyhhc-1.0.0-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

Details for the file pyhhc-1.0.0.tar.gz.

File metadata

  • Download URL: pyhhc-1.0.0.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyhhc-1.0.0.tar.gz
Algorithm Hash digest
SHA256 59938427f05a6e6b88df19204a3aaada52eb4a96e6ff161334b18e0b3c630c5c
MD5 c366fad95e00195e73f227eb59fea10b
BLAKE2b-256 00e78f5944582f1a064428a20793557d82ae602b143a5f4884ee89d76c357d42

See more details on using hashes here.

File details

Details for the file pyhhc-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pyhhc-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 30.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyhhc-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea0c3de5cdaf518f7c82d0b23f1fc3b8e57415de08d3bc62f236d2b0a524adb2
MD5 4f1326dba0a12add335839ec5dd6390b
BLAKE2b-256 6b4ec35d8736cadcfe4cad5f7923f3cda83a61e537cff3d4cd439e05956e22ae

See more details on using hashes here.

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