"""
pydocai - PDF text extraction with OCR fallback.

Extract text from PDFs using pypdfium2 for native text extraction,
with automatic fallback to OCR (pytesseract) for scanned documents.
"""

from .extractor import extract_pdf_text
from .constants import (
    OCR_DPI,
    TESSERACT_CONFIG,
    MAX_PDF_PAGES,
    MIN_LINES_PER_PAGE,
)

__version__ = "0.1.0"
__all__ = [
    "extract_pdf_text",
    "OCR_DPI",
    "TESSERACT_CONFIG",
    "MAX_PDF_PAGES",
    "MIN_LINES_PER_PAGE",
]
