def METHOD_NAME(start_value: float, end_value: float, *, time=None, rate=None, ease_function=linear):
    """
    Get an easing value
    """
    if rate is not None:
        diff = abs(start_value - end_value)
        time = diff / rate
    if time is None:
        raise ValueError("Either the 'time' or the 'rate' parameter needs to be set.")
    easing_data = EasingData(start_value=start_value,
                             end_value=end_value,
                             start_period=0,
                             cur_period=0,
                             end_period=time,
                             ease_function=ease_function)
    return easing_data