Registry /
type-stubs / mypy-boto3-lookoutequipment
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
muslpy 3.10–3.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.8MB
glibcpy 3.10–3.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.fixUpgrade 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.fixEnsure `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.fixUpdate 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.fixFor 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.fixEnsure `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.