skillfed

types-boto

Typing stubs for boto

types-boto v2.49.18.20241019 783.0K downloads/30d#5,076 on PyPI5,108
Permissive license Apache-2.0 Active released

What it is and what it does

This package provides PEP 561 type stubs for the boto AWS SDK, allowing static type checkers like mypy, pyright, and pytype to understand boto's API and catch type errors in your code. It's a stub-only package with no runtime dependencies—you install it alongside boto to enable type checking, but it doesn't affect how your code runs.

The stubs are marked as partial, meaning not all boto APIs have type annotations yet. The package is part of the typeshed project and targets boto version 2.49.*. While the package is no longer actively maintained, it remains available for projects still using older boto versions that need type-checking support.

Use it for:

  • Enable mypy or pyright type checking in a project using boto 2.49.* for AWS API calls
  • Catch type errors in boto code before runtime in a CI/CD pipeline
  • Get IDE autocomplete and type hints for boto in PyCharm or VS Code with Pylance
  • Migrate legacy boto code with confidence by adding static type checking

Worth the install?

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

Provides type stubs for the boto AWS SDK, enabling static type checking of boto code with mypy, pyright, pytype, Pyre, and PyCharm.

Yes, if you use boto 2.49.* and want static type checking. Install it as a development dependency alongside boto. Be aware the package is unmaintained and stub coverage is partial—if you're starting a new project, consider using boto3 (the modern AWS SDK) instead, which has better type support.

Install

types-boto on PyPI

pip

pip install types-boto

uv

uv add types-boto

poetry

poetry add types-boto

Installing types-boto

Before you install

Low friction installation with no runtime dependencies. Marked as active maintenance with recent updates, though the package itself is noted as unmaintained and won't receive further updates.

License in practice

Apache-2.0 is permissive; you can use this package freely in commercial and private projects without restriction.

Quickstart

pip install types-boto

# Then use with your type checker:
# mypy your_boto_code.py
# or configure in pyproject.toml/setup.cfg for automatic checking

Requires Python 3.8 or later. The stubs target boto==2.49.* only; if you use a different boto version, type coverage may be incomplete.

Verify before relying

  • Whether the partial stub coverage is sufficient for your specific boto usage patterns
  • Compatibility with boto versions outside the 2.49.* series

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 664 days since the last release
Last repo commit
First released
Downloads 783,017/month — #5,076 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: types_boto-2.49.18.20241019-py3-none-any.whl

License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Typing :: Stubs Only

Tags

boto type stubsboto type hintsAWS SDK type checkingboto mypy supportstatic type checking botoboto type annotationsPEP 561 stubs boto
type-stubsaws-sdk

More Software Development packages