Type annotations and code completion for boto3 package. This package is a part of mypy_boto3_builder project.
types-boto3 is a successor of boto3-stubs.
python -m pip install 'types-boto3[essential]'- Replace
boto3-stubsdependency withtypes-boto3, leave extras as is - In your codebase replace
mypy_boto3_<service>imports withtypes_boto3_<service>
# before migration
from mypy_boto3_ec2.client import EC2Client
# after migration
from types_boto3_ec2.client import EC2ClientUse mypy or pyright for type checking.
types-boto3 and types-boto3-lite versions are the same as related boto3 version and follows
PEP 440 format.
Please reports any bugs or request new features in mypy_boto3_builder repository.
