def int2ascii(i: int) -> str:
    """Convert an integer to an ASCII character.

    Args:
        i (int): Integer value to be converted to ASCII text.

    Note:
        The passed integer value must be <= 127.

    Raises:
        ValueError: If the passed integer is > 127.

    Returns:
        str: The ASCII character associated to the passed integer.

    """
    if i > 127:
        raise ValueError('The passed integer value must be <= 127.')
    return chr(i)