{"id":1576,"library":"mypy-boto3-sqs","title":"mypy-boto3-sqs","description":"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.","status":"active","version":"1.42.3","language":"en","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["AWS","SQS","boto3","type-annotations","mypy"],"install":[{"cmd":"pip install 'boto3-stubs[sqs]'","lang":"bash","label":"Install with boto3 type annotations"},{"cmd":"pip install 'boto3-stubs-lite[sqs]'","lang":"bash","label":"Install lite version without session.client/resource overloads"},{"cmd":"pip install mypy-boto3-sqs","lang":"bash","label":"Standalone installation"}],"dependencies":[{"reason":"Provides backported type hints for older Python versions","package":"typing-extensions","optional":false}],"imports":[{"note":"Incorrect import path; use mypy_boto3_sqs for type annotations","wrong":"from boto3.resources.factory import sqs","symbol":"SQSClient","correct":"from mypy_boto3_sqs import SQSClient"}],"quickstart":{"code":"from mypy_boto3_sqs import SQSClient\nimport boto3\n\nclient: SQSClient = boto3.client('sqs')\nresponse = client.send_message(\n    QueueUrl='https://sqs.us-east-1.amazonaws.com/123456789012/MyQueue',\n    MessageBody='Hello, World!'\n)\nprint(response['MessageId'])","lang":"python","description":"Demonstrates sending a message to an SQS queue with type annotations"},"warnings":[{"fix":"Upgrade to Python 3.9 or later","message":"Removed support for Python 3.8 in version 8.12.0","severity":"breaking","affected_versions":"8.12.0 and later"},{"fix":"Use mypy-boto3-sqs for accurate type annotations","message":"Dynamic class generation in boto3 can lead to unexpected type results","severity":"gotcha","affected_versions":"All versions"}],"env_vars":null,"last_verified":"2026-04-08T00:00:00.000Z","next_check":"2026-07-07T00:00:00.000Z"}