Skip to main content

Simple MHL verification and sealing tools

Project description

mhl-suite

PyPI Version Operating Systems Python Versions 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.0.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.0-py3-none-any.whl (33.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mhl_suite-1.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 8e266ce772dc66dd5f14982d5d7eb03697d5a73c64c4c38300f0f359661a9077
MD5 8d21f59d88d1fde62bfbb6a69366a6e1
BLAKE2b-256 906d6e00433c0e227b79bbf363f7c2209e25a68adef5d342c0219d34e9fe3b9d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mhl_suite-1.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cab03f638a633cac4c3f3dd3252b7e009d5614fb8b805e55a36799c639e5a55a
MD5 1246a6fdd3a3339c9cacf460e07e2a74
BLAKE2b-256 81974df5c858b94976ac620c5f7ebeffb33db4bcdc978a11d82eb20b331806ee

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