mypy-boto3-cognito-identity
Type annotations for boto3 CognitoIdentity 1.43.0 service generated with mypy-boto3-builder 8.12.0
What it is and what it does
This package provides type stubs and annotations for boto3's CognitoIdentity service, generated from boto3 1.43.0. It enables static type checking and IDE code completion when working with AWS Cognito Identity through boto3, supporting mypy, pyright, VSCode Pylance, PyCharm, Emacs, Sublime Text, and other type-aware tools.
The package is a pure type-stub distribution with no runtime logic—it only adds type information to boto3 calls. It includes annotations for the CognitoIdentityClient, paginators, waiters, and type definitions. Installation is optional for production code (can be guarded with TYPE_CHECKING) but recommended in development environments to catch type errors early and improve IDE responsiveness.
Use it for:
- Enable IDE autocomplete and type checking when writing boto3 CognitoIdentity client code in VSCode or PyCharm.
- Catch type errors in AWS Cognito Identity API calls before runtime using mypy or pyright in CI/CD pipelines.
- Provide explicit type annotations for CognitoIdentityClient, paginators, and service responses in team codebases.
- Improve code documentation and maintainability by making boto3 CognitoIdentity API contracts visible to type checkers.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type annotations and IDE autocomplete support for boto3's CognitoIdentity service, enabling static type checking with mypy, pyright, and other tools.
Yes. Install this if you use boto3 for CognitoIdentity and want static type checking or IDE autocomplete. It has low install friction, active maintenance, no vulnerabilities, and a permissive MIT license. The only caveat is PyCharm performance on Literal overloads—if you use PyCharm, consider boto3-stubs-lite as an alternative.
Install
mypy-boto3-cognito-identity on PyPI
pip
pip install mypy-boto3-cognito-identityuv
uv add mypy-boto3-cognito-identitypoetry
poetry add mypy-boto3-cognito-identityInstalling mypy-boto3-cognito-identity
Before you install
Low friction installation as a pure type-stub package with only typing-extensions as a runtime dependency. Actively maintained with recent releases and no known vulnerabilities.
License in practice
MIT license permits unrestricted use, modification, and distribution. Safe to use in both open-source and commercial projects without licensing concerns.
Quickstart
# Install alongside boto3-stubs or standalone
pip install mypy-boto3-cognito-identity
# Import and use with type checking
from boto3.session import Session
from mypy_boto3_cognito_identity import CognitoIdentityClient
client: CognitoIdentityClient = Session().client("cognito-identity")
Requires Python 3.9 or later; type checking benefits depend on having mypy, pyright, or a compatible IDE installed.
Verify before relying
- Whether performance impact on PyCharm is resolved since the documented issue PY-40997 was filed.
- Whether the boto3-stubs-lite alternative offers sufficient type coverage for most use cases.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — typing-extensions |
| Maintenance | actively maintained — 107 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 619,983/month — #5,728 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_cognito_identity-1.43.0-py3-none-any.whl
Keywords: boto3, cognito-identity, boto3-stubs, type-annotations, mypy, typeshed, autocomplete
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
mypy-boto3-iotProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-ec2Provides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
mypy-boto3-connectProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-cognito-idpProvides type annotations and IDE…
permissive · top 5,000 on PyPI
mypy-boto3-cognito-syncProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-signer-dataProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-chime-sdk-identityProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
types-boto3-cognito-idpProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-marketplacecommerceanalyticsProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-signinProvides type annotations and IDE…
permissive · top 15,000 on PyPI