<commit_before>from forcastio import Forcastio

def main():
    forcast = Forcastio("ad817e0a2cb6187bca0ab7e3f648428c")
    print forcast.loadForcast(-32.008,115.806, lazy=False)

    print "===========hour========="
    byHour = forcast.getHourly()
    print byHour.summary
    
    for hourlyData in byHour.data:
        print hourlyData

    print "===========hour========="
    byHour = forcast.getHourly()
    print byHour.summary
    
    for hourlyData in byHour.data:
        print hourlyData

    print "===========daily========="
    byHour = forcast.getDaily()
    print byHour.summary
    
    for hourlyData in byHour.data:
        print hourlyData

    print "===========daily========="
    byHour = forcast.getDaily()
    print byHour.summary
    
    for hourlyData in byHour.data:
        print hourlyData


    '''temp = 0
    i = 0
    for hour in forcast.getHourly().data:
        print hour.temperature
        i = i+1
        temp = temp + hour.temperature

    print temp/i'''
    
if __name__ == "__main__":
    main()
<commit_msg>Made example a bit neater<commit_after>from forcastio import Forcastio

def main():
    forcast = Forcastio("YOUR API KEY")
    print forcast.loadForcast(-32.008,115.806)

    print "===========hour========="
    byHour = forcast.getHourly()
    print byHour.summary
    
    for hourlyDataPoint in byHour.data:
        print hourlyDataPoint

    print "===========daily========="
    byDay = forcast.getDaily()
    print byDay.summary
    
    for dailyDataPoint in byDay.data:
        print dailyDataPoint


    
if __name__ == "__main__":
    main()

{'fraction_non_alphanumeric': 0.15298507462686567, 'fraction_numerical': 0.026741293532338308, 'mean_word_length': 2.724537037037037, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6773654', 'n_tokens_mistral': 571, 'n_tokens_neox': 512, 'n_words': 124}