<commit_before># weather-app
# lib.py
# Classes and functions for weather-app.


# Function definitions.
# ---------------------

# Prompt for user input. Accepts a prompt message we want to show.
def prompt(msg):
    return input(msg)

def print_data(data_in):
    print("Temp: {}".format(data_in["main"]["temp"]))
    #print("Sky: {}".format())
    print("Wind: {} MPH".format(data_in["wind"]["speed"]))

# Class definitions.
# ------------------
class Payload:
    def __init__(self, city, country, user_key):
        self.city = city
        self.country = country
        self.user_key = user_key
        self.req = {
            "appid": self.user_key,
            "q": "{},{}".format(self.city, self.country),<commit_msg>print description, and pressure from API<commit_after># weather-app
# lib.py
# Classes and functions for weather-app.

# Function definitions.
# ---------------------

# Prompt for user input. Accepts a prompt message we want to show.
def prompt(msg):
    return input(msg)

def print_data(data_in):
    print("Date: {}".format(data_in['dt']))
    print("Description: {}".format(['weather'][0]['description']))
    print("Temp: {}".format(data_in["main"]["temp"]))
    print("Wind: {} MPH".format(data_in["wind"]["speed"]))
    print("Pressure: {}".format(result['main']['pressure']))

# Class definitions.
# ------------------
class Payload:
    def __init__(self, city, country, user_key):
        self.city = city
        self.country = country
        self.user_key = user_key
        self.req = {
            "appid": self.user_key,
            "q": "{},{}".format(self.city, self.country),
{'fraction_non_alphanumeric': 0.2119531731361676, 'fraction_numerical': 0.0006161429451632779, 'mean_word_length': 2.7333333333333334, 'pattern_counts': {'":': 4, '<': 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': '1096688', 'n_tokens_mistral': 499, 'n_tokens_neox': 499, 'n_words': 118}