$npx skillfedfor your agent

pycognito

Python class to integrate Boto3's Cognito client so it is easy to login users. With SRP support.

Worth itPyPI Python ModulesReleased May 20242.5M downloads / moApache License 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pycognito-2024.5.1-py3-none-any.whl
v2024.5.1 · released 2024-05-16 · Python >=3.8 · 4 runtime deps: boto3, envs, pyjwt, requests

Yes. The package is actively maintained, has low install friction, carries a permissive license, and solves a real friction point for Python developers integrating Cognito. No known vulnerabilities. Install it if your application uses AWS Cognito and you want to avoid writing Boto3 boilerplate for common auth flows.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires valid AWS Cognito user pool ID and client ID; AWS credentials (via boto3) must be configured in your environment or passed explicitly.
  • Low install friction with a pure-Python wheel distribution.
  • Actively maintained as of March 2026 with recent releases; the repository shows 149 stars and no archival.

License · maintenance · safety

Apache License 2.0 (permissive) — Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions beyond attribution and liability disclaimers.

last release 2024-05-16 (820 days) · last repo commit 2026-03-01 · 149 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,469,152 downloads/mo, #3,050 on PyPI

Verify before relying

pip install pycognito

from pycognito import Cognito

u = Cognito('your-user-pool-id', 'your-client-id', username='bob')
u.authenticate(password='bobs-password')
print(u.id_token, u.access_token)
  • Whether SRP (Secure Remote Password) authentication is enabled by default or requires explicit configuration.
  • Support for device authentication flows and whether DeviceKey/DeviceGroupKey handling is automatic or manual.
  • Whether MFA challenges (SMS and software token) are fully handled or require application-level orchestration.
  • Performance characteristics when managing large user pools or batch operations.
Same gist for agents: .md · .json

What it is and what it does

pyCognito wraps AWS Cognito's authentication and user management capabilities behind a simpler Python interface. It handles user registration, login (including SRP-based authentication), password resets, token verification, and administrative operations like listing users and groups. The package manages JWT token claims, supports multi-factor authentication flows, and can work with device authentication if your Cognito pool is configured for it.

The package depends on boto3 for AWS API calls, pyjwt for token verification, requests for HTTP operations, and envs for environment variable handling. It supports Python 3.8 through 3.12 and is designed for applications that need to integrate Cognito without writing low-level Boto3 boilerplate.

Use it for

  • Build a web application login flow that delegates authentication to AWS Cognito without managing tokens directly.
  • Implement user self-service registration and password reset workflows in a serverless backend.
  • Verify Cognito ID and access tokens in API middleware or Lambda authorizers.
  • Manage user attributes and group memberships programmatically from a Python admin panel.
  • Authenticate requests using SRP to avoid sending plaintext passwords over the wire.
  • Handle multi-factor authentication challenges in a custom authentication UI.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has low install friction, carries a permissive license, and solves a real friction point for Python developers integrating Cognito. No known vulnerabilities. Install it if your application uses AWS Cognito and you want to avoid writing Boto3 boilerplate for common auth flows.

Install

pycognito on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained as of March 2026 with recent releases; the repository shows 149 stars and no archival.

Requires valid AWS Cognito user pool ID and client ID; AWS credentials (via boto3) must be configured in your environment or passed explicitly.

License in practice

Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions beyond attribution and liability disclaimers.

Quickstart

pip install pycognito

from pycognito import Cognito

u = Cognito('your-user-pool-id', 'your-client-id', username='bob')
u.authenticate(password='bobs-password')
print(u.id_token, u.access_token)

Verify before relying

  • Whether SRP (Secure Remote Password) authentication is enabled by default or requires explicit configuration.
  • Support for device authentication flows and whether DeviceKey/DeviceGroupKey handling is automatic or manual.
  • Whether MFA challenges (SMS and software token) are fully handled or require application-level orchestration.
  • Performance characteristics when managing large user pools or batch operations.

Package facts

LicenseApache License 2.0 permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
boto3envspyjwtrequests
MaintenanceActively maintained 820 days since the last release
Last repo commit
First released
Downloads2,469,152 / month, #3,050 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Environment :: Web EnvironmentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Evidence: pycognito-2024.5.1-py3-none-any.whl

Tags

Capabilities
aws cognito authentication pythoncognito user pool logincognito srp authenticationaws identity management pythoncognito token verificationcognito user managementpython cognito wrapper
Topics
aws-cognitoauthenticationidentity-management
PyPI keywords
awscognitoapigatewayserverless

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “aws cognito authentication python”

  • pycognitoSimplifies AWS Cognito user authentication and management for Python…
  • warrantWarrant wraps AWS Cognito user management operations into a Python…
  • Flask-AWSCognitoIntegrates AWS Cognito user authentication into Flask applications,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also Flask-AWSCognito · warrant · aws-cdk.aws-cognito · Flask-Cognito · cognitojwt · fastapi-cognito · fastapi-cloudauth · oauth2-client · django-allauth · h2o-authn