library · inferred from evidence
textractor
A Python library for working with AWS Textract, particularly for expense analysis.
- textractor raises `KeyError: 'Relationships'` on documents with blank pages
Teaches the verified fix from a real amazon-textract support thread: textractor raises `KeyError: 'Relationships'` on documents with blank pages
- textractor raises `KeyError: 'Geometry'` when an expense field has an empty value
What this covers: I call `textract.start_expense_analysis` on a multi-page invoice PDF stored in S3. The fix that worked: This was a real bug in textractor's expense parser.