Skip to main content

Simple MHL verification and sealing tools

Project description

mhl-suite

PyPI Version OS Ruff ty CI codecov

mhl-suite is a toolkit for sealing and verifying MHL files. It consists of two primary executables:

  • mhlver: one tool to verify them all. A wrapper that verifies MHLs recursively in a directory, with optional XSD schema validation and reporting. It delegates to simple-mhl for legacy flat MHLs and to ascmhl for ASC-MHL.
  • simple-mhl: a modern sealing and verification tool, for legacy MHL files. A successor of the discontinued mhl-tool and backwards compatible with its manifests - 2 to 5 times faster, full support for standard xxhash64be hashes, XSD schema validation features, cleaner output and structured exit codes.

🚀 Installation

  1. Install the uv package manager with the official installer, or:
  • macOS: brew install uv
  • Windows: winget install astral-sh.uv
  • Linux (Debian): apt-get install uv
  1. Install the toolkit:
uv tool install mhl-suite
  1. Test the installation (if the command is not recognised try uv tool update-shell and restart your terminal):
mhlver --version; simple-mhl --version

📖 Usage examples

Verify MHL files (both flat and ASC-MHL):

mhlver path/to/file.mhl
mhlver path/to/directory/
mhlver                                     # verify current directory

Seal a directory:

simple-mhl seal path/to/directory/
simple-mhl seal -a md5 path/to/directory/   # use MD5 algorithm

Validate XML Schema Definition of a file:

mhlver --xsd-schema-check path/to/file

Run simple-mhl --help and mhlver --help to see the full list of options.

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

mhl_suite-1.2.1.tar.gz (65.0 kB view details)

Uploaded Source

Built Distribution

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

mhl_suite-1.2.1-py3-none-any.whl (33.2 kB view details)

Uploaded Python 3

File details

Details for the file mhl_suite-1.2.1.tar.gz.

File metadata

  • Download URL: mhl_suite-1.2.1.tar.gz
  • Upload date:
  • Size: 65.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","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 mhl_suite-1.2.1.tar.gz
Algorithm Hash digest
SHA256 4d449a97efcfe9a47c4d6993128e14efd8b0825e7b96a0e1aaa1ff32068d2302
MD5 712c6962867a7306e7ba2774da7e7b0f
BLAKE2b-256 8a8678317dfe7f4421ff2487e234c81b5eed02ef750d40a8859365dd19bb7025

See more details on using hashes here.

File details

Details for the file mhl_suite-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: mhl_suite-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 33.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","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 mhl_suite-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4de50c1150f6247d60a8ca575cc340b285b16f955596d208a4e6e7d72d89f169
MD5 726d4a51fc0b5965e58a97d9440691da
BLAKE2b-256 1ceaf7872f031019633a3c4808e40ac688c171d9e9fc7fc520914a1b8993b5dd

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