Registry / type-stubs / mypy-boto3-kafkaconnect

mypy-boto3-kafkaconnect

JSON →
library1.43.0pypypi✓ verified 28d ago

mypy-boto3-kafkaconnect provides type annotations for the boto3 AWS KafkaConnect service, generated by mypy-boto3-builder. It aims to offer full type-hinting support for `boto3` clients, resources, and paginators. The current version is 1.42.47, and releases are frequent, typically in sync with `boto3` updates and `mypy-boto3-builder` enhancements.

pip install mypy-boto3-kafkaconnect
INSTALL
IMPORT
SIG · MYPY-BOTO3-KAFKACO
M
mypy-boto3-kafkaconnect
type-stubspythonv1.43.0
Install
2.6s avg
Import
—
Disk
71MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.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.10–3.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.3MB
glibc
py 3.10–3.910 runs
installs and imports cleanly · install 2.6s · import 0.000s · 19MB
71MB installed
● package 71MB
Code
Verified usage

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

KafkaConnectClient
✓ from mypy_boto3_kafkaconnect import KafkaConnectClient
✗ from mypy_boto3_kafkaconnect import KafkaConnectClient

This example demonstrates how to use `mypy-boto3-kafkaconnect` to provide type hints for your `boto3` KafkaConnect client. The `TYPE_CHECKING` block is crucial for mypy to apply the custom types without affecting runtime behavior. You still instantiate the client using `boto3.client('kafkaconnect')`.

import boto3 from mypy_boto3_kafkaconnect import KafkaConnectClient from typing import TYPE_CHECKING if TYPE_CHECKING: # This block is only for type checking, not for runtime client: KafkaConnectClient = boto3.client("kafkaconnect") # Example method call with type hints response = client.list_custom_plugins() print(f"Custom plugins: {response.get('customPlugins')}") else: # Runtime code without specific type hints client = boto3.client("kafkaconnect") response = client.list_custom_plugins() print(f"Custom plugins: {response.get('customPlugins')}") # To verify the type hints with mypy: # 1. Save this code as 'app.py' # 2. Run: mypy app.py
Debug
Known issues
breakingSupport for Python 3.8 was removed in `mypy-boto3-builder` version 8.12.0. If you are using `mypy-boto3-kafkaconnect` with Python 3.8, you must upgrade your Python version to 3.9 or newer.
fix
Upgrade your Python environment to 3.9 or higher. For older Python versions, use an older `mypy-boto3-kafkaconnect` version.
affects: mypy-boto3-builder 8.12.0+ (affecting mypy-boto3-kafkaconnect versions built with it)
gotcha`mypy-boto3-kafkaconnect` provides *type annotations* only. It is not a runtime replacement for `boto3`. You must install both `boto3` and the `mypy-boto3-kafkaconnect` package to use these type hints effectively.
fix
Ensure both `pip install boto3` and `pip install mypy-boto3-kafkaconnect` are executed in your environment.
affects: All versions
breakingVersion 8.9.0 of `mypy-boto3-builder` introduced breaking changes in TypeDef naming conventions (e.g., `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`). This affects specific TypeDef names across all generated service packages.
fix
Review your code for any direct references to TypeDef names if you've updated from an older `mypy-boto3-builder` version's output and adjust names accordingly, or consult the generated stub files.
affects: mypy-boto3-builder 8.9.0+ (affecting mypy-boto3-kafkaconnect versions built with it)
gotchaFor optimal type checking, keep your `mypy-boto3-kafkaconnect` version in sync with your `boto3` version. Discrepancies can lead to incorrect type hints if the underlying `boto3` API changes without a corresponding update in the stubs.
fix
Regularly update both `boto3` and `mypy-boto3-kafkaconnect` to their latest compatible versions. Use `pip install --upgrade boto3 mypy-boto3-kafkaconnect`.
affects: All versions
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredProvides the underlying AWS SDK for Python that these stubs type-check.
Agent activity
23 hits · last 30 days
node
20
Amazon
1
OpenAI (training)
1
Resources
mypy-boto3-kafkaconnect — pip install mypy-boto3-kafkaconnect · libregistry