Registry /
type-stubs / mypy-boto3-kinesisanalytics
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.604s · 51.9MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.8s · import 0.562s · 52MB
50MB installed
● package 50MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
KinesisAnalyticsClient
✓ from mypy_boto3_kinesisanalytics.client import KinesisAnalyticsClient
ApplicationSummaryTypeDef
✓ from mypy_boto3_kinesisanalytics.type_defs import ApplicationSummaryTypeDef
Import specific TypedDicts for request/response payloads.
ApplicationStatusType
✓ from mypy_boto3_kinesisanalytics.literals import ApplicationStatusType
Import literal types for string-based enums.
Demonstrates how to obtain a typed KinesisAnalytics client and use it to list applications, leveraging the type hints provided by `mypy-boto3-kinesisanalytics`.
import boto3
from mypy_boto3_kinesisanalytics.client import KinesisAnalyticsClient
from typing import TYPE_CHECKING
# The actual boto3 client is untyped by default
client = boto3.client('kinesisanalytics')
# For type checking, assert the client type if not using session.client overloads
# Most modern IDEs and mypy should infer correctly if boto3-stubs is installed,
# but explicit typing ensures maximum compatibility and clarity.
if TYPE_CHECKING:
kinesisanalytics_client: KinesisAnalyticsClient = client
else:
kinesisanalytics_client = client
try:
# Example: List Kinesis Analytics applications
response = kinesisanalytics_client.list_applications()
print(f"Found {len(response.get('ApplicationSummaries', []))} Kinesis Analytics applications:")
for app in response.get('ApplicationSummaries', []):
print(f" - Name: {app['ApplicationName']}, Status: {app['ApplicationStatus']}")
except Exception as e:
print(f"Error listing applications: {e}")
Debug
Known issues
breakingPython 3.8 support was removed for all `mypy-boto3` packages, including `mypy-boto3-kinesisanalytics`, starting with `mypy-boto3-builder` version 8.12.0. Users on Python 3.8 will need to use an older version of the stubs or upgrade their Python interpreter.fixUpgrade to Python 3.9 or newer, or pin `mypy-boto3-kinesisanalytics` to a version compatible with Python 3.8.
affects: mypy-boto3-builder >=8.12.0
breakingTypeDef naming conventions changed in `mypy-boto3-builder` version 8.9.0. This affects how generated TypedDicts are named, for example, `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef` and `CreateDistributionExtraRequestTypeDef` became `CreateDistributionRequestExtraTypeDef`. This may break explicit imports of these TypedDicts.fixReview and update imports of any explicitly used TypedDicts from the `type_defs` module to match the new naming conventions.
affects: mypy-boto3-builder >=8.9.0
gotchaThe `mypy-boto3-kinesisanalytics` package only provides type annotations. The `boto3` library itself must be installed and available in your environment for the code to run and interact with AWS services.fixEnsure `boto3` is installed alongside `mypy-boto3-kinesisanalytics` (e.g., `pip install boto3 mypy-boto3-kinesisanalytics`).
affects: All versions
gotchaTo ensure accurate type checking, it's crucial to keep your `boto3` and `mypy-boto3-kinesisanalytics` versions synchronized. Mismatched versions can lead to incorrect type hints or missed errors.fixInstall `mypy-boto3-kinesisanalytics` with the same major.minor.patch version as your `boto3` installation (e.g., `boto3==1.42.3` and `mypy-boto3-kinesisanalytics==1.42.3`).
affects: All versions
gotchaAs of `mypy-boto3-builder` version 8.12.0, all packages migrated to PEP 561. This means packages now include a `py.typed` file. While this generally improves type discovery, specific configurations for `mypy` or IDEs might need adjustments if issues arise with stub discovery.fixVerify that your `mypy` configuration (e.g., `pyproject.toml`, `mypy.ini`) is correctly set up to discover PEP 561-compliant packages. Most default setups should handle this automatically.
affects: mypy-boto3-builder >=8.12.0
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredThis package provides type stubs for the actual boto3 library, which must be installed for runtime AWS interactions.
mypyrequiredmypy is the primary static type checker that utilizes these type stubs.