skillfed

mypy-boto3-ecr

Type annotations for boto3 ECR 1.43.0 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-ecr v1.43.0 2.8M downloads/30d#2,882 on PyPI670
Permissive license MIT Active released

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-ecr

uv

uv add mypy-boto3-ecr

poetry

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 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

Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTyping :: Stubs Only

Tags

boto3 ecr type stubsaws ecr type annotationsboto3 type hintsecr client typingmypy boto3 stubspyright aws ecrboto3 autocompleteecr type checking
type-stubsaws-sdkboto3

More Software Development packages