import hashlib


def sha256_hex(hash_input):
    """ Return 64-character hex representation of SHA256 of input.

    Args:
        hash_input (obj): a python object having a string representation.

    Returns:
        length-64 hexadecimal string representing result of applying
        SHA256 to utf-8 encoding of string representation of input.

    Example:
        >>> sha256_hex("abc")
        'ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad'
    """

    return hashlib.sha256(str(hash_input).encode('utf-8')).hexdigest()