






'''simple docstring'''
import requests

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

def 				a						( _UpperCAmelCase = "Chicago"       ,	_UpperCAmelCase = APPID			)					->					List[Any]:






					"""simple docstring"""







					return requests.get(URL_BASE + 'weather'       ,	params=locals()			).json()

def 				a						( _UpperCAmelCase = "Kolkata, India"       ,	_UpperCAmelCase = APPID			)					->					int:






					"""simple docstring"""







					return requests.get(URL_BASE + 'forecast'       ,	params=locals()			).json()

def 				a						( _UpperCAmelCase = 5_5.6_8       ,	_UpperCAmelCase = 1_2.5_7       ,	_UpperCAmelCase = APPID			)					->					List[Any]:






					"""simple docstring"""







					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'''






import warnings
from functools import wraps
from typing import Callable





def lowerCamelCase__     (		__lowerCamelCase			:				Callable				):







   '''simple docstring'''




   @wraps(__lowerCamelCase				)
   def _inner_fn(*__lowerCamelCase			:				int			,       **__lowerCamelCase			:				Optional[Any]				):
      warnings.warn(
          (f"'{fn.__name__}' is experimental and might be subject to breaking changes in the future.")			,       __lowerCamelCase			,       )
      return fn(*__lowerCamelCase			,       **__lowerCamelCase				)

   return _inner_fn

