{"library":"mypy-boto3-elementalinference","title":"mypy-boto3-elementalinference Type Annotations","description":"mypy-boto3-elementalinference provides type annotations for the AWS ElementalInference service for boto3. It enhances the development experience by offering static type checking, autocompletion, and refactoring support for boto3 client methods and data structures related to ElementalInference. The library is actively maintained with frequent updates, aligning with boto3 releases and schema changes, and is currently at version 1.42.56.","language":"python","status":"active","last_verified":"Sun May 17","install":{"commands":["pip install mypy-boto3-elementalinference boto3"],"cli":null},"imports":["from mypy_boto3_elementalinference.client import ElementalInferenceClient"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import boto3\nfrom mypy_boto3_elementalinference.client import ElementalInferenceClient\nfrom typing import TYPE_CHECKING\n\n# This library provides type annotations. The actual boto3 library must be installed separately.\n\n# During type checking (e.g., with mypy, VSCode, PyCharm), the client will be strongly typed.\n# At runtime, it behaves like a standard boto3 client.\nif TYPE_CHECKING:\n    client: ElementalInferenceClient = boto3.client(\"elemental-inference\")\nelse:\n    client = boto3.client(\"elemental-inference\", region_name=\"us-east-1\")\n\nprint(f\"Successfully initialized boto3 client for ElementalInference.\")\nprint(f\"Client type (for type checkers): {type(client)}\")\n\n# You can now use 'client' with type-hinting support in your IDE/type checker.\n# Example: Accessing a method with type-hinting benefits\n# try:\n#     # This is a placeholder; replace with an actual ElementalInference method\n#     response = client.invoke_model(ModelId=\"your-model-id\", Body=b\"{}\", ContentType=\"application/json\")\n#     print(f\"Example call response: {response}\")\n# except Exception as e:\n#     print(f\"Error during example call: {e}\")","lang":"python","description":"Illustrates how to initialize a boto3 client and apply the type annotations provided by `mypy-boto3-elementalinference`. This allows tools like Mypy, Pyright, VSCode, and PyCharm to perform static analysis and provide autocompletion for ElementalInference service methods and responses. Ensure `boto3` is also installed in your environment.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":{"tag":null,"tag_description":null,"last_tested":"2026-05-17","installed_version":"1.43.0","pypi_latest":"1.43.0","is_stale":false,"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":3.7,"avg_import_s":0.57,"wheel_type":"wheel"},"results":[{"runtime":"python:3.10-alpine","python_version":"3.10","os_libc":"alpine (musl)","variant":"mypy-boto3-elementalinference","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0.6,"mem_mb":12.7,"disk_size":"51.1M"},{"runtime":"python:3.10-slim","python_version":"3.10","os_libc":"slim (glibc)","variant":"mypy-boto3-elementalinference","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":4,"import_time_s":0.42,"mem_mb":12.7,"disk_size":"52M"},{"runtime":"python:3.11-alpine","python_version":"3.11","os_libc":"alpine (musl)","variant":"mypy-boto3-elementalinference","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0.7,"mem_mb":14.4,"disk_size":"54.1M"},{"runtime":"python:3.11-slim","python_version":"3.11","os_libc":"slim (glibc)","variant":"mypy-boto3-elementalinference","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":3.7,"import_time_s":0.68,"mem_mb":14.4,"disk_size":"55M"},{"runtime":"python:3.12-alpine","python_version":"3.12","os_libc":"alpine (musl)","variant":"mypy-boto3-elementalinference","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0.61,"mem_mb":13.7,"disk_size":"45.3M"},{"runtime":"python:3.12-slim","python_version":"3.12","os_libc":"slim (glibc)","variant":"mypy-boto3-elementalinference","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":3.2,"import_time_s":0.64,"mem_mb":13.7,"disk_size":"46M"},{"runtime":"python:3.13-alpine","python_version":"3.13","os_libc":"alpine (musl)","variant":"mypy-boto3-elementalinference","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0.59,"mem_mb":14.7,"disk_size":"45.1M"},{"runtime":"python:3.13-slim","python_version":"3.13","os_libc":"slim (glibc)","variant":"mypy-boto3-elementalinference","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":3,"import_time_s":0.62,"mem_mb":14.7,"disk_size":"46M"},{"runtime":"python:3.9-alpine","python_version":"3.9","os_libc":"alpine (musl)","variant":"mypy-boto3-elementalinference","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":null,"import_time_s":0.44,"mem_mb":11.9,"disk_size":"50.5M"},{"runtime":"python:3.9-slim","python_version":"3.9","os_libc":"slim (glibc)","variant":"mypy-boto3-elementalinference","exit_code":0,"wheel_type":"wheel","failure_reason":null,"import_side_effects":"clean","install_time_s":4.4,"import_time_s":0.41,"mem_mb":11.9,"disk_size":"51M"}]}}