paper-pptxAPI referenceapi
pptx.api
paper-pptx 0.2.0 API reference
Directly exposed API classes, Presentation for now.
Provides some syntactic sugar for interacting with the pptx.presentation.Package graph and also provides some insulation so not so many classes in the other modules need to be named as internal (leading underscore).
Presentation
funcPresentation(pptx: str | IO[bytes] | None = None) -> presentation.PresentationReturn a Presentation object loaded from pptx, where pptx can be
either a path to a .pptx file (a string) or a file-like object. If
pptx is missing or None, the built-in default presentation
"template" is loaded.
parampptxstr | IO[bytes] | None= NoneReturns
pptx.presentation.pptx.presentation.Presentation