Registry /
type-stubs / mypy-boto3-route53-recovery-readiness
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.000s · 18.4MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Route53RecoveryReadinessClient
✓ from mypy_boto3_route53_recovery_readiness import Route53RecoveryReadinessClient
✗ from mypy_boto3_route53_recovery_readiness import Route53RecoveryReadinessClient
This quickstart demonstrates how to use the `mypy-boto3-route53-recovery-readiness` type stubs with a standard `boto3` client. When this code is run through `mypy`, it will ensure that the `client` object and the `response` adhere to the type definitions provided by the stub package, catching potential errors at compile time.
import boto3
from mypy_boto3_route53_recovery_readiness.client import Route53RecoveryReadinessClient
from mypy_boto3_route53_recovery_readiness.type_defs import ListReadinessChecksOutputTypeDef
import os
def get_readiness_checks() -> ListReadinessChecksOutputTypeDef:
"""Fetches a list of Route53 Recovery Readiness checks and returns their typed response."""
# mypy-boto3 provides type hints for the boto3 client object
client: Route53RecoveryReadinessClient = boto3.client(
"route53-recovery-readiness",
region_name=os.environ.get("AWS_REGION", "us-east-1")
)
response = client.list_readiness_checks()
print(f"Found {len(response.get('ReadinessChecks', []))} readiness checks.")
return response
if __name__ == "__main__":
# When mypy is run on this file, it will verify that
# `get_readiness_checks` returns a `ListReadinessChecksOutputTypeDef`
# and that subsequent access to 'result' follows that type definition.
result = get_readiness_checks()
# Example of type-safe access:
for check in result.get('ReadinessChecks', []):
print(f" - {check.get('ReadinessCheckName', 'N/A')}")
Debug
Known issues
breakingPython 3.8 support has been removed since `mypy-boto3-builder` version 8.12.0. Projects using this package must target Python 3.9 or newer.fixUpgrade your Python environment to 3.9 or higher.
affects: >=8.12.0 (builder)
breakingAs of `mypy-boto3-builder` version 8.12.0, packages migrated to PEP 561 compliance. This change might affect how type checkers locate and process stubs in certain environments or older project setups.fixEnsure your `mypy` configuration and project structure are compatible with PEP 561 stub packages. You might need to rebuild or reconfigure your environment.
affects: >=8.12.0 (builder)
breakingType definition (TypeDef) names for service requests and responses underwent renaming in `mypy-boto3-builder` version 8.9.0. Common patterns like `RequestRequestTypeDef` were shortened to `RequestTypeDef`, and `ExtraRequestTypeDef` became `RequestExtraTypeDef`.fixReview your code for imports of specific `TypeDef` classes and adjust their names according to the new conventions. Refer to the documentation or generated stub files for the exact new names.
affects: >=8.9.0 (builder)
gotchaThis library provides type annotations *only*; it does not alter `boto3`'s runtime behavior or provide any runtime functionality itself. Its sole purpose is to enable static type checking.fixUnderstand that `mypy-boto3-*` packages are developer tools for compile-time checking, not runtime dependencies that change program execution.
affects: all
gotchaThe `mypy-boto3` stub packages are tightly coupled to specific `boto3` versions. Using a `mypy-boto3-*` package version that doesn't align with your installed `boto3` version can lead to incorrect or missing type hints.fixAlways try to match the major.minor version of `mypy-boto3-*` with your `boto3` installation (e.g., `mypy-boto3-route53-recovery-readiness==1.x.y` for `boto3==1.x.y`). Update both simultaneously if possible.
affects: all
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredProvides the runtime AWS SDK that these type stubs annotate.
mypyoptionalThe static type checker that utilizes these annotations.