A lightweight Python library for processing SRP (Secure Remote Password) requests for AWS Cognito User Pools. Extracted from the Warrant library, it provides only the low-level SRP authentication logic without the higher-level helpers. Current version 1.0.4 supports Python 3.6+.
pip install warrant-liteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize Cognito client with pool and client IDs. The library only handles SRP; higher-level auth (e.g., initiate_auth with AWS credentials) is not included.
Use the full Warrant library if you need higher-level features, or implement SRP yourself using the provided primitives.
Ensure boto3 has valid credentials: either set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, or configure a boto3 session before creating Cognito.
Consider using 'warrant' (https://pypi.org/project/warrant/) for a more complete solution.