paper-xlsxAPI referencepackaging.manifest
Manifest
paper-xlsx 0.2.1 API reference
Manifest(Default=(), Override=())Attributes
Default
attributeDefault= DefaultOverride
attributeOverride= Overrideextensions
attributeextensionsMap content types to file extensions Skip parts without extensions
filenames
attributefilenamesidx_base
attributeidx_base= 0namespace
attributenamespace= Nonepath
attributepath= '[Content_Types].xml'tagname
attributetagname= 'Types'Functions
__contains__
func__contains__(content_type)Check whether a particular content type is contained
paramcontent_type__iter__
func__iter__()append
funcappend(obj)find
funcfind(content_type)Find specific content-type
paramcontent_typefindall
funcfindall(content_type)Find all elements of a specific content-type
paramcontent_typefrom_tree
funcfrom_tree(node)Create object from XML
paramnodeto_tree
functo_tree()Custom serialisation method to allow setting a default namespace