skillfed

mypy-boto3-cognito-identity

Type annotations for boto3 CognitoIdentity 1.43.0 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-cognito-identity v1.43.0 620.0K downloads/30d#5,728 on PyPI670
Permissive license MIT Active released

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-identity

uv

uv add mypy-boto3-cognito-identity

poetry

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 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

Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTyping :: Stubs Only

Tags

boto3 type stubs cognito identitymypy boto3 type annotationscognito identity type hintsboto3 stubs IDE autocompletepython aws cognito typingmypy-boto3 type checking
type-stubsaws-sdktype-checking

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

mypy-boto3-iot

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-ec2

Provides type annotations and IDE autocomplete…

permissive · top 5,000 on PyPI

mypy-boto3-connect

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-cognito-idp

Provides type annotations and IDE…

permissive · top 5,000 on PyPI

mypy-boto3-cognito-sync

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-signer-data

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-chime-sdk-identity

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

types-boto3-cognito-idp

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-marketplacecommerceanalytics

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-signin

Provides type annotations and IDE…

permissive · top 15,000 on PyPI