Registry / type-stubs / mypy-boto3-keyspacesstreams

mypy-boto3-keyspacesstreams

JSON →
library1.43.20pypypi✓ verified 22d ago

mypy-boto3-keyspacesstreams provides type annotations for the `boto3` library's KeyspacesStreams service, enabling static type checking with tools like MyPy. It is part of the `mypy-boto3` project, which generates stubs for all AWS services supported by `boto3`. The current version is 1.42.59, generated by `mypy-boto3-builder 8.12.0`, with frequent updates to align with `boto3` releases.

pip install mypy-boto3-keyspacesstreams
INSTALL
IMPORT
SIG · MYPY-BOTO3-KEYSPAC
M
mypy-boto3-keyspacesstreams
type-stubspythonv1.43.20
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.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
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.2MB
glibc
py 3.103.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.
fix
Upgrade 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.
fix
Update `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.
fix
Ensure `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.
fix
Regularly 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.
Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
mypy-boto3-keyspacesstreams — pip install mypy-boto3-keyspacesstreams · libregistry