def split_path(path):
    """
    Splits path into component parts
    :param path: the path (e.g., /v1/AUTH_1234/c/o/sub)
    :return: a tuple containing account, container, obj
    """
    account = container = obj = None
    try:
        _, _, account = path.split('/', 2)
        _, _, account, container = path.split('/', 3)
        if not container:
            container = None
        _, _, account, container, obj = path.split('/', 4)
        if not obj:
            obj = None
    except ValueError:
        pass
    return account, container, obj
