{"id":23379,"library":"boto3-type-annotations-with-docs","title":"boto3-type-annotations-with-docs","description":"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.","status":"active","version":"0.3.1","language":"python","source_language":"en","source_url":"https://github.com/alliefitter/boto3_type_annotations","tags":["boto3","type-annotations","stubs","type-hints"],"install":[{"cmd":"pip install boto3-type-annotations-with-docs","lang":"bash","label":"Install via pip"}],"dependencies":[{"reason":"Runtime dependency for type stubs to work with boto3","package":"boto3","optional":false},{"reason":"Alternative package that provides official stubs; this package may conflict","package":"mypy-boto3","optional":true}],"imports":[{"note":"This package is installed under its own module name, not 'boto3_stubs'.","wrong":"import boto3_stubs","symbol":"boto3_type_annotations_with_docs","correct":"import boto3_type_annotations_with_docs"}],"quickstart":{"code":"import boto3\nimport boto3_type_annotations_with_docs  # Must import to enable type annotations\n\nclient = boto3.client('s3', region_name='us-east-1')\n# Now client will have type hints in IDEs that support them","lang":"python","description":"Import the package after boto3 to activate type stubs. No further configuration needed."},"warnings":[{"fix":"Add 'import boto3_type_annotations_with_docs' after importing boto3.","message":"You must explicitly import boto3_type_annotations_with_docs in your code for type hints to work. Simply installing the package is insufficient.","severity":"gotcha","affected_versions":"*"},{"fix":"Consider using 'mypy-boto3' for official support and more comprehensive stubs.","message":"The official AWS stubs are provided by the 'mypy-boto3' package. This package is a third-party fork and may not be maintained as actively.","severity":"deprecated","affected_versions":"0.3.0+"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install boto3-type-annotations-with-docs' and verify installation with 'pip list | grep boto3-type'.","cause":"The package is not installed or installed in a different environment.","error":"ModuleNotFoundError: No module named 'boto3_type_annotations_with_docs'"},{"fix":"Do not import submodules from this package; only import the top-level module: 'import boto3_type_annotations_with_docs'.","cause":"Missing submodule or wrong import path.","error":"ImportError: cannot import name '...' from 'boto3_type_annotations_with_docs'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}