Module Expr Str ImportFrom alias alias alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore IfExp CompareIs NameLoad NameLoad ListLoad NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Yield NameLoad If AttributeLoad NameLoad attr body Continue Assign NameStore AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Continue Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad For NameStore Call NameLoad NameLoad NameLoad body Expr Yield NameLoad decorator_list For NameStore Call NameLoad NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults Call NameLoad body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If AttributeLoad NameLoad attr body Continue Assign NameStore AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Continue Expr Call AttributeLoad NameLoad attr NameLoad Expr Yield NameLoad Assign NameStore NameLoad For NameStore Call NameLoad NameLoad NameLoad body Expr Yield NameLoad decorator_list For NameStore Call NameLoad NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore IfExp CompareEq NameLoad Str NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore IfExp AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad decorator_list
N/A N/A 
The :mod:`pptx.packaging` module coheres around the concerns of reading and
writing presentations to and from a .pptx file.
 __future__ absolute_import print_function unicode_literals constants RELATIONSHIP_TYPE RT packuri PACKAGE_URI part PartFactory parts.coreprops CorePropertiesPart pkgreader PackageReader pkgwriter PackageWriter rel Relationships shared lazyproperty OpcPackage N/A object N/A N/A 
    Main API class for |python-opc|. A new instance is constructed by calling
    the :meth:`open` class method with a path to a package file or file-like
    object containing one.
     __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super OpcPackage self __init__ N/A after_unmarshal N/A N/A self N/A N/A N/A 
        Entry point for any post-unmarshaling processing. May be overridden
        by subclasses without forwarding call to super.
         N/A N/A core_properties N/A N/A self N/A N/A N/A 
        |CoreProperties| object providing read/write access to the Dublin
        Core properties for this document.
         N/A N/A N/A self _core_properties_part core_properties N/A property iter_rels N/A N/A self N/A N/A N/A 
        Generate exactly one reference to each relationship in the package by
        performing a depth-first traversal of the rels graph.
         walk_rels N/A N/A source visited N/A None N/A N/A visited N/A N/A visited None N/A visited N/A rel N/A N/A N/A source rels values N/A N/A N/A rel N/A N/A rel is_external N/A N/A N/A part N/A rel target_part N/A N/A part visited N/A N/A N/A N/A N/A visited append part N/A new_source part N/A rel N/A walk_rels new_source visited N/A N/A N/A rel N/A N/A rel N/A walk_rels self N/A N/A N/A rel N/A iter_parts N/A N/A self N/A N/A N/A 
        Generate exactly one reference to each of the parts in the package by
        performing a depth-first traversal of the rels graph.
         walk_parts N/A N/A source visited N/A N/A list N/A N/A rel N/A N/A N/A source rels values N/A N/A N/A rel is_external N/A N/A N/A part N/A rel target_part N/A N/A part visited N/A N/A N/A N/A N/A visited append part N/A N/A part N/A new_source part N/A part N/A walk_parts new_source visited N/A N/A N/A part N/A N/A part N/A walk_parts self N/A N/A N/A part N/A load_rel N/A N/A self reltype target rId is_external N/A False N/A N/A 
        Return newly added |_Relationship| instance of *reltype* between this
        part and *target* with key *rId*. Target mode is set to
        ``RTM.EXTERNAL`` if *is_external* is |True|. Intended for use during
        load from a serialized package, where the rId is well known. Other
        methods exist for adding a new relationship to the package during
        processing.
         N/A N/A N/A N/A self rels add_relationship reltype target rId is_external N/A main_document_part N/A N/A self N/A N/A N/A 
        Return a reference to the main document part for this package.
        Examples include a document part for a WordprocessingML package, a
        presentation part for a PresentationML package, or a workbook part
        for a SpreadsheetML package.
         N/A N/A N/A self part_related_by N/A RT OFFICE_DOCUMENT N/A property open N/A N/A cls pkg_file N/A N/A N/A 
        Return an |OpcPackage| instance loaded with the contents of
        *pkg_file*.
         N/A pkg_reader N/A N/A PackageReader from_file pkg_file N/A package N/A cls N/A N/A N/A Unmarshaller unmarshal pkg_reader package PartFactory N/A package N/A classmethod part_related_by N/A N/A self reltype N/A N/A N/A 
        Return part to which this package has a relationship of *reltype*.
        Raises |KeyError| if no such relationship is found and |ValueError|
        if more than one such relationship is found.
         N/A N/A N/A N/A self rels part_with_reltype reltype N/A parts N/A N/A self N/A N/A N/A 
        Return a list containing a reference to each of the parts in this
        package.
         N/A N/A part N/A part N/A N/A self iter_parts N/A property relate_to N/A N/A self part reltype N/A N/A N/A 
        Return rId key of relationship to *part*, from the existing
        relationship if there is one, otherwise a newly created one.
         N/A rel N/A N/A N/A self rels get_or_add reltype part N/A N/A rel rId N/A rels N/A N/A self N/A N/A N/A 
        Return a reference to the |Relationships| instance holding the
        collection of relationships for this package.
         N/A N/A Relationships N/A PACKAGE_URI baseURI N/A lazyproperty save N/A N/A self pkg_file N/A N/A N/A 
        Save this package to *pkg_file*, where *file* can be either a path to
        a file (a string) or a file-like object.
         N/A part N/A self parts N/A N/A N/A N/A part before_marshal N/A N/A N/A PackageWriter write pkg_file N/A self rels N/A self parts N/A _core_properties_part N/A N/A self N/A N/A N/A 
        |CorePropertiesPart| object related to this package. Creates
        a default core properties part if one is not present (not common).
         N/A N/A N/A N/A N/A self part_related_by N/A RT CORE_PROPERTIES N/A N/A N/A KeyError N/A N/A core_properties_part N/A N/A CorePropertiesPart default self N/A N/A N/A self relate_to core_properties_part N/A RT CORE_PROPERTIES N/A core_properties_part N/A property N/A Unmarshaller N/A object N/A N/A 
    Hosts static methods for unmarshalling a package from a |PackageReader|
    instance.
     unmarshal N/A N/A pkg_reader package part_factory N/A N/A N/A 
        Construct graph of parts and realized relationships based on the
        contents of *pkg_reader*, delegating construction of each part to
        *part_factory*. Package relationships are added to *pkg*.
         N/A parts N/A N/A Unmarshaller _unmarshal_parts pkg_reader package part_factory N/A N/A N/A Unmarshaller _unmarshal_relationships pkg_reader package parts N/A part N/A N/A parts values N/A N/A N/A N/A part after_unmarshal N/A N/A N/A package after_unmarshal N/A staticmethod _unmarshal_parts N/A N/A pkg_reader package part_factory N/A N/A N/A 
        Return a dictionary of |Part| instances unmarshalled from
        *pkg_reader*, keyed by partname. Side-effect is that each part in
        *pkg_reader* is constructed using *part_factory*.
         N/A parts N/A N/A N/A partname content_type reltype blob N/A N/A pkg_reader iter_sparts N/A N/A N/A parts N/A partname N/A part_factory partname content_type reltype blob package N/A parts N/A staticmethod _unmarshal_relationships N/A N/A pkg_reader package parts N/A N/A N/A 
        Add a relationship to the source object corresponding to each of the
        relationships in *pkg_reader* with its target_part set to the actual
        target part in *parts*.
         N/A N/A source_uri srel N/A N/A pkg_reader iter_srels N/A N/A source N/A N/A source_uri / package N/A parts N/A source_uri N/A target N/A N/A srel is_external N/A srel target_ref N/A parts N/A N/A srel target_partname N/A N/A N/A source load_rel N/A srel reltype target N/A srel rId N/A srel is_external N/A staticmethod N/A