Install & Compatibility
Where this runs
tested against v1.43.44 · 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.580s · 51.9MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.8s · import 0.542s · 52MB
50MB installed
● package 50MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
SignInServiceClient
✓ from mypy_boto3_signin.client import SignInServiceClient
For type-hinting the boto3 'signin' client.
CreateAccountSubscriptionOutputTypeDef
✓ from mypy_boto3_signin.type_defs import CreateAccountSubscriptionOutputTypeDef
For type-hinting the response of 'create_account_subscription' operation.
This quickstart demonstrates how to type-hint a `boto3` 'signin' client and its response using `mypy-boto3-signin` stubs. It showcases the use of `SignInServiceClient` for the client object and `CreateAccountSubscriptionOutputTypeDef` for a hypothetical operation's return type, improving static analysis and IDE support.
import boto3
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from mypy_boto3_signin.client import SignInServiceClient
from mypy_boto3_signin.type_defs import CreateAccountSubscriptionOutputTypeDef
def create_signin_subscription() -> CreateAccountSubscriptionOutputTypeDef:
# A real 'signin' service operation might be different or require more parameters.
# This is a hypothetical example for demonstration purposes.
client: SignInServiceClient = boto3.client("signin")
response = client.create_account_subscription(
# Actual parameters would go here, e.g., 'SourceId': 'some-id'
)
print(f"Subscription created: {response}")
return response
if __name__ == "__main__":
# This code is illustrative. Actual 'signin' service interaction
# will depend on its capabilities and available operations.
try:
result = create_signin_subscription()
print(f"Result type: {type(result)}")
except Exception as e:
print(f"Error interacting with SignInService: {e}")
Debug
Known issues
breakingSupport for Python 3.8 was removed in `mypy-boto3-builder` version 8.12.0, which generates `mypy-boto3-signin`. Projects using older Python versions must update to Python 3.9 or newer.fixUpgrade Python environment to 3.9 or a newer supported version.
affects: >=8.12.0 of mypy-boto3-builder and generated stubs
breakingIn `mypy-boto3-builder` 8.9.0, there were breaking changes to `TypeDef` naming conventions, e.g., `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`. While specific to service names, this applies generally across the `mypy-boto3` ecosystem and could affect custom stub usage.fixUpdate `TypeDef` imports and usage to reflect the new, shorter naming conventions.
affects: >=8.9.0 of mypy-boto3-builder and generated stubs
gotchaThis package provides *only* type stubs. The actual `boto3` library must be installed separately for the code to run at runtime.fixEnsure `pip install boto3` is executed in your environment alongside `mypy-boto3-signin`.
affects: All
gotchaThe `mypy-boto3` ecosystem migrated to PEP 561-compliant packages. While beneficial, this might cause issues with very old `mypy` or `setuptools` configurations.fixEnsure `mypy` and packaging tools (like `setuptools`, `pip`) are up-to-date. In some cases, explicit `pip install --upgrade mypy setuptools` might be needed.
affects: >=8.12.0 of mypy-boto3-builder and generated stubs
gotchaExplicit type annotations (e.g., `client: SignInServiceClient = boto3.client(...)`) may be necessary for full IDE auto-completion in some environments (e.g., VSCode with certain extensions), even though `mypy` and PyCharm often infer types automatically.fixAdd explicit type annotations to `boto3` client and resource assignments if auto-completion or type checking is not working as expected in your IDE.
affects: All
Upgrade
Version history
1.43.44latest on PyPI · released Jul 9, 2026
Audit
Dependencies
boto3requiredRuntime dependency for which these type stubs are provided.
pythonrequiredRequires Python 3.9 or newer, as dropped support for Python 3.8 in mypy-boto3-builder 8.12.0.