Registry / type-stubs / mypy-boto3-route53-recovery-readiness

mypy-boto3-route53-recovery-readiness

JSON →
library1.43.0pypypi✓ verified 22d ago

mypy-boto3-route53-recovery-readiness provides type annotations for the `boto3` AWS Route53RecoveryReadiness service, allowing static type checkers like `mypy` to validate `boto3` usage. It's currently at version 1.42.3 and is part of the `mypy-boto3-builder` ecosystem, which generates packages for all `boto3` services and is frequently updated, often in sync with `boto3` releases.

pip install mypy-boto3-route53-recovery-readiness
INSTALL
IMPORT
SIG · MYPY-BOTO3-ROUTE53
M
mypy-boto3-route53-recovery-readiness
type-stubspythonv1.43.0
Install
1.7s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.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.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.4MB
glibc
py 3.103.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.
fix
Upgrade 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.
fix
Ensure 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`.
fix
Review 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.
fix
Understand 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.
fix
Always 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.
Agent activity
21 hits · last 30 days
node
18
OpenAI (training)
2
Resources
mypy-boto3-route53-recovery-readiness — pip install mypy-boto3-route53-recovery-readiness · libregistry