code: 
  
  
  """simple docstring"""
  
  
  
  
  import shutil
  
  import requests
  
  
  
  
  
  def 			a_   (  lowercase__   :Optional[int], lowercase__   :Tuple = False, lowercase__   :Tuple = "."    ):
  							__lowerCamelCase        =			"""https://api.nasa.gov/planetary/apod"""
  							return requests.get(__lowerCamelCase, params={"""api_key""": api_key}    ).json()
  
  
  
  
  
  def 			a_   (  lowercase__   :Optional[int], lowercase__   :Tuple = "."    ):
  							__lowerCamelCase        =			get_apod_data(__lowerCamelCase    )
  							__lowerCamelCase        =			apod_data["""url"""]
  							__lowerCamelCase        =			img_url.split("""/"""    )[-1]
  							__lowerCamelCase        =			requests.get(__lowerCamelCase, stream=__lowerCamelCase    )
  
  							with open(f'{path}/{img_name}', """wb+"""    ) as img_file:
  														shutil.copyfileobj(response.raw, __lowerCamelCase    )
  							del response
  							return apod_data
  
  
  
  
  
  def 			a_   (  lowercase__   :Dict    ):
  							__lowerCamelCase        =			"""https://images-api.nasa.gov/search"""
  							return requests.get(__lowerCamelCase, params={"""q""": query}    ).json()
  
  
  if __name__ == "__main__":
  					print(save_apod('YOUR API KEY'))
  					__magic_name__	:   List[Any]          =							get_archive_data('apollo 2011')["""collection"""]["""items"""]
  					print(apollo_aaaa_items[0]['data'][0]['description'])
  
  
  
  
  
style_context: 
  
  
  """simple docstring"""
  
  
  
  
  import numpy as np
  
  
  
  
  
  def 			a_   (  lowercase__   :List[str]    ):
  			__lowerCamelCase        =			np.exp(lowercase__    )
  
  			# Add up the all the exponentials
  			__lowerCamelCase        =			np.sum(lowercase__    )
  
  			# Divide every exponent by the sum of all exponents
  			__lowerCamelCase        =			exponent_vector / sum_of_exponents
  
  			return softmax_vector
  
  
  if __name__ == "__main__":
  					print(softmax((0,)))
  
  
  
  
  