mypy-boto3-textract
Type annotations for boto3 Textract 1.43.69 service generated with mypy-boto3-builder 8.12.0
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-textractuv
uv add mypy-boto3-textractpoetry
poetry add mypy-boto3-textractInstalling 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
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
types-aiobotocore-textractProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
types-boto3-textractProvides type annotations for boto3's Textract…
permissive · top 15,000 on PyPI
mypy-boto3-ec2Provides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
mypy-boto3-clouddirectoryProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-organizationsProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-connectProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-appmeshProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-eksProvides type annotations and IDE…
permissive · top 5,000 on PyPI
mypy-boto3-sagemakerProvides type annotations and IDE…
permissive · top 5,000 on PyPI
mypy-boto3-s3tablesProvides type annotations and IDE…
permissive · top 15,000 on PyPI