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 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.

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.3.1.tar.gz (95.6 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.3.1-py3-none-any.whl (48.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mhl_suite-1.3.1.tar.gz
  • Upload date:
  • Size: 95.6 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for mhl_suite-1.3.1.tar.gz
Algorithm Hash digest
SHA256 5439b1710825b449cbcbe5e02b5850605dd5fa4781f077f3e16c73849d55d424
MD5 cf87dddcb9228c2227d990d1b420cfbe
BLAKE2b-256 e3b465e10f304862bffcf0f7e3acdc1d810c1d046106ddb0c3cf7883c9563488

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhl_suite-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 48.0 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for mhl_suite-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cdc6398fee0e1416b7fb500e8b9e069e50d28e37eb0d02a782fb5223f36b0c99
MD5 589bbf6c1699411c7c206a14920b0c1a
BLAKE2b-256 1a5116aec482cc8e1279168d8e5a8d860e09bfc6e9457a528ded376aa3afd8a0

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