--- id: amazon-textract-textractor version: "1.10.0" license: Apache 2.0 license_treatment: permissive maintenance: active --- # amazon-textract-textractor — A package to use AWS Textract services. License: permissive · Maintenance: active · Downloads: 843.8K/mo ## What it is and what it does Textractor is a Python wrapper around Amazon Textract, AWS's document intelligence service. It simplifies calling Textract APIs and parsing responses for text recognition, table extraction, form processing, identity document analysis, and receipt/expense processing. The package handles both single documents and batch workflows, supports multiple input formats (images, PDFs, S3 paths, bytes), and provides a fluent interface for accessing extracted data. The core library is minimal and lambda-friendly by default, with optional extras for pandas DataFrames, PDF rasterization (via pypdfium2 or pdf2image), and machine-learning-based word search (via sentence_transformers). It depends on Pillow for image handling, XlsxWriter for table export, amazon-textract-caller for API calls, rapidfuzz for fuzzy matching, and tabulate for formatted output. Requires Python 3.10 or later and active AWS credentials. Use it for: - Extract structured text and tables from scanned invoices or receipts for accounting automation - Parse form fields from application documents with fuzzy key matching to handle label variations - Batch-process identity documents to extract and validate personal information fields - Convert PDF documents to searchable text and structured tables for downstream analysis - Build document processing pipelines that combine Textract with custom business logic ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Textractor wraps Amazon Textract APIs to extract text, tables, forms, and identity information from documents and images, handling both synchronous and asynchronous processing. Yes. Textractor is actively maintained, has no known vulnerabilities, installs with low friction, and is permissively licensed. It is the standard Python interface to Textract and well-suited for document extraction workflows. The main consideration is AWS account setup and API costs—not a blocker for most use cases, but verify your budget and credential configuration before deploying. ## Install pip install amazon-textract-textractor uv add amazon-textract-textractor poetry add amazon-textract-textractor ## Installing amazon-textract-textractor Before you install: Low friction installation with a pure-Python wheel and five straightforward runtime dependencies. Actively maintained with a release 3 days old and recent commits; supports modern Python versions 3.10 through 3.14. License in practice: Licensed under Apache 2.0 (permissive), allowing free use, modification, and distribution in both open and proprietary projects with minimal restrictions. Quickstart: pip install amazon-textract-textractor from textractor import Textractor extractor = Textractor(profile_name="default") document = extractor.detect_document_text(file_source="image.png") print(document.lines) Requires AWS credentials configured (via profile_name or environment variables) and an active AWS account; Textract API calls incur charges. Verify before relying: - Whether fuzzy matching via rapidfuzz is used by default or requires explicit configuration - Performance characteristics when processing large batches or high-resolution PDFs - Whether the CLI tool is included in the base install or requires extras ## Package facts - License: Apache 2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 843.8K/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags aws textract wrapper, document text extraction, table extraction from images, form field recognition, ocr document processing, amazon textract python, receipt and id analysis, aws-integration, document-extraction, ocr [View on SkillFed](https://skillfed.io/packages/amazon-textract-textractor) · [View on PyPI](https://pypi.org/project/amazon-textract-textractor/)