mypy-boto3-simpledbv2 provides precise type annotations for the boto3 SimpleDBv2 client, enhancing type checking for AWS SDK usage. It is part of the `mypy-boto3` project, which generates stubs for all boto3 services. The current version is 1.42.66, and it updates frequently, typically in sync with `boto3` and `botocore` releases.
pip install mypy-boto3-simpledbv2Verified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to initialize a type-hinted SimpleDBv2 client and list available domains. The `mypy-boto3-simpledbv2` package provides the `SimpleDBv2Client` type, allowing static analysis tools like Mypy to verify your code against the AWS API.
Upgrade your Python environment to 3.9 or newer. If you must use Python 3.8, use an older `mypy-boto3` version (e.g., `<8.8.0` for builder versions before 8.8.0 reintroduced 3.8 support, or `<8.12.0` for versions after that, but before the final drop in 8.12.0).
Review and update any explicit TypeDef annotations in your code to match the new, potentially shorter, generated names. Refer to the specific `mypy_boto3_simpledbv2.type_defs` module for correct names.
Ensure `boto3` is installed in your environment: `pip install boto3`.
Install separate stub packages for each boto3 service you intend to type-check (e.g., `pip install mypy-boto3-s3 mypy-boto3-ec2`). Alternatively, install `mypy-boto3` for all stubs (`pip install mypy-boto3`).
Remove any `mypy_boto3.mypy_plugin.Boto3Plugin` entries from your `mypy.ini` or similar configuration files. Rely on PEP 561 discovery.