from typing import Tuple


def url_hash_fragment(distribution_url: str) -> Tuple[str, str]:
    """Given a distribution URL, return (hashname, hashvalue) tuple.

    If hash fragment is not present, return ('', '')."""
    algo_type, hash_value = distribution_url.split('#')[1].split('=')
    return algo_type, hash_value