def METHOD_NAME():
    if sys.platform.startswith('win32'):
        return platform.processor()
    elif sys.platform.startswith('darwin'):
        return subprocess.check_output(['/usr/sbin/sysctl', "-n", "machdep.cpu.brand_string"]).strip()
    elif sys.platform.startswith('linux'):
        command = 'cat /proc/cpuinfo'
        all_info = subprocess.check_output(command, shell=True).decode().strip()
        for line in all_info.split("\n"):
            if 'model name' in line:
                return re.sub(r'.*model name.*:', '', line, 1)[1:]
    return None