def tuple_split(string):
    """
    Split a string into a list of tuple values

    from utils.tools import tuple_split
    print tuple_split('')
    #[]
    print tuple_split('3')
    #[3]
    print tuple_split('3,4')
    #[(3, 4)]
    print tuple_split('3,5 6,1 4,2')
    #[(3, 5), (6, 1), (4, 2)]
    """
    values = []
    if string:
        try:
            _string_list = string.strip(' ').replace(';', ',').split(' ')
            for _str in _string_list:
                items = _str.split(',')
                _items = [float(itm) for itm in items]
                values.append(tuple(_items))
            return values
        except:
            return values
    else:
        return values