from typing import Iterable


def hr_bytes(data: Iterable[int], delimiter: str = ' ') -> str:     # pragma: no cover
    """
    Print bytes (or another int iterable) as hex and delimiters
    :param data:
        Bytes or iterable object
    :param delimiter:
        Delimiter (str value)
    :return:
        str value (02 02 04 05 06 00)
    """
    return delimiter.join(("%02x" % byte for byte in data))