Registry / type-stubs / mypy-boto3-signin

mypy-boto3-signin

JSON →
library1.43.44pypypi✓ verified 23d ago

mypy-boto3-signin provides static type annotations for the `boto3` AWS SDK's SignInService. It is generated by `mypy-boto3-builder` and aims to enhance developer experience by enabling IDE auto-completion, catching type-related errors at development time, and improving code readability for `boto3` client interactions with the SignInService. Releases are frequent, typically aligning with new `boto3` versions or `mypy-boto3-builder` updates.

pip install mypy-boto3-signin boto3
INSTALL
IMPORT
SIG · MYPY-BOTO3-SIGNIN
M
mypy-boto3-signin
type-stubspythonv1.43.44
Install
3.8s avg
Import
561ms
Disk
50MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
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
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.580s · 51.9MB
glibc
py 3.103.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.
fix
Upgrade 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.
fix
Update `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.
fix
Ensure `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.
fix
Ensure `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.
fix
Add 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.
Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
1
Resources