from typing import Dict


def calculate_percentages(hour_production: Dict[str, float]) -> Dict[str, int]:
    """Calculate percentages from all values in the dictionary.

    Returns dictionary with same keys but percentage values as integers.
    Percentage total not always 100 due to rounding to integers
    """
    total = sum(float(v) for v in hour_production.values())
    percentages = {k: int(round(v / total * 100)) for k, v in hour_production.items()}
    return percentages