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.1.0.tar.gz (30.6 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.1.0-py3-none-any.whl (33.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyhhc-1.1.0.tar.gz
  • Upload date:
  • Size: 30.6 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.1.0.tar.gz
Algorithm Hash digest
SHA256 6f80af2b6b81648d6bb303ccfbab14169c834ef7867d646cfebf6065f177fd4a
MD5 00fa075d24474c2e72076f6dd9fee456
BLAKE2b-256 3b227aee5cbe3f4a2de97813e7ee20cb552f05e7533e62b42dc66d6c99760c88

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyhhc-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 33.9 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ac6e9813fe5f72e94fcb3016b3b01b95654bfc9ab43a1d0bc54168674ba664a
MD5 17a60ff8fc1dd4c4910aca52067711a9
BLAKE2b-256 40c1b2f627c48a09051e81cf1afe3aee7065e56e468f92fd9a7df849de078f81

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