def get_hex(binary_str):
    """
    Returns the hexadecimal string literal for the given binary string
    literal input

    :param str binary_str: Binary string to be converted to hex
    """

    return "{0:#0{1}x}".format(int(binary_str, base=2), 4)