skillfed

mypy-boto3-textract

Type annotations for boto3 Textract 1.43.69 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-textract v1.43.69 817.5K downloads/30d#4,984 on PyPI670
Permissive license MIT Active released

What it is and what it does

This package is a type stub library that adds static type information for AWS Textract service calls made through boto3. It is generated automatically from boto3's service model and works with mypy, pyright, VSCode, PyCharm, Emacs, Sublime Text, and other tools that support Python type hints. When installed, it enables IDE autocompletion and catches type errors at development time without requiring explicit type annotations in your code.

The package is a thin wrapper—it has only one runtime dependency (typing-extensions) and adds no overhead to production code. It supports modern Python versions from 3.9 onward and is actively maintained, with releases tracking boto3 updates. The documentation notes that PyCharm users may experience performance issues with large Literal overloads and recommends using the lite variant or external type checkers like mypy in those cases.

Use it for:

  • Enable IDE autocomplete and type checking for boto3 Textract client methods in VSCode with Pylance
  • Catch Textract API usage errors at development time using mypy or pyright before running code
  • Add type safety to Textract paginator and resource calls without writing manual type annotations
  • Use Textract in PyCharm with the lite variant to avoid performance degradation from large type overload sets
  • Integrate Textract type hints into CI/CD pipelines running mypy or pyright for static validation

Worth the install?

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

Provides type annotations and IDE autocompletion for the boto3 Textract service, enabling static type checking with mypy, pyright, and other tools.

Yes. If you use boto3 Textract in a Python project, installing this package is a low-friction way to gain IDE autocompletion and static type checking with no runtime cost. The single dependency, active maintenance, and permissive MIT license make it a straightforward addition to any development environment. Skip it only if you have no type checker or IDE integration in your workflow.

Install

mypy-boto3-textract on PyPI

pip

pip install mypy-boto3-textract

uv

uv add mypy-boto3-textract

poetry

poetry add mypy-boto3-textract

Installing mypy-boto3-textract

Before you install

Low friction: single runtime dependency (typing-extensions), wheel-only distribution, and active maintenance with a release 3 days ago. Supports Python 3.9 through 3.14.

License in practice

MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.

Quickstart

pip install mypy-boto3-textract

from boto3.session import Session
from mypy_boto3_textract import TextractClient

client: TextractClient = Session().client("textract")
# Type checking and IDE completion now work for Textract API calls

Requires boto3 1.43.69 to be installed separately; Python 3.9 or later.

Verify before relying

  • Whether PyCharm performance issues (PY-40997) mentioned in docs still affect current versions
  • Exact scope of Textract API methods and resources covered by the type annotations

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 1 — typing-extensions
Maintenance actively maintained — 3 days since the last release
Last repo commit
First released
Downloads 817,527/month — #4,984 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mypy_boto3_textract-1.43.69-py3-none-any.whl

Keywords: boto3, textract, boto3-stubs, type-annotations, mypy, typeshed, autocomplete

Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTyping :: Stubs Only

Tags

boto3 type stubs textracttextract type annotationsboto3 textract mypyaws textract type hintstextract ide autocompleteboto3 stubs textracttextract static type checking
type-stubsaws-sdkstatic-analysis

More Software Development packages