Registry /
type-stubs / mypy-boto3-dynamodbstreams
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
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.2MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
DynamoDBStreamsClient
✓ from mypy_boto3_dynamodbstreams import DynamoDBStreamsClient
✗ from mypy_boto3_dynamodbstreams import DynamoDBStreamsClient
ServiceResource
✓ from mypy_boto3_dynamodbstreams import ServiceResource
Client
✓ from mypy_boto3_dynamodbstreams import Client
This quickstart demonstrates how to initialize a type-hinted DynamoDBStreams client using `boto3` and leverage the provided `mypy-boto3-dynamodbstreams` type annotations for static analysis. It shows listing and describing streams.
import boto3
from mypy_boto3_dynamodbstreams.client import DynamoDBStreamsClient
from mypy_boto3_dynamodbstreams.type_defs import DescribeStreamOutputTypeDef, ListStreamsOutputTypeDef
def get_dynamodb_streams_client() -> DynamoDBStreamsClient:
"""Get a typed DynamoDBStreams client."""
client: DynamoDBStreamsClient = boto3.client("dynamodbstreams")
return client
if __name__ == "__main__":
# Example usage with type checking
ddb_streams_client = get_dynamodb_streams_client()
# List streams
list_response: ListStreamsOutputTypeDef = ddb_streams_client.list_streams(Limit=1)
print("DynamoDB Streams found:", list_response.get("Streams"))
# Describe a specific stream (replace with a real ARN if you have one)
if list_response.get("Streams"):
stream_arn = list_response["Streams"][0]["StreamArn"]
describe_response: DescribeStreamOutputTypeDef = ddb_streams_client.describe_stream(StreamArn=stream_arn)
print(f"Description for {stream_arn}:", describe_response.get("StreamDescription"))
Debug
Known issues
breakingPython 3.8 support has been removed across all `mypy-boto3` packages starting with `mypy-boto3-builder` version 8.12.0. Users on Python 3.8 will need to upgrade to Python 3.9 or newer.fixUpgrade your Python environment to 3.9 or newer.
affects: mypy-boto3-builder >=8.12.0
breakingType definition (TypeDef) names for packed method arguments may have changed for brevity (e.g., `CreateDistributionRequestRequestTypeDef` -> `CreateDistributionRequestTypeDef`) and conflicting TypeDef postfixes moved to the end (e.g., `CreateDistributionExtraRequestTypeDef` -> `CreateDistributionRequestExtraTypeDef`). While the examples are not for DynamoDBStreams, this is a general breaking change in the builder that could affect specific TypeDefs in any generated service.fixReview your code for any custom type aliases or direct imports of specific TypeDef names and adjust to the new naming conventions if affected. Consult the specific service's `type_defs.pyi` for current names.
affects: mypy-boto3-builder >=8.9.0
gotchaThis package only provides type annotations. You must install `boto3` separately for the actual AWS SDK functionality. The `mypy-boto3-dynamodbstreams` package is a `PEP 561` stub-only package.fixEnsure `boto3` is installed in your environment: `pip install boto3`.
affects: All
gotchaFor optimal type checking, ensure your `mypy-boto3-*` package versions are compatible with your installed `boto3` version. Mismatched versions can lead to incorrect or missing type hints.fixIdeally, keep `mypy-boto3-*` packages updated alongside `boto3`. The `mypy-boto3-builder` aims to align stub versions with `boto3` releases.
affects: All
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredThis package provides type stubs for boto3; boto3 itself must be installed to use the AWS SDK functionality.
typing-extensionsoptionalRequired for backporting new typing features to older Python versions (though less critical for Python 3.9+).