paper-docxAPI referencepackage
PackageDiagnosis
paper-docx 0.2.0 API reference
Typed triage for a file docx.Document() may refuse or crash on.
readable means "this package can open it as a WordprocessingML
document"; kind names what the file actually is; problems say why it
is not readable (empty when it is).
PackageDiagnosis(path: str, readable: bool, kind: str, problems: Tuple[str, ...])Attributes
kind
attributekindstrpath
attributepathstrproblems
attributeproblemsTuple[str, ...]readable
attributereadableboolFunctions
to_dict
functo_dict() -> dictReturns
dict