skillfed

boto3-type-annotations-with-docs

Type annotations for boto3. Adds code completion in IDEs such as PyCharm.

boto3-type-annotations-with-docs v0.3.1 119.9K downloads/30d#12,050 on PyPI112
Permissive license MIT License Abandoned released

What it is and what it does

This package solves a fundamental limitation of boto3: because AWS services are instantiated at runtime using factory methods with string arguments, IDEs cannot infer their types or provide code completion. boto3_type_annotations works around this by defining static stand-in classes for every boto3 service—clients, resources, paginators, and waiters—with full type annotations extracted from boto3's own docstrings. You import these classes and use them to annotate boto3 objects in your code, giving your IDE the type information it needs to offer autocomplete and catch type errors.

The package comes in two variants: a 2.2 MB version without docstrings (boto3_type_annotations) and a 41 MB version with full docstrings (boto3_type_annotations_with_docs, the subject here). The trade-off is size versus development convenience—docstrings in your IDE during development versus a lighter production dependency. The project is abandoned as of 2019, meaning it will not track boto3 API changes or receive updates.

Use it for:

  • Enable IDE autocomplete and type checking when writing boto3 code in PyCharm, VS Code, or other IDEs with type support.
  • Annotate boto3 client parameters in function signatures to catch argument errors before runtime.
  • Develop boto3-heavy applications where IDE support significantly reduces lookup time and typos.
  • Use in development environments where docstring access in the IDE is valuable, then switch to the lightweight variant for production.
  • Type-check boto3 code with mypy or similar static type checkers to catch service method misuse.

Worth the install?

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

Provides type-annotated stand-in classes for boto3 AWS service clients, resources, paginators, and waiters to enable IDE code completion and type inference.

Yes, if you actively develop with boto3 and want IDE code completion—the type annotations work and have no runtime overhead. However, be aware the project is abandoned (last update 2019) and will not track boto3 API changes. For production use, prefer the lightweight variant (boto3_type_annotations) unless you need docstrings in development. Monitor boto3 releases; if the API diverges significantly from 2019, these annotations may become inaccurate.

Install

boto3-type-annotations-with-docs on PyPI

pip

pip install boto3-type-annotations-with-docs

uv

uv add boto3-type-annotations-with-docs

poetry

poetry add boto3-type-annotations-with-docs

Installing boto3-type-annotations-with-docs

Before you install

Low install friction with no runtime dependencies. However, the project is abandoned—last commit was 2019-11-28 and no releases since 2019-05-02. It will not track boto3 API changes or receive maintenance updates.

License in practice

MIT License (permissive) allows use, modification, and distribution with minimal restrictions. No licensing barrier to adoption.

Quickstart

pip install boto3_type_annotations_with_docs

import boto3
from boto3_type_annotations.s3 import Client

client: Client = boto3.client('s3')
client.create_bucket(Bucket='my-bucket')

Requires boto3 to be installed separately; type annotations are stand-ins only and do not execute boto3 calls themselves.

Verify before relying

  • Whether type annotations remain accurate for current boto3 versions given the project's abandonment since 2019.
  • Compatibility with modern Python versions and type checkers (mypy, pyright) not explicitly stated in the fact sheet.
  • Whether the 41 MB package size with docstrings is still acceptable relative to current boto3 and botocore sizes.

Package facts

License MIT License (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance abandoned — 2,661 days since the last release
Last repo commit
First released
Downloads 119,909/month — #12,050 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: boto3_type_annotations_with_docs-0.3.1-py3-none-any.whl

License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Tags

boto3 type annotationsaws sdk type hintsboto3 ide code completiontype stubs for boto3boto3 intellisense supportaws client type checkingboto3 static type hints
type-hintsaws-sdkide-support

More Software Development packages