def split_kwargs(kwargs):
    """Split out kwargs into options and attributes"""
    options = {k: v for k, v in kwargs.items() if not k.startswith('_')}
    attributes = {k.lstrip('_'): v for k, v in kwargs.items() if k.startswith('_')}
    return (options, attributes)