



import warnings
from functools import wraps
from typing import Callable






def     a(      A       :    Callable       )		->       Any:
					"""simple docstring"""





					@wraps(_SCREAMING_SNAKE_CASE       )
					def _inner_fn(*A       :    List[str] ,     **A       :    List[str]       ):
										warnings.warn(
										    (f'''\'{fn.__name__}\' is experimental and might be subject to breaking changes in the future.''') ,     _SCREAMING_SNAKE_CASE ,     )
										return fn(*_SCREAMING_SNAKE_CASE ,     **_SCREAMING_SNAKE_CASE       )

					return _inner_fn




'''simple docstring'''



import requests

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






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






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






def   lowerCamelCase							(_SCREAMING_SNAKE_CASE      :   float = 5_5.6_8						,      _SCREAMING_SNAKE_CASE      :   float = 1_2.5_7						,      _SCREAMING_SNAKE_CASE      :   str = APPID   ):
					return requests.get(URL_BASE + 'onecall'						,      params=locals()   ).json()


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

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



