--- id: mypy-boto3-cognito-identity version: "1.43.0" license: MIT license_treatment: permissive maintenance: active --- # mypy-boto3-cognito-identity — Type annotations for boto3 CognitoIdentity 1.43.0 service generated with mypy-boto3-builder 8.12.0 License: permissive · Maintenance: active · Downloads: 620.0K/mo ## 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 above — 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 pip install mypy-boto3-cognito-identity uv add mypy-boto3-cognito-identity poetry add mypy-boto3-cognito-identity ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 620.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags boto3 type stubs cognito identity, mypy boto3 type annotations, cognito identity type hints, boto3 stubs IDE autocomplete, python aws cognito typing, mypy-boto3 type checking, type-stubs, aws-sdk, type-checking [View on SkillFed](https://skillfed.io/packages/mypy-boto3-cognito-identity) · [View on PyPI](https://pypi.org/project/mypy-boto3-cognito-identity/)