def create_writer(name, *args, format=None, registry=default_registry, **kwargs):
    """
    Create a writer instance, guessing its factory using filename (and eventually format).

    :param name:
    :param args:
    :param format:
    :param registry:
    :param kwargs:

    :return: mixed
    """
    return registry.get_writer_factory_for(name, format=format)(name, *args, **kwargs)
Create a writer instance, guessing its factory using filename (and eventually format).

    :param name:
    :param args:
    :param format:
    :param registry:
    :param kwargs:

    :return: mixed