boto3-stubs

Type annotations for boto3 AWS SDK to enable IDE autocomplete and type checking.

pipmacoslinuxwindows
Try with needOr install directly
Source

About

Type annotations for boto3 1.42.69 generated with mypy-boto3-builder 8.12.0

Examples

get autocomplete suggestions for AWS S3 operations in your IDE$ python -c "import boto3; s3 = boto3.client('s3'); s3." # Ctrl+Space in IDE
enable type hints for DynamoDB table operations$ python -c "from mypy_boto3_dynamodb import DynamoDBClient; client: DynamoDBClient"
check Python AWS code for type errors before running$ mypy your_aws_script.py --strict
write type-safe boto3 code with EC2 client hints$ python -c "from mypy_boto3_ec2.client import EC2Client; ec2: EC2Client = boto3.client('ec2')"
find available boto3 methods with IDE completion$ pip show boto3-stubs && python -c "import boto3; print(dir(boto3.client('s3')))"