Registry / type-stubs / mypy-boto3-elementalinference

mypy-boto3-elementalinference

JSON →
library1.43.16pypypiunverified

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.

pip install mypy-boto3-elementalinference boto3
INSTALL
IMPORT
SIG · MYPY-BOTO3-ELEMENT
M
mypy-boto3-elementalinference
type-stubspythonv1.43.16
Install
3.7s avg
Import
570ms
Disk
50MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.16 · 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.920 runs
installs and imports cleanly · install 0.0s · import 0.586s · 51.3MB
glibc
py 3.103.920 runs
installs and imports cleanly · install 3.7s · import 0.553s · 52MB
50MB installed
● package 50MB
Code
Verified usage

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

ElementalInferenceClient
from mypy_boto3_elementalinference.client import ElementalInferenceClient

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.

import boto3 from mypy_boto3_elementalinference.client import ElementalInferenceClient from typing import TYPE_CHECKING # This library provides type annotations. The actual boto3 library must be installed separately. # During type checking (e.g., with mypy, VSCode, PyCharm), the client will be strongly typed. # At runtime, it behaves like a standard boto3 client. if TYPE_CHECKING: client: ElementalInferenceClient = boto3.client("elemental-inference") else: client = boto3.client("elemental-inference", region_name="us-east-1") print(f"Successfully initialized boto3 client for ElementalInference.") print(f"Client type (for type checkers): {type(client)}") # You can now use 'client' with type-hinting support in your IDE/type checker. # Example: Accessing a method with type-hinting benefits # try: # # This is a placeholder; replace with an actual ElementalInference method # response = client.invoke_model(ModelId="your-model-id", Body=b"{}", ContentType="application/json") # print(f"Example call response: {response}") # except Exception as e: # print(f"Error during example call: {e}")
Debug
Known issues
breakingSupport for Python 3.8 was officially removed with `mypy-boto3-builder` version 8.12.0 and subsequent generated packages. This library now requires Python 3.9 or newer.
fix
Upgrade your Python environment to version 3.9 or newer. If downgrading is not an option, you must use an older version of `mypy-boto3-elementalinference` that was generated with a builder version prior to 8.12.0.
affects: 8.12.0+ (builder)
breakingTypeDef naming conventions changed in `mypy-boto3-builder` version 8.9.0. Some TypeDef names for packed method arguments became shorter (e.g., `CreateDistributionRequestRequestTypeDef` -> `CreateDistributionRequestTypeDef`), and conflicting `Extra` postfixes moved to the end (e.g., `CreateDistributionExtraRequestTypeDef` -> `CreateDistributionRequestExtraTypeDef`).
fix
Update imports and references to affected TypeDef names in your codebase according to the new conventions. Review the `mypy-boto3` documentation for service-specific TypeDef changes if you encounter type-checking errors.
affects: 8.9.0+ (builder)
gotchaThis package provides type stubs only and is a 'type-checking only' dependency (PEP 561). The actual `boto3` library must be installed separately for your code to run at runtime. Without `boto3`, you will encounter `ModuleNotFoundError` or similar runtime errors.
fix
Ensure `boto3` is explicitly included in your project's dependencies and installed in your environment (e.g., `pip install boto3 mypy-boto3-elementalinference`).
affects: all
deprecatedThe `sms-voice` service was excluded from `mypy-boto3` builds in version 8.11.0, with users advised to use `pinpoint-sms-voice` instead. While this specifically affected the `sms-voice` stub package, it highlights that service names and availability can change, potentially affecting other less common services like ElementalInference in the future.
fix
Always refer to the latest `mypy-boto3` documentation or `boto3` service client names for the most up-to-date service interactions.
affects: 8.11.0+ (builder)
Upgrade
Version history
1.43.16latest on PyPI · released May 27, 2026
Audit
Dependencies
boto3requiredRuntime dependency: This package provides type stubs for boto3; boto3 itself must be installed to run the code that utilizes these types.
types-botocore-boto3requiredInternal dependency for consistent type stubs within the mypy-boto3 ecosystem, required by the generated stub package.
Agent activity
24 hits · last 30 days
node
22
OpenAI (training)
1
Resources
mypy-boto3-elementalinference — pip install mypy-boto3-elementalinference · libregistry