def _get_type_name(variable):
    """ get the type name of a variable

    Inputs:
    -----------
    variable : a python variable/class instance

    Return:
    -------
    type_ : A string describing the type or the class name of the variable
    """
    type_ = variable.__class__.__name__
    return type_
