types-boto
Typing stubs for boto
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-botouv
uv add types-botopoetry
poetry add types-botoInstalling 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
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
types-paho-mqttProvides type stubs for paho-mqtt 1.6.* to…
permissive · top 15,000 on PyPI
types-redisProvides type stubs for the redis package,…
permissive · top 1,000 on PyPI
types-pyOpenSSLProvides type stubs for pyOpenSSL to enable…
permissive · top 5,000 on PyPI
types-influxdb-clientProvides type stubs for influxdb-client,…
permissive · top 15,000 on PyPI
types-typed-astProvides type stubs for the typed-ast package,…
permissive · top 15,000 on PyPI
types-stripeProvides type stubs for the stripe package,…
permissive · top 5,000 on PyPI
types-Flask-SQLAlchemyProvides type stubs for Flask-SQLAlchemy to…
permissive · top 15,000 on PyPI
types-beautifulsoup4Provides type hints for beautifulsoup4 code via…
permissive · top 5,000 on PyPI
types-urllib3Provides type stubs for urllib3 to enable…
permissive · top 1,000 on PyPI
types-appdirsProvides type stubs for the appdirs package to…
permissive · top 15,000 on PyPI