code: def simple_dict() -> Callable:
      
  
      def parse(dict_str: str):
  
          def _parse(value: str):
              if value == "True":
                  return True
              if value == "False":
                  return False
              if "." in value:
                  return float(value)
              return int(value)
  
          _dict = dict()
          try:
              for entry in dict_str.split(","):
                  key, value = entry.split(":")
                  _dict[key] = _parse(value)
          except ValueError:
              raise argparse.ArgumentTypeError("Specify argument dictionary as key1:value1,key2:value2,..."
                                               " Supported types: bool, int, float.")
          return _dict
  
      return parse
docs: A simple dictionary format that does not require spaces or quoting.
  
      Supported types: bool, int, float
  
      :return: A method that can be used as a type in argparse.