Registry / type-stubs / mypy-boto3-lookoutequipment

mypy-boto3-lookoutequipment

JSON →
library1.43.0pypypi✓ verified 23d ago

mypy-boto3-lookoutequipment provides type annotations for the `boto3` AWS SDK's LookoutEquipment service, ensuring static type checking with tools like `mypy`. This enhances code quality, improves developer experience with IDE autocompletion, and helps catch potential bugs before runtime. The package is generated by `mypy-boto3-builder 8.12.0` and follows the `boto3` versioning for its type stubs, with frequent updates to align with new `boto3` releases.

pip install mypy-boto3-lookoutequipment
INSTALL
IMPORT
SIG · MYPY-BOTO3-LOOKOUT
M
mypy-boto3-lookoutequipment
type-stubspythonv1.43.0
Install
3.4s avg
Import
Disk
18MB
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.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.8MB
glibc
py 3.103.910 runs
installs and imports cleanly · install 3.4s · import 0.000s · 20MB
18MB installed
● package 18MB
Code
Verified usage

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

LookoutEquipmentClient
from mypy_boto3_lookoutequipment import LookoutEquipmentClient
from mypy_boto3_lookoutequipment import LookoutEquipmentClient

This quickstart demonstrates how to use `mypy-boto3-lookoutequipment` to get type hints for the `boto3` LookoutEquipment client and its responses. It explicitly imports `LookoutEquipmentClient` for client annotation and `ListDatasetsResponseTypeDef` for response typing, ensuring static analysis can fully leverage the provided stubs. The `TYPE_CHECKING` block prevents runtime dependency on the stub package.

import boto3 from typing import TYPE_CHECKING if TYPE_CHECKING: from mypy_boto3_lookoutequipment.client import LookoutEquipmentClient from mypy_boto3_lookoutequipment.type_defs import ListDatasetsResponseTypeDef def list_lookout_equipment_datasets() -> 'ListDatasetsResponseTypeDef': """Lists LookoutEquipment datasets and returns a typed response.""" # boto3 client is dynamically typed, mypy-boto3 provides static types client: LookoutEquipmentClient = boto3.client("lookoutequipment") # The response is automatically typed by mypy-boto3 response = client.list_datasets() print(f"Found {len(response['DatasetSummaries'])} datasets.") return response if __name__ == "__main__": # Example usage (requires AWS credentials configured) try: datasets = list_lookout_equipment_datasets() for dataset in datasets.get('DatasetSummaries', []): print(f"- Dataset ARN: {dataset['DatasetArn']}, Name: {dataset['DatasetName']}") except Exception as e: print(f"Error listing datasets: {e}") print("Please ensure AWS credentials are configured (e.g., AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION_NAME environment variables).")
Debug
Known issues
breakingSupport for Python 3.8 was removed with `mypy-boto3-builder` version 8.12.0. Projects using Python 3.8 will need to upgrade their Python version or pin to an older `mypy-boto3-lookoutequipment` version.
fix
Upgrade Python environment to 3.9 or newer. Alternatively, pin `mypy-boto3-lookoutequipment` to a version compatible with Python 3.8 (e.g., `<1.42.3`).
affects: mypy-boto3-builder >=8.12.0, mypy-boto3-lookoutequipment >=1.42.3
breakingThe `mypy-boto3-builder` (and thus generated packages) migrated to PEP 561-compliant distribution. While this generally improves compatibility with `mypy`, some non-standard build setups or older `mypy` versions might require adjustments to properly discover the stubs.
fix
Ensure `mypy` is up-to-date. If issues persist, refer to the `mypy-boto3` documentation on PEP 561 compatibility and stub discovery.
affects: mypy-boto3-builder >=8.12.0, mypy-boto3-lookoutequipment >=1.42.3
breakingTypeDef naming conventions changed in `mypy-boto3-builder` 8.9.0. TypeDefs for packed method arguments may use shorter names, and 'Extra' postfixes were moved. This can cause type-checking errors if you explicitly imported and used these TypeDefs in previous versions.
fix
Update your explicit TypeDef imports and usage in code to reflect the new naming conventions as suggested by your IDE or `mypy`.
affects: mypy-boto3-builder >=8.9.0, mypy-boto3-lookoutequipment >=1.42.3
gotchaPyCharm users might experience slow performance with Literal overloads when using the full `boto3-stubs` package. `boto3-stubs-lite` is recommended as a workaround, though it requires more explicit type annotations.
fix
For PyCharm, consider installing `boto3-stubs-lite` (e.g., `pip install 'boto3-stubs-lite[lookoutequipment]'`) and explicitly annotating all types. Alternatively, disable PyCharm's internal type checker and rely solely on `mypy` or `pyright`.
affects: All versions
gotchaThis package only provides type annotations. The actual `boto3` library must be installed and correctly configured with AWS credentials for the code to run successfully at runtime.
fix
Ensure `pip install boto3` is executed and AWS credentials (e.g., `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_REGION_NAME` environment variables or `~/.aws/credentials` file) are correctly set up.
affects: All versions
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredProvides runtime functionality for which these stubs offer type hints.
pythonrequiredRequires Python 3.9 or higher due to removal of Python 3.8 support in builder v8.12.0.
Agent activity
15 hits · last 30 days
node
12
OpenAI (training)
1
Resources
mypy-boto3-lookoutequipment — pip install mypy-boto3-lookoutequipment · libregistry