Registry / type-stubs / types-boto3-comprehend

types-boto3-comprehend

JSON →
library1.43.0pypypiunverified

Type annotations for boto3 Comprehend 1.43.0 service, generated with mypy-boto3-builder 8.12.0. Version 1.43.0 supports Python >=3.9. Provides static type checking for Amazon Comprehend client operations, service resources, and paginators. Part of the mypy-boto3-builder ecosystem. Release cadence follows boto3 service updates.

pip install types-boto3-comprehend
INSTALL
IMPORT
SIG · TYPES-BOTO3-COMPRE
T
types-boto3-comprehend
type-stubspythonv1.43.0
Install
1.7s avg
Import
Disk
17MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.6MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 19MB
17MB installed
● package 17MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ComprehendClient
from types_boto3_comprehend import ComprehendClient
from mypy_boto3_comprehend import ComprehendClient

Type-annotated Comprehend client usage. Assumes boto3 and valid AWS credentials are configured.

import boto3 from mypy_boto3_comprehend import ComprehendClient client: ComprehendClient = boto3.client('comprehend', region_name='us-east-1') # Example: detect dominant language response = client.detect_dominant_language(Text='Hello world') print(response['Languages'])
Debug
Known issues
breakingPython 3.8 support removed since mypy-boto3-builder 8.12.0 (v1.43.0). Requires Python >=3.9.
fix
Upgrade to Python 3.9+.
affects: >=1.43.0
gotchaThe import module is 'mypy_boto3_comprehend', not 'types_boto3_comprehend'. The PyPI package name differs from the Python module name. Many users mistakenly try to import from the package name.
fix
Use 'from mypy_boto3_comprehend import ...' instead.
affects: all
deprecatedTypeDef names may change between major versions of mypy-boto3-builder (e.g., shortened names in v8.9.0). In Comprehend, this affects some nested Request/Response TypeDefs.
fix
Check the generated TypeDef names after upgrading; use IDE type hints to discover new names.
affects: before 1.43.0? (builder 8.9.0+)
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
typing-extensionsrequiredRequired for TypedDict and other type constructs on older Python versions (though Python >=3.9 minimizes need).
Agent activity
31 hits · last 30 days
node
26
OpenAI (training)
1
Resources
types-boto3-comprehend — pip install types-boto3-comprehend · libregistry