def tipo(inpt, keep_module: bool = True) -> str:
    """
    Return the name of an object's type
    params:
        keep_module
            If set to False, the name of the class will be returned without any explicit reference to package nesting
    """
    if isinstance(inpt, type):
        inpt = str(inpt)
    if keep_module:
        return str(type(inpt)).split("'")[1]
    return str(type(inpt)).split("'")[1].split('.')[-1]