mypy-boto3-ecr
Type annotations for boto3 ECR 1.43.0 service generated with mypy-boto3-builder 8.12.0
What it is and what it does
mypy-boto3-ecr is a type stub package that adds static type information to boto3's ECR service client. When installed, it enables IDEs (VSCode, PyCharm, Emacs, Sublime Text) and type checkers (mypy, pyright) to understand ECR API calls, providing code completion, inline documentation, and catching type errors before runtime.
The package is generated from boto3 1.43.0 using mypy-boto3-builder 8.12.0 and includes type annotations for ECR clients, paginators, waiters, and service-specific type definitions. It works alongside boto3 without modifying its behavior—it purely adds type metadata. Installation is optional for development-only use.
Use it for:
- Enable IDE autocomplete and inline documentation when writing ECR API calls in VSCode or PyCharm.
- Run mypy or pyright on a codebase using boto3 ECR to catch type mismatches before deployment.
- Provide explicit type hints for ECR client, paginators, and waiters in a typed Python project.
- Reduce development friction when working with ECR by catching incorrect method calls or parameter types early.
- Use in a CI/CD pipeline to enforce type safety on AWS infrastructure-as-code or automation scripts.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type annotations for boto3's ECR (Elastic Container Registry) service, enabling IDE code completion and static type checking with mypy, pyright, and other tools.
Yes, if you use boto3 ECR in a typed Python project. Install friction is negligible, maintenance is active, the license is permissive, and there are no known vulnerabilities. The only caveat is PyCharm users may experience performance issues with the full stubs; the lite variant is available as an alternative.
Install
mypy-boto3-ecr on PyPI
pip
pip install mypy-boto3-ecruv
uv add mypy-boto3-ecrpoetry
poetry add mypy-boto3-ecrInstalling mypy-boto3-ecr
Before you install
Low friction: single runtime dependency (typing-extensions) and a pure-Python wheel. Actively maintained with recent commits and no known vulnerabilities.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install mypy-boto3-ecr
from boto3.session import Session
from mypy_boto3_ecr import ECRClient
client: ECRClient = Session().client("ecr")
# Type checking and IDE completion now work on ECR operations
Requires Python 3.9 or later; boto3 must be installed separately in your environment.
Verify before relying
- Whether PyCharm performance issue PY-40997 affects usability in that IDE.
- Whether the lite variant offers meaningfully better performance for large projects.
- Whether TYPE_CHECKING guards truly eliminate production dependency concerns.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — typing-extensions |
| Maintenance | actively maintained — 107 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,800,327/month — #2,882 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_ecr-1.43.0-py3-none-any.whl
Keywords: boto3, ecr, boto3-stubs, type-annotations, mypy, typeshed, autocomplete
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
types-boto3-ecrProvides type stubs and annotations for boto3…
permissive · top 15,000 on PyPI
mypy-boto3-ecr-publicProvides type annotations for boto3's ECRPublic…
permissive · top 15,000 on PyPI
mypy-boto3-ec2Provides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
types-aiobotocore-ecrProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-evidentlyProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-drsProvides type annotations for the boto3 AWS Drs…
permissive · top 15,000 on PyPI
mypy-boto3-configProvides type annotations and IDE…
permissive · top 15,000 on PyPI
boto3-stubs-fullProvides type annotations for boto3 1.43.71 to…
permissive · top 5,000 on PyPI
mypy-boto3-emr-containersProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-kmsProvides type annotations and IDE…
permissive · top 5,000 on PyPI