def get_url_suffix_from_platform() -> str:
    machine = platform.machine()
    if (sys.platform == 'win32'):
        architecture = platform.architecture()
        if ((machine == 'AMD64') or (machine == 'x86')):
            if (architecture[0] == '64bit'):
                return 'win64'
            else:
                return 'win32'
        else:
            sys.exit('Native Windows on ARM is not suported')
    elif (sys.platform == 'darwin'):
        sys.exit('Darwin is not supported')
    elif ((machine == 'AMD64') or (machine == 'x86_64')):
        return 'ubuntu18_x86_64'
    elif ('arm' in machine):
        return 'raspbian_armhf'
    else:
        sys.exit('Your architecture is not supported')
def get_url_suffix_from_platform() -> str:
    machine = platform.machine()
    if (sys.platform == 'win32'):
        architecture = platform.architecture()
        if ((machine == 'AMD64') or (machine == 'x86')):
            if (architecture[0] == '64bit'):
                return 'win64'
            else:
                return 'win32'
        else:
            sys.exit('Native Windows on ARM is not suported')
    elif (sys.platform == 'darwin'):
        sys.exit('Darwin is not supported')
    elif ((machine == 'AMD64') or (machine == 'x86_64')):
        return 'ubuntu18_x86_64'
    elif ('arm' in machine):
        return 'raspbian_armhf'
    else:
        sys.exit('Your architecture is not supported')