


'''simple docstring'''





import requests

__lowerCamelCase												=						''''''  # <-- Put your OpenWeatherMap appid here!
__lowerCamelCase												=						'''https://api.openweathermap.org/data/2.5/'''


def        a__     (					UpperCamelCase_						:      str = "Chicago",   UpperCamelCase_						:      str = APPID						):
   return requests.get(URL_BASE + '''weather''',   params=locals()						).json()


def        a__     (					UpperCamelCase_						:      str = "Kolkata, India",   UpperCamelCase_						:      str = APPID						):
   return requests.get(URL_BASE + '''forecast''',   params=locals()						).json()


def        a__     (					UpperCamelCase_						:      float = 55.68,   UpperCamelCase_						:      float = 12.57,   UpperCamelCase_						:      str = APPID						):
   return requests.get(URL_BASE + '''onecall''',   params=locals()						).json()


if __name__ == "__main__":
    from pprint import pprint

    while True:
        __lowerCamelCase												=						input('''Enter a location:''').strip()
        if location:
            pprint(current_weather(location))
        else:
            break







'''simple docstring'''





from ..utils import DummyObject, requires_backends




class 				UpperCAmelCase			(			metaclass=_snake_case						):
 UpperCAmelCase				=					["note_seq"]


 def __init__(      self							:	List[str]			,       *__lowerCamelCase							:	int			,       **__lowerCamelCase							:	Optional[int] ):
    requires_backends(self			,       ['''note_seq'''] )


 @classmethod
 def        __SCREAMING_SNAKE_CASE					(      cls							:	Optional[Any]			,       *__lowerCamelCase							:	Dict			,       **__lowerCamelCase							:	Optional[Any] ):
    requires_backends(cls			,       ['''note_seq'''] )





 @classmethod
 def        __SCREAMING_SNAKE_CASE					(      cls							:	str			,       *__lowerCamelCase							:	Any			,       **__lowerCamelCase							:	Optional[Any] ):
    requires_backends(cls			,       ['''note_seq'''] )



