skillfed

amazon-textract-caller

Amazon Textract Caller tools

amazon-textract-caller v0.2.4 911.7K downloads/30d#4,743 on PyPI491
Permissive license Apache License Version 2.0 Active released

What it is and what it does

amazon-textract-caller is a Python wrapper that simplifies calling Amazon Textract, AWS's document analysis service. It abstracts away the complexity of choosing between synchronous and asynchronous APIs, handling file uploads to S3, and managing job polling. The package accepts documents from local filesystems or S3 buckets and returns structured JSON responses containing extracted text, tables, forms, and other document elements.

The wrapper supports Textract features like table detection, document queries, and custom adapters for specialized document types. It integrates with boto3 and botocore for AWS authentication and works alongside amazon-textract-response-parser for post-processing results. Most use cases involve a single call with a document path and optional feature flags, making it practical for rapid prototyping and production document-processing pipelines.

Use it for:

  • Extract text and tables from scanned invoices or receipts stored in S3 for automated expense processing.
  • Query multi-page documents to extract specific fields like employee SSN or gross pay from forms.
  • Build a batch document ingestion pipeline that processes local PDFs and images without manual API management.
  • Detect and extract structured data from forms with known layouts using table and form detection.
  • Retrieve asynchronous job results with automatic polling instead of manual job-status checks.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Wrapper around Amazon Textract that handles document extraction from local files or S3, managing both synchronous and asynchronous API calls with support for table detection and document queries.

Yes. The package is actively maintained, has low install friction, carries a permissive license, and solves a real friction point in Textract integration. It is well-suited for teams already using AWS and needing to extract text or structured data from documents. No security vulnerabilities are known. Install if you are building document-processing workflows on AWS; skip if you do not use Textract or prefer direct boto3 calls.

Install

amazon-textract-caller on PyPI

pip

pip install amazon-textract-caller

uv

uv add amazon-textract-caller

poetry

poetry add amazon-textract-caller

Installing amazon-textract-caller

Before you install

Low friction install with three runtime dependencies (boto3, botocore, amazon-textract-response-parser). Repository is actively maintained with recent commits and moderate GitHub presence (491 stars).

License in practice

Apache License Version 2.0 is permissive, allowing commercial use, modification, and distribution with minimal restrictions—suitable for most projects.

Quickstart

pip install amazon-textract-caller

from amazon_textract_caller import call_textract

textract_json = call_textract(input_document="/path/to/file.png")

Requires AWS credentials configured for boto3 to authenticate with Amazon Textract service.

Verify before relying

  • Whether the package handles all document formats that Textract supports or has limitations on file types.
  • Performance characteristics and latency for large documents or high-volume extraction workloads.
  • Exact retry and error-handling behavior for failed Textract API calls.

Package facts

License Apache License Version 2.0 (permissive)
Python support supports the current Python release (>=3.6)
Install friction low — pure-Python wheel
Runtime dependencies 3 — boto3, botocore, amazon-textract-response-parser
Maintenance actively maintained — 785 days since the last release
Last repo commit
First released
Downloads 911,695/month — #4,743 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: amazon_textract_caller-0.2.4-py2.py3-none-any.whl

Keywords: amazon-textract-textractor, amazon, textract, textractor, helper, caller

Development Status :: 4 - BetaLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Utilities

Tags

amazon textract wrapperdocument text extraction awsocr and table detectiontextract async api callerextract text from pdf imagesaws textract helper librarydocument analysis textract
aws-integrationdocument-processingocr

More Utilities packages