def publish_string(source, source_path=None, destination_path=None, reader=None, reader_name='standalone', parser=None, parser_name='restructuredtext', writer=None, writer_name='pseudoxml', settings=None, settings_spec=None, settings_overrides=None, config_section=None, enable_exit_status=False):
 (output, pub) = publish_programmatically(source_class=io.StringInput, source=source, source_path=source_path, destination_class=io.StringOutput, destination=None, destination_path=destination_path, reader=reader, reader_name=reader_name, parser=parser, parser_name=parser_name, writer=writer, writer_name=writer_name, settings=settings, settings_spec=settings_spec, settings_overrides=settings_overrides, config_section=config_section, enable_exit_status=enable_exit_status)
 return output

def publish_string ( source , source_path = None , destination_path = None , reader = None , reader_name = 'standalone' , parser = None , parser_name = 'restructuredtext' , writer = None , writer_name = 'pseudoxml' , settings = None , settings_spec = None , settings_overrides = None , config_section = None , enable_exit_status = False ) : ( output , pub ) = publish_programmatically ( source_class = io . StringInput , source = source , source_path = source_path , destination_class = io . StringOutput , destination = None , destination_path = destination_path , reader = reader , reader_name = reader_name , parser = parser , parser_name = parser_name , writer = writer , writer_name = writer_name , settings = settings , settings_spec = settings_spec , settings_overrides = settings_overrides , config_section = config_section , enable_exit_status = enable_exit_status ) return output
set up & run a publisher for programmatic use with string i/o .