Registry / devops / types-boto3-ecr

types-boto3-ecr

JSON →
library1.43.0pypypiunverified

Provides type annotations for boto3 ECR (Elastic Container Registry) service, generated by mypy-boto3-builder. Current version 1.43.0 supports Python >=3.9. Released alongside boto3 ECR updates.

pip install types-boto3-ecr
INSTALL
IMPORT
SIG · TYPES-BOTO3-ECR
T
types-boto3-ecr
devopspythonv1.43.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

ECRClient
from types_boto3_ecr.client import ECRClient
from mypy_boto3_ecr.client import ECRClient
ECRServiceResource
from types_boto3_ecr.service_resource import ECRServiceResource
ServiceResource
from types_boto3_ecr.service_resource import ServiceResource

Create a type-annotated ECR client

import boto3 from mypy_boto3_ecr import ECRClient client: ECRClient = boto3.client('ecr', region_name='us-east-1') print(client.describe_repositories())
Debug
Known issues
breakingtypes-boto3-ecr replaces older boto3-type-annotations packages. Import paths changed from boto3_type_annotations.ecr to mypy_boto3_ecr.
fix
Update imports: use from mypy_boto3_ecr import ECRClient
affects: >=1.0.0
deprecatedPython 3.8 support dropped in version 1.35.0. Requires Python >=3.9.
fix
Upgrade Python to 3.9 or later.
affects: >=1.35.0
gotchaType stubs are version-locked to specific boto3 ECR version. Using incompatible boto3 version may cause type errors.
fix
Ensure boto3 version matches types-boto3-ecr version (e.g., both 1.43.0).
affects: all
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredRuntime dependency for boto3 types
typing-extensionsoptionalRequired for type hints on older Python versions
Agent activity
6 hits · last 30 days
node
6
Resources
types-boto3-ecr — pip install types-boto3-ecr · libregistry