Registry /
type-stubs / mypy-boto3-route53domains
Install & Compatibility
Where this runs
tested against v1.43.4 · 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.910 runs
installs and imports cleanly · install 0.0s · import 0.610s · 52MB
glibcpy 3.10–3.910 runs
installs and imports cleanly · install 2.8s · import 0.560s · 52MB
50MB installed
● package 50MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Route53DomainsClient
✓ from mypy_boto3_route53domains.client import Route53DomainsClient
Paginator
✓ from mypy_boto3_route53domains.paginator import ListDomainsPaginator
Example Paginator import; replace `ListDomains` with specific operation.
TypeDef
✓ from mypy_boto3_route53domains.type_defs import RegisterDomainRequestRequestTypeDef
Example TypeDef import; replace with the specific TypeDef needed.
This quickstart demonstrates how to obtain a type-hinted boto3 Route53Domains client. The `mypy-boto3-route53domains` package provides the `Route53DomainsClient` type for accurate static analysis. Remember to have AWS credentials configured for actual API calls.
import boto3
from mypy_boto3_route53domains.client import Route53DomainsClient
def get_domains_client() -> Route53DomainsClient:
"""Get a typed Route53Domains client."""
# boto3_client is actually an Any type without stubs
# With mypy-boto3-route53domains installed, this is now typed
boto3_client: Route53DomainsClient = boto3.client("route53domains")
return boto3_client
if __name__ == "__main__":
client = get_domains_client()
print(f"Client type: {type(client)}")
# Example operation (requires AWS credentials configured)
try:
response = client.list_domains()
print(f"First domain: {response['Domains'][0]['DomainName']}")
except Exception as e:
print(f"Could not list domains (ensure AWS credentials are configured): {e}")
Debug
Known issues
breakingPython 3.8 support has been removed. All `mypy-boto3` packages, including `mypy-boto3-route53domains`, now require Python 3.9 or newer.fixUpgrade your Python environment to 3.9 or higher.
affects: mypy-boto3-builder 8.12.0 and above (generating mypy-boto3-route53domains versions ~1.42.x and above)
gotchaThis package provides *type stubs* for boto3. You must also install `boto3` (and potentially `mypy`) separately for your code to run and for type checking to occur.fixEnsure both `boto3` and `mypy-boto3-route53domains` are in your project's dependencies: `pip install boto3 mypy-boto3-route53domains mypy`.
affects: All versions
breakingThe `mypy-boto3-builder` (which generates these stubs) migrated to PEP 561 packages. While this generally improves `mypy`'s ability to find stubs, older configurations relying on `MYPYPATH` or `types-*` packages might need adjustment.fixEnsure `mypy-boto3-route53domains` is installed in the same environment as your code. `mypy` should discover it automatically. Remove any explicit `MYPYPATH` settings if they cause conflicts.
affects: mypy-boto3-builder 8.12.0 and above (generating mypy-boto3-route53domains versions ~1.42.x and above)
breakingTypeDef naming conventions were changed in builder version 8.9.0 to be shorter and resolve conflicts. This may break existing type hints if you were explicitly importing TypeDefs.fixUpdate your TypeDef import paths and names to match the new conventions (e.g., `CreateDistributionRequestRequestTypeDef` -> `CreateDistributionRequestTypeDef`). Consult the generated stub files for exact names.
affects: mypy-boto3-builder 8.9.0 and above (generating mypy-boto3-route53domains versions ~1.34.x and above)
Upgrade
Version history
1.43.4latest on PyPI · released May 5, 2026
Audit
Dependencies
boto3requiredThis package provides type stubs for boto3; boto3 itself must be installed for runtime functionality.
mypyoptionalRequired for static type checking using these stubs.