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.0.tar.gz (88.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.3.0-py3-none-any.whl (44.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mhl_suite-1.3.0.tar.gz
  • Upload date:
  • Size: 88.0 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.0.tar.gz
Algorithm Hash digest
SHA256 44626fa8b25a5ab90baa04720031e33bd3cec68da1f57055077e95d8b3ba301e
MD5 cbf889e092e1cd2f88cf5c6e7d21adbc
BLAKE2b-256 25ce8645ded6a2ae4bb6df4e0ff393029d54a3b77ff969045d041304fe2fbfec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhl_suite-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 44.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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03b451927a43844721662c796e7fdc3aa86a3fbd785b87459d1e3fab18d9ae2e
MD5 5db1cfb53b8988b6f03d3a671d3cbebb
BLAKE2b-256 bc2416b749b179023eb1c7125f1da4754c1783afd374894f50f606ae47ef3e5b

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