Registry /
type-stubs / mypy-boto3-keyspacesstreams
Install & Compatibility
Where this runs
tested against v1.43.20 · 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.6s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
KeyspacesStreamsClient
✓ from mypy_boto3_keyspacesstreams import KeyspacesStreamsClient
✗ from mypy_boto3_keyspacesstreams import KeyspacesStreamsClient
This example demonstrates how to use `mypy-boto3-keyspacesstreams` for type-hinting a `boto3` KeyspacesStreams client. MyPy can then verify the types of client methods and responses.
import boto3
from mypy_boto3_keyspacesstreams.client import KeyspacesStreamsClient
from typing import TYPE_CHECKING
# The actual boto3 client is not affected by the stub package at runtime.
# Type checking tools like MyPy will use the imported KeyspacesStreamsClient for analysis.
# It's good practice to guard stub imports if they might not be available at runtime
# in some environments, though mypy-boto3 stubs are typically installed alongside boto3.
if TYPE_CHECKING:
client: KeyspacesStreamsClient = boto3.client("keyspaces-streams")
else:
client = boto3.client("keyspaces-streams")
# Example operation: list streams (ensure your AWS credentials are configured)
try:
response = client.list_streams(MaxResults=1)
print("Successfully listed Keyspaces Streams (first entry if any):")
if response.get("streams"):
print(response["streams"][0])
else:
print("No streams found.")
except Exception as e:
print(f"An error occurred: {e}")
Debug
Known issues
breakingAs of `mypy-boto3-builder` version 8.12.0 (which generated `mypy-boto3-keyspacesstreams 1.42.59`), support for Python 3.8 has been removed. Users must use Python 3.9 or higher.fixUpgrade your Python environment to 3.9 or newer.
affects: mypy-boto3-builder >=8.12.0, mypy-boto3-keyspacesstreams >=1.42.59
breakingStarting with `mypy-boto3-builder` version 8.9.0, some `TypeDef` naming conventions changed (e.g., `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`). This might break existing type annotations in your codebase if you've explicitly referenced such types.fixUpdate `TypeDef` references in your code to match the new, often shorter, names as indicated by your type checker.
affects: mypy-boto3-builder >=8.9.0
gotchaThis package provides only type stubs. The actual `boto3` library must be installed separately for any runtime functionality. These stubs enhance development-time type checking but do not add runtime code.fixEnsure `boto3` is installed in your environment (e.g., `pip install boto3`).
affects: All versions
gotchaType stubs are generated based on specific `boto3` versions. For the most accurate type checking, it is recommended to keep `mypy-boto3-keyspacesstreams` and `boto3` versions closely synchronized. Major `boto3` updates may introduce new features or changes not reflected in older stubs.fixRegularly update both `boto3` and `mypy-boto3-keyspacesstreams` to their latest compatible versions.
affects: All versions
Upgrade
Version history
1.43.20latest on PyPI · released Jun 2, 2026
Audit
Dependencies
boto3requiredProvides the runtime AWS SDK that these type stubs describe. Must be installed separately.