--- id: mypy-boto3-ecr version: "1.43.0" license: MIT license_treatment: permissive maintenance: active --- # mypy-boto3-ecr — Type annotations for boto3 ECR 1.43.0 service generated with mypy-boto3-builder 8.12.0 License: permissive · Maintenance: active · Downloads: 2.8M/mo ## 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 above — 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 pip install mypy-boto3-ecr uv add mypy-boto3-ecr poetry add mypy-boto3-ecr ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 2.8M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags boto3 ecr type stubs, aws ecr type annotations, boto3 type hints, ecr client typing, mypy boto3 stubs, pyright aws ecr, boto3 autocomplete, ecr type checking, type-stubs, aws-sdk, boto3 [View on SkillFed](https://skillfed.io/packages/mypy-boto3-ecr) · [View on PyPI](https://pypi.org/project/mypy-boto3-ecr/)