mirror of
https://github.com/ocrmypdf/OCRmyPDF.git
synced 2026-05-18 19:47:48 -04:00
Improve ._pipelines naming
This commit is contained in:
@@ -26,7 +26,7 @@ from ocrmypdf._pipeline import (
|
||||
render_hocr_page,
|
||||
validate_pdfinfo_options,
|
||||
)
|
||||
from ocrmypdf._pipelines.common import (
|
||||
from ocrmypdf._pipelines._common import (
|
||||
HOCRResult,
|
||||
manage_work_folder,
|
||||
postprocess,
|
||||
|
||||
@@ -32,7 +32,7 @@ from ocrmypdf._pipeline import (
|
||||
triage,
|
||||
validate_pdfinfo_options,
|
||||
)
|
||||
from ocrmypdf._pipelines.common import (
|
||||
from ocrmypdf._pipelines._common import (
|
||||
PageResult,
|
||||
cli_exception_handler,
|
||||
manage_debug_log_handler,
|
||||
@@ -24,7 +24,7 @@ from ocrmypdf._pipeline import (
|
||||
ocr_engine_hocr,
|
||||
validate_pdfinfo_options,
|
||||
)
|
||||
from ocrmypdf._pipelines.common import (
|
||||
from ocrmypdf._pipelines._common import (
|
||||
HOCRResult,
|
||||
manage_work_folder,
|
||||
process_page,
|
||||
|
||||
@@ -10,11 +10,11 @@ from __future__ import annotations
|
||||
import logging
|
||||
import logging.handlers
|
||||
|
||||
from ocrmypdf._pipelines.common import (
|
||||
from ocrmypdf._pipelines._common import (
|
||||
configure_debug_logging,
|
||||
)
|
||||
from ocrmypdf._pipelines.ocr import run_pipeline, run_pipeline_cli
|
||||
from ocrmypdf._pipelines.pdf_to_hocr import run_hocr_pipeline
|
||||
from ocrmypdf._pipelines.standard import run_pipeline, run_pipeline_cli
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user