skillfed

types-aiobotocore-ec2

Type annotations for aiobotocore EC2 3.9.0 service generated with mypy-boto3-builder 8.12.0

types-aiobotocore-ec2 v3.9.0 3.7M downloads/30d#2,524 on PyPI670
Permissive license MIT Active released

What it is and what it does

types-aiobotocore-ec2 is a type-stub package that adds complete type annotations for the aiobotocore EC2 service. It was generated using mypy-boto3-builder 8.12.0 and provides type hints for EC2 clients, paginators, waiters, and service resources. When installed, it enables IDE features like autocomplete and inline documentation, and allows static type checkers (mypy, pyright) to validate your async AWS EC2 code without requiring explicit type annotations in your source.

The package is designed to work with multiple development environments: VSCode with Pylance, PyCharm, Emacs with lsp-pyright, Sublime Text with LSP-pyright, and command-line type checkers. It has a single runtime dependency on typing-extensions and requires Python 3.9 or later. The package is pure stubs (no compiled code), making installation straightforward and friction-free.

Use it for:

  • Enable IDE autocomplete and type checking when writing async EC2 code with aiobotocore in VSCode or Emacs.
  • Validate EC2 API calls with mypy or pyright in CI/CD pipelines to catch type errors before deployment.
  • Provide inline documentation and parameter hints for EC2 client methods, paginators, and waiters in your editor.
  • Use TYPE_CHECKING guards to get type safety during development while keeping the package out of production dependencies.
  • Migrate from synchronous boto3 to async aiobotocore with confidence via static type checking.

Worth the install?

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

Provides type stubs and annotations for aiobotocore EC2 3.9.0, enabling IDE autocomplete, type checking with mypy and pyright, and static analysis for async AWS EC2 operations.

Yes. This is a low-friction, actively maintained type-stub package with no security vulnerabilities, permissive MIT licensing, and a single lightweight dependency. Install it if you use aiobotocore EC2 3.9.0 and want IDE autocomplete or static type checking. PyCharm users should be aware of a known performance issue (PY-40997) with Literal overloads and may prefer types-aiobotocore-lite instead.

Install

types-aiobotocore-ec2 on PyPI

pip

pip install types-aiobotocore-ec2

uv

uv add types-aiobotocore-ec2

poetry

poetry add types-aiobotocore-ec2

Installing types-aiobotocore-ec2

Before you install

Low friction: single runtime dependency (typing-extensions), wheel distribution, and active maintenance with a recent release 12 days ago. Designed as a pure type-stub package with no compiled dependencies.

License in practice

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

Quickstart

pip install types-aiobotocore-ec2

from aiobotocore.session import get_session
from types_aiobotocore_ec2 import EC2Client

session = get_session()
async with session.create_client("ec2") as client:
    client: EC2Client
    # Type checking and IDE completion now available

Requires aiobotocore 3.9.0 to be installed separately; Python 3.9 or later.

Verify before relying

  • Whether the package works with aiobotocore versions other than 3.9.0 or only that specific version.
  • Performance impact in PyCharm reported in the description (PY-40997) and whether it affects other IDEs.
  • Whether types-aiobotocore-lite is recommended as a default or only for PyCharm users experiencing slowness.

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

Evidence: types_aiobotocore_ec2-3.9.0-py3-none-any.whl

Keywords: aiobotocore, ec2, aiobotocore-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

aiobotocore ec2 type stubsaws ec2 async type annotationsmypy boto3 ec2 typespyright aiobotocore ec2ec2 client type hintsaiobotocore type checkingboto3 ec2 autocomplete
type-stubsaws-ec2async

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

types-aiobotocore-connect

Provides type stubs and annotations for the…

permissive · top 15,000 on PyPI

types-aiobotocore-ecr

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

types-aiobotocore-ecs

Provides type stubs and IDE autocompletion for…

permissive · top 15,000 on PyPI

types-aiobotocore-iot

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

types-aiobotocore-opensearchserverless

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

types-aiobotocore-rds

Provides type stubs and IDE autocompletion for…

permissive · top 5,000 on PyPI

types-aiobotocore-s3

Provides type stubs and IDE autocompletion…

permissive · top 5,000 on PyPI

types-aiobotocore-sesv2

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

types-aiobotocore-sqs

Provides type annotations and IDE autocomplete…

permissive · top 5,000 on PyPI

types-aiobotocore-translate

Provides type stubs and IDE autocomplete…

permissive · top 15,000 on PyPI