Registry / type-stubs / mypy-boto3-simpledbv2

mypy-boto3-simpledbv2

JSON →
library1.43.0pypypiunverified

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-simpledbv2
INSTALL
IMPORT
SIG · MYPY-BOTO3-SIMPLED
M
mypy-boto3-simpledbv2
type-stubspythonv1.43.0
Install
1.6s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.920 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.2MB
glibc
py 3.103.920 runs
installs and imports cleanly · install 1.6s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SimpleDBv2Client
from mypy_boto3_simpledbv2 import SimpleDBv2Client
from mypy_boto3_simpledbv2 import SimpleDBv2Client

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.

import boto3 from mypy_boto3_simpledbv2.client import SimpleDBv2Client from botocore.exceptions import ClientError def list_simpledb_domains(): """Lists SimpleDB domains using a typed boto3 client.""" try: # Initialize a typed SimpleDBv2 client client: SimpleDBv2Client = boto3.client("sdb") # List domains with type-hinted response response = client.list_domains(MaxNumberOfDomains=10) print(f"SimpleDB Domains: {response.get('DomainNames', [])}") if response.get("NextToken"): print("More domains available (use NextToken).") except ClientError as e: print(f"Error listing SimpleDB domains: {e}") except Exception as e: print(f"An unexpected error occurred: {e}") if __name__ == "__main__": # Ensure AWS credentials are configured (e.g., via environment variables, ~/.aws/credentials) list_simpledb_domains()
Debug
Known issues
breakingAs of `mypy-boto3-builder` version 8.12.0 (which generated this package version), Python 3.8 support has been dropped. All `mypy-boto3` packages now require Python 3.9 or higher.
fix
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).
affects: >=8.12.0
breakingBeginning with `mypy-boto3-builder` version 8.9.0, some TypeDef naming conventions were changed (e.g., `CreateDistributionRequestRequestTypeDef` might become `CreateDistributionRequestTypeDef`). While the specific example is for a different service, this is a builder-wide change that may affect explicit type annotations in your code for SimpleDBv2 request/response payloads.
fix
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.
affects: >=8.9.0
gotchaThis package only provides type stubs. You must install `boto3` separately for actual AWS API calls. This package does not install `boto3` as a dependency.
fix
Ensure `boto3` is installed in your environment: `pip install boto3`.
affects: *
gotchaEach AWS service requires its own `mypy-boto3-<service-name>` package for comprehensive type checking. Installing `mypy-boto3-simpledbv2` only provides types for SimpleDBv2, not other services like S3 or EC2.
fix
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`).
affects: *
gotchaAs of `mypy-boto3-builder` version 8.12.0, all packages migrated to PEP 561 compliance. This means `mypy` should automatically discover the type stubs without explicit configuration in `mypy.ini` (e.g., `plugins`). If you have old `mypy.ini` configurations for `mypy-boto3` plugins, they might now cause issues.
fix
Remove any `mypy_boto3.mypy_plugin.Boto3Plugin` entries from your `mypy.ini` or similar configuration files. Rely on PEP 561 discovery.
affects: >=8.12.0
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredRequired at runtime to use the AWS SDK; this package only provides type annotations, not the SDK itself.
Agent activity
41 hits · last 30 days
node
38
Amazon
1
OpenAI (training)
1
Resources
mypy-boto3-simpledbv2 — pip install mypy-boto3-simpledbv2 · libregistry