def hour_angle_localtime(localtime):
    """
    returns the hour angle from time in Python datetime format
    no corrections for equation of time, longitude, timezone
    
    this function is used for the generation of solar path plots,
    where the time input is already in naive format and no eot
    correction is necessary

    input:
    - localtime, local (solar) time in Python datetime format
    
    output:
    - hour angle in decimal degrees [-180..+180], float

    """
    hour = localtime.hour
    minute = localtime.minute
    hra = round((hour - 12) * 15 + minute / 4, 3)
    return hra
