def html_parts(input_string, source_path=None, destination_path=None, input_encoding='unicode', doctitle=1, initial_header_level=1):
 overrides = {'input_encoding': input_encoding, 'doctitle_xform': doctitle, 'initial_header_level': initial_header_level}
 parts = core.publish_parts(source=input_string, source_path=source_path, destination_path=destination_path, writer_name='html', settings_overrides=overrides)
 return parts

def html_parts ( input_string , source_path = None , destination_path = None , input_encoding = 'unicode' , doctitle = 1 , initial_header_level = 1 ) : overrides = { 'input_encoding' : input_encoding , 'doctitle_xform' : doctitle , 'initial_header_level' : initial_header_level } parts = core . publish_parts ( source = input_string , source_path = source_path , destination_path = destination_path , writer_name = 'html' , settings_overrides = overrides ) return parts
given an input string .