Base (Private) Module: objects/_docbaseobject.py
- Purpose:
This module provides the generalised base functionality for the document-type-specific base classes.
- Platform:
Linux/Windows | Python 3.10+
- Developer:
J Berendt
- Email:
- Comments:
n/a
- class _DocBase[source]
Bases:
objectPrivate document base class.
Attention
This class is not designed to be interacted with directly, but rather to be inherited by the document-type-specific document objects.
- property basename: str
Accessor for the file’s basename.
- property filepath: str
Accessor for the explicit path to this file.
- property metadata: dict | object
The meta data as extracted from the document.
- property npages: int
The number of pages successfully extracted from the source.
- property ntables: int
The number of tables successfully extracted from the source.
- property parser: object
Accessor to the underlying document parser’s functionality.