Add local batch processor for offline PDF accessibility enhancement#1
Open
TenthEdict wants to merge 1 commit intomainfrom
Open
Add local batch processor for offline PDF accessibility enhancement#1TenthEdict wants to merge 1 commit intomainfrom
TenthEdict wants to merge 1 commit intomainfrom
Conversation
This module provides local/offline batch processing capabilities complementing the AWS-based PDF accessibility solution: Features: - OCR enhancement with Tesseract (via ocrmypdf) for invisible text layers - PDF/UA-1 compliance preparation with metadata and markers - Batch processing with recursive directory walking - Folder structure preservation in output - Parallel processing support (ThreadPoolExecutor) - Progress tracking (tqdm) and JSON summary reports - CLI interface with typer/rich Use cases: - Pre-processing PDFs before uploading to AWS S3 - Development and testing workflows - Offline processing when AWS is not available - High-volume batch jobs with parallel workers Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a local batch processor module that complements the AWS-based PDF accessibility solution by providing offline batch processing capabilities.
Features
Use Cases
Quick Start
Test plan
local_batch_processor/requirements.txtpython -m local_batch_processor.cli processpython -m local_batch_processor.cli batch--workersflag🤖 Generated with Claude Code