Skip to content

Pdf

domain.fetcher.ports.pdf

Summary

PDF fetcher: read statement PDFs into omniread content.

Classes

PdfFetcher

PdfFetcher()

Fetch a statement from a PDF file through a filesystem scraper.

Functions
fetch async
fetch(pdf_path: Path) -> Content

Read the statement content of pdf_path.

Parameters:

Name Type Description Default
pdf_path Path

Filesystem path to the PDF file.

required

Returns:

Name Type Description
Content Content

Extracted statement content.