Registry / type-stubs / mypy-boto3-simspaceweaver

mypy-boto3-simspaceweaver

JSON →
library1.43.0pypypi✓ verified 22d ago

mypy-boto3-simspaceweaver provides static type annotations for the `boto3` SimSpace Weaver service. It enhances development with `boto3` by offering compile-time type checking, auto-completion, and error detection in IDEs. The library is part of the `mypy-boto3-builder` ecosystem, which follows a frequent release cadence, often aligning with `boto3` updates. The current version, `1.42.3`, corresponds to the `boto3` version it provides stubs for.

pip install mypy-boto3-simspaceweaver
INSTALL
IMPORT
SIG · MYPY-BOTO3-SIMSPAC
M
mypy-boto3-simspaceweaver
type-stubspythonv1.43.0
Install
1.6s 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.2MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.6s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SimSpaceWeaverClient
from mypy_boto3_simspaceweaver import SimSpaceWeaverClient
from mypy_boto3_simspaceweaver import SimSpaceWeaverClient

Demonstrates how to initialize a `boto3` client with type hints from `mypy-boto3-simspaceweaver` and use specific TypeDefs for input payloads. This enables advanced static analysis and autocompletion without altering runtime behavior.

import boto3 from mypy_boto3_simspaceweaver.client import SimSpaceWeaverClient from mypy_boto3_simspaceweaver.type_defs import CreateSpaceInputRequestTypeDef # mypy-boto3-simspaceweaver provides type hints for the boto3 SimSpaceWeaver client. # It does not need to be imported directly for runtime functionality; # simply installing it adds type information to your boto3 usage. # Step 1: Initialize a boto3 client with type hints # This enables IDE autocompletion and static type checking for SimSpaceWeaver operations. client: SimSpaceWeaverClient = boto3.client("simspaceweaver") # Step 2: Use the client (ensure you have AWS credentials configured, e.g., via ~/.aws/credentials) try: # Example: List existing SimSpace Weaver spaces response = client.list_spaces(MaxResults=5) print("Successfully listed SimSpace Weaver spaces:") for space in response.get("Spaces", []): print(f"- {space.get('Name')} (Status: {space.get('Status')})") except Exception as e: print(f"Could not list spaces. Ensure AWS credentials are configured. Error: {e}") # Step 3: Use specific TypeDefs for request/response objects for stricter type checking # This demonstrates type safety for a hypothetical request payload, without making an actual call. hypothetical_create_space_request: CreateSpaceInputRequestTypeDef = { "Name": "MyTestSimSpace", "RoleArn": "arn:aws:iam::123456789012:role/SimSpaceWeaverRole", # Replace with a valid ARN if performing actual calls "Description": "A simulated space for testing.", "MaximumDuration": 3600, "Tags": {"Project": "MyProject"} } print("\nDemonstrating TypeDef for CreateSpaceInputRequestTypeDef:") print(f" Name: {hypothetical_create_space_request['Name']}") print(f" RoleArn: {hypothetical_create_space_request['RoleArn']}") # With mypy-boto3-simspaceweaver installed, a type checker (like mypy) would # flag issues if 'Name' or 'RoleArn' were missing or had incorrect types.
Debug
Known issues
breakingPython 3.8 support was removed, and packages migrated to PEP 561. This affects all generated `mypy-boto3` stubs.
fix
Upgrade your Python environment to version 3.9 or newer. Ensure your build and packaging tools correctly handle PEP 561 metadata.
affects: mypy-boto3-builder 8.12.0 and higher (affecting all generated stubs)
breakingTypeDef names for method arguments (e.g., `CreateDistributionRequestRequestTypeDef`) were shortened or had `Extra` postfixes moved. This change can break explicit type hint references in existing code.
fix
Review and update explicit TypeDef imports and references in your code to match the new naming conventions. Consult the `mypy-boto3-builder` changelog for specific changes.
affects: mypy-boto3-builder 8.9.0 and higher (affecting all generated stubs)
gotchaThis package provides only type stubs and is not intended for runtime import or direct use. Its purpose is to enhance `boto3`'s static analysis capabilities.
fix
Do not `import mypy_boto3_simspaceweaver` for runtime logic. Instead, simply install the package, and type checkers will automatically pick up its type information when you use `boto3`. Only import specific TypeDefs (e.g., `SimSpaceWeaverClient`, `CreateSpaceInputRequestTypeDef`) from `mypy_boto3_simspaceweaver.*` for explicit type annotations.
affects: all
gotchaThe version of `mypy-boto3-simspaceweaver` is designed to align with the `boto3` version it provides stubs for. Mismatching versions can lead to incorrect or missing type hints.
fix
Ensure that your installed `mypy-boto3-simspaceweaver` package version closely matches your `boto3` library version to guarantee accurate type coverage.
affects: all
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredThis package provides type stubs for the boto3 library's SimSpace Weaver service; boto3 itself must be installed to use the functionality.
Agent activity
23 hits · last 30 days
node
20
Amazon
1
OpenAI (training)
1
Resources
mypy-boto3-simspaceweaver — pip install mypy-boto3-simspaceweaver · libregistry