Module: parsers/putilities.py
- Purpose:
This module provides parser-specific utility functions for the project.
- Platform:
Linux/Windows | Python 3.10+
- Developer:
J Berendt
- Email:
- Comments:
n/a
- class ParserUtilities[source]
Bases:
objectParser-based (cross-project) utility functions.
- get_parser(path: str) PDFParser | PPTXParser[source]
Return the appropriate parser for the file type.
- Parameters:
path (str) – Full path to the file to be tested.
- Returns:
The appropriate parser for the file, given the file signature; this test is not file extension based.
- Return type: