Registry / type-stubs / boto3-type-annotations-with-docs

boto3-type-annotations-with-docs

JSON →
library0.3.1pypypi✓ verified 80d ago

Provides type annotations (stubs) for boto3 to enable IDE autocompletion and static type checking. Version 0.3.1 is the latest release. The project appears maintained with irregular cadence.

pip install boto3-type-annotations-with-docs
INSTALL
IMPORT
SIG · BOTO3-TYPE-ANNOTAT
B
boto3-type-annotations-with-docs
type-stubspythonv0.3.1
Install
2.5s avg
Import
Disk
114MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.3.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 116.6MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.5s · import 0.000s · 117MB
114MB installed
● package 114MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

boto3_type_annotations
import boto3_type_annotations
import boto3_type_annotations_with_docs

Import the package after boto3 to activate type stubs. No further configuration needed.

import boto3 import boto3_type_annotations_with_docs # Must import to enable type annotations client = boto3.client('s3', region_name='us-east-1') # Now client will have type hints in IDEs that support them
Debug
Known issues
gotchaYou must explicitly import boto3_type_annotations_with_docs in your code for type hints to work. Simply installing the package is insufficient.
fix
Add 'import boto3_type_annotations_with_docs' after importing boto3.
affects: *
deprecatedThe official AWS stubs are provided by the 'mypy-boto3' package. This package is a third-party fork and may not be maintained as actively.
fix
Consider using 'mypy-boto3' for official support and more comprehensive stubs.
affects: 0.3.0+
Upgrade
Version history
0.3.1latest on PyPI · released May 2, 2019
Audit
Dependencies
boto3requiredRuntime dependency for type stubs to work with boto3
mypy-boto3optionalAlternative package that provides official stubs; this package may conflict
Agent activity
41 hits · last 30 days
node
32
OpenAI (training)
1
Resources
boto3-type-annotations-with-docs — pip install boto3-type-annotations-with-docs · libregistry