def to_upper_underscore(name: str) -> str:
    """Transform package name into uppercase with underscores.

    Example:

        >>> pkg_2_uu('a-pkg')
        'A_PKG'

    """
    return name.replace("-", "_").upper() + "_"