{"library":"mypy-boto3-simspaceweaver","title":"Type Annotations for boto3 SimSpace Weaver","description":"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.","language":"python","status":"active","last_verified":"Thu May 14","install":{"commands":["pip install mypy-boto3-simspaceweaver"],"cli":null},"imports":["from mypy_boto3_simspaceweaver.client import SimSpaceWeaverClient","from mypy_boto3_simspaceweaver.type_defs import CreateSpaceInputRequestTypeDef"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import boto3\nfrom mypy_boto3_simspaceweaver.client import SimSpaceWeaverClient\nfrom mypy_boto3_simspaceweaver.type_defs import CreateSpaceInputRequestTypeDef\n\n# mypy-boto3-simspaceweaver provides type hints for the boto3 SimSpaceWeaver client.\n# It does not need to be imported directly for runtime functionality;\n# simply installing it adds type information to your boto3 usage.\n\n# Step 1: Initialize a boto3 client with type hints\n# This enables IDE autocompletion and static type checking for SimSpaceWeaver operations.\nclient: SimSpaceWeaverClient = boto3.client(\"simspaceweaver\")\n\n# Step 2: Use the client (ensure you have AWS credentials configured, e.g., via ~/.aws/credentials)\ntry:\n    # Example: List existing SimSpace Weaver spaces\n    response = client.list_spaces(MaxResults=5)\n    print(\"Successfully listed SimSpace Weaver spaces:\")\n    for space in response.get(\"Spaces\", []):\n        print(f\"- {space.get('Name')} (Status: {space.get('Status')})\")\nexcept Exception as e:\n    print(f\"Could not list spaces. Ensure AWS credentials are configured. Error: {e}\")\n\n# Step 3: Use specific TypeDefs for request/response objects for stricter type checking\n# This demonstrates type safety for a hypothetical request payload, without making an actual call.\nhypothetical_create_space_request: CreateSpaceInputRequestTypeDef = {\n    \"Name\": \"MyTestSimSpace\",\n    \"RoleArn\": \"arn:aws:iam::123456789012:role/SimSpaceWeaverRole\", # Replace with a valid ARN if performing actual calls\n    \"Description\": \"A simulated space for testing.\",\n    \"MaximumDuration\": 3600,\n    \"Tags\": {\"Project\": \"MyProject\"}\n}\nprint(\"\\nDemonstrating TypeDef for CreateSpaceInputRequestTypeDef:\")\nprint(f\"  Name: {hypothetical_create_space_request['Name']}\")\nprint(f\"  RoleArn: {hypothetical_create_space_request['RoleArn']}\")\n\n# With mypy-boto3-simspaceweaver installed, a type checker (like mypy) would\n# flag issues if 'Name' or 'RoleArn' were missing or had incorrect types.","lang":"python","description":"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.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":{"tag":null,"tag_description":null,"last_tested":"2026-05-14","installed_version":"1.43.0","pypi_latest":"1.43.0","is_stale":false,"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":1.6,"avg_import_s":null,"wheel_type":"wheel"},"results":[{"runtime":"python:3.10-alpine","python_version":"3.10","os_libc":"alpine (musl)","variant":"mypy-boto3-simspaceweaver","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"18.2M"},{"runtime":"python:3.10-alpine","python_version":"3.10","os_libc":"alpine (musl)","variant":"mypy-boto3-simspaceweaver","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.10-slim","python_version":"3.10","os_libc":"slim (glibc)","variant":"mypy-boto3-simspaceweaver","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.5,"import_time_s":null,"mem_mb":null,"disk_size":"19M"},{"runtime":"python:3.10-slim","python_version":"3.10","os_libc":"slim (glibc)","variant":"mypy-boto3-simspaceweaver","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.11-alpine","python_version":"3.11","os_libc":"alpine (musl)","variant":"mypy-boto3-simspaceweaver","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"20.1M"},{"runtime":"python:3.11-alpine","python_version":"3.11","os_libc":"alpine (musl)","variant":"mypy-boto3-simspaceweaver","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.11-slim","python_version":"3.11","os_libc":"slim (glibc)","variant":"mypy-boto3-simspaceweaver","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.8,"import_time_s":null,"mem_mb":null,"disk_size":"21M"},{"runtime":"python:3.11-slim","python_version":"3.11","os_libc":"slim (glibc)","variant":"mypy-boto3-simspaceweaver","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.12-alpine","python_version":"3.12","os_libc":"alpine (musl)","variant":"mypy-boto3-simspaceweaver","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"11.6M"},{"runtime":"python:3.12-alpine","python_version":"3.12","os_libc":"alpine (musl)","variant":"mypy-boto3-simspaceweaver","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.12-slim","python_version":"3.12","os_libc":"slim (glibc)","variant":"mypy-boto3-simspaceweaver","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.5,"import_time_s":null,"mem_mb":null,"disk_size":"12M"},{"runtime":"python:3.12-slim","python_version":"3.12","os_libc":"slim (glibc)","variant":"mypy-boto3-simspaceweaver","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.13-alpine","python_version":"3.13","os_libc":"alpine (musl)","variant":"mypy-boto3-simspaceweaver","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"11.4M"},{"runtime":"python:3.13-alpine","python_version":"3.13","os_libc":"alpine (musl)","variant":"mypy-boto3-simspaceweaver","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.13-slim","python_version":"3.13","os_libc":"slim (glibc)","variant":"mypy-boto3-simspaceweaver","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.5,"import_time_s":null,"mem_mb":null,"disk_size":"12M"},{"runtime":"python:3.13-slim","python_version":"3.13","os_libc":"slim (glibc)","variant":"mypy-boto3-simspaceweaver","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.9-alpine","python_version":"3.9","os_libc":"alpine (musl)","variant":"mypy-boto3-simspaceweaver","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":"17.7M"},{"runtime":"python:3.9-alpine","python_version":"3.9","os_libc":"alpine (musl)","variant":"mypy-boto3-simspaceweaver","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null},{"runtime":"python:3.9-slim","python_version":"3.9","os_libc":"slim (glibc)","variant":"mypy-boto3-simspaceweaver","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"broken","install_time_s":1.8,"import_time_s":null,"mem_mb":null,"disk_size":"18M"},{"runtime":"python:3.9-slim","python_version":"3.9","os_libc":"slim (glibc)","variant":"mypy-boto3-simspaceweaver","exit_code":1,"wheel_type":null,"failure_reason":null,"import_side_effects":null,"install_time_s":null,"import_time_s":null,"mem_mb":null,"disk_size":null}]}}