skillfed

mypy-boto3-ecs

Type annotations for boto3 ECS 1.43.65 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-ecs v1.43.65 2.4M downloads/30d#3,070 on PyPI670
Permissive license MIT Active released

What it is and what it does

mypy-boto3-ecs is a type-stub package that adds static type annotations for the boto3 ECS service. It is generated from boto3 1.43.65 using mypy-boto3-builder 8.12.0 and works with type checkers (mypy, pyright) and IDEs (VSCode, PyCharm, Emacs, Sublime Text) to provide code completion and catch type errors at development time. The package includes annotations for ECS clients, paginators, waiters, and type definitions.

When installed, it allows you to write boto3 ECS code with explicit type hints that your IDE and type checker understand, without requiring manual type annotations. The package is designed to be used alongside boto3 itself—it provides no runtime functionality, only type information. It supports Python 3.9 through 3.14 and has a single runtime dependency on typing-extensions.

Use it for:

  • Enable IDE autocomplete and type checking for boto3 ECS client calls in VSCode with Pylance or PyCharm.
  • Run mypy or pyright type checking on boto3 ECS code to catch type errors before runtime.
  • Annotate ECS client, paginator, and waiter types explicitly in codebases that require strict typing.
  • Use boto3 ECS in a type-safe manner without writing custom type stubs or TYPE_CHECKING guards.
  • Integrate boto3 ECS type checking into CI/CD pipelines using mypy or pyright.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides type annotations for boto3 ECS service, enabling static type checking and IDE code completion when working with AWS ECS through boto3.

Yes, if you use boto3 ECS and want static type checking or IDE support. The package is actively maintained, has no security vulnerabilities, carries a permissive MIT license, and adds minimal install friction. Install it as part of boto3-stubs[ecs] for the full experience, or standalone if you prefer. Note: PyCharm users may experience performance issues with Literal overloads and should consider boto3-stubs-lite as an alternative.

Install

mypy-boto3-ecs on PyPI

pip

pip install mypy-boto3-ecs

uv

uv add mypy-boto3-ecs

poetry

poetry add mypy-boto3-ecs

Installing mypy-boto3-ecs

Before you install

Low install friction with a single runtime dependency (typing-extensions). Actively maintained with a release 9 days old and recent commits; the repository shows 670 stars and is not archived.

License in practice

MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.

Quickstart

pip install mypy-boto3-ecs

from boto3.session import Session
from mypy_boto3_ecs import ECSClient

client: ECSClient = Session().client("ecs")

Requires Python 3.9 or later; boto3 must be installed separately in your environment.

Verify before relying

  • Whether the package works with boto3 versions other than 1.43.65 or how version mismatches are handled.
  • Performance impact on PyCharm beyond the documented Literal overload issue (PY-40997).
  • Whether generated type stubs remain accurate across boto3 minor/patch updates.

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 — 9 days since the last release
Last repo commit
First released
Downloads 2,427,569/month — #3,070 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mypy_boto3_ecs-1.43.65-py3-none-any.whl

Keywords: boto3, ecs, 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 type annotationsaws ecs type stubsmypy boto3 ecsboto3 ecs type hintsaws sdk python typingecs client type checkingboto3 static analysis
type-stubsaws-sdkstatic-typing

More Software Development packages