Skip to main content

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 MHL files recursively in a directory, with optional XSD schema validation and reporting. It delegates to simple-mhl for classic flat MHLs and to ascmhl for ASC-MHL.
  • simple-mhl: a modern sealing and verification tool, for classic flat 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 classic 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.

Metadata

Release files for mhl-suite 1.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mhl-suite 1.3.1
File Size Uploaded
mhl_suite-1.3.1.tar.gz 95.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mhl-suite 1.3.1
File Interpreter ABI Platform
mhl_suite-1.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 143.6 kB

Release files / mhl_suite-1.3.1.tar.gz

Download URL mhl_suite-1.3.1.tar.gz
Size 95.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5439b1710825b449cbcbe5e02b5850605dd5fa4781f077f3e16c73849d55d424
BLAKE2b-256 checksum
How to use checksums
e3b465e10f304862bffcf0f7e3acdc1d810c1d046106ddb0c3cf7883c9563488
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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}

Release files / mhl_suite-1.3.1-py3-none-any.whl

Download URL mhl_suite-1.3.1-py3-none-any.whl
Size 48.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cdc6398fee0e1416b7fb500e8b9e069e50d28e37eb0d02a782fb5223f36b0c99
BLAKE2b-256 checksum
How to use checksums
1a5116aec482cc8e1279168d8e5a8d860e09bfc6e9457a528ded376aa3afd8a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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}

Release history Release notifications | RSS feed

This release

1.3.1 This release

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page