Registry / aws / warrant

warrant

JSON →
library0.6.1pypypiunverified

Python class to integrate Boto3's Cognito client so it is easy to login users. With SRP support. Current version: 0.6.1. Release cadence is irregular; no longer actively maintained.

pip install warrant
INSTALL
IMPORT
SIG · WARRANT
W
warrant
awspythonv0.6.1
Install
Import
Disk
Pass rate
0/ 10
Env Coverage0 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v? · pip install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
build_error
glibc
py 3.103.95 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Cognito
from warrant import Cognito
from warrant import Cognito

Initialize Cognito client with user pool ID and client ID.

import os from warrant import Cognito user_pool_id = os.environ.get('USER_POOL_ID', '') client_id = os.environ.get('CLIENT_ID', '') if not user_pool_id or not client_id: print('Set USER_POOL_ID and CLIENT_ID environment variables') else: u = Cognito(user_pool_id, client_id) print('Cognito client created successfully')
Debug
Known issues
deprecatedWarrant 0.6.1 is the last release; the project is in maintenance mode with no active development. Consider using python-cognito or direct boto3/cognitoidp calls for new projects.
fix
Migrate to python-cognito (pip install python-cognito) or use boto3.client('cognitoidp').
affects: >=0.6.1
gotchaThe 'pool_region' parameter is required when instantiating Cognito if the default region is not set via AWS environment variables. Omitting it may lead to region-related errors.
fix
Always pass pool_region='us-east-1' (or your region) to Cognito constructor.
affects: all
breakingIn version 0.6.0, the token verification logic changed. Tokens generated with older versions may fail verification after upgrade.
fix
Ensure your Cognito user pool app client settings align with the new token verification (e.g., correct access token validation).
affects: >=0.6.0
Upgrade
Version history
0.6.1latest on PyPI · released Dec 11, 2017
Audit
Dependencies
boto3requiredRequired for Cognito client integration
Agent activity
55 hits · last 30 days
node
46
Resources
warrant — pip install warrant · libregistry