mypy-boto3-sqs provides type annotations for the AWS SQS service in boto3, enhancing code completion and type checking. The current version is 1.42.3, released on December 4, 2025. The library is actively maintained, with regular updates to align with boto3 releases.
pip install 'boto3-stubs[sqs]'Verified import paths — ran on the pinned version, not inferred.
Demonstrates sending a message to an SQS queue with type annotations
Upgrade to Python 3.9 or later
Use mypy-boto3-sqs for accurate type annotations
Install the 'boto3' library alongside the stub packages. For example, 'pip install boto3 boto3-stubs[sqs]'.
Install `boto3` package alongside `boto3-stubs` or `mypy-boto3-*` packages. For example, `pip install boto3 boto3-stubs[sqs]`.