A small example package
Project description
Cognito Client
A client to smooth over process of common authentication scenarios using AWS Cognito. Intended to be used within an interactive terminal environment (e.g. Python Notebook, CLI).
Usage
Install
pip install cognito_client
Use
Create an .env
file in the format of examples/env.example
and create a client in the same directory:
client = CognitoClient()
OR pass the Cognito identifiers as arguments to the function:
client = CognitoClient(
client_id="XXX",
user_pool_id="us-west-XXX",
identity_pool_id="us-west-2:XXX",
)
See examples/temporary-credentials-example.ipynb
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cognito_client-0.0.1.tar.gz
(5.3 kB
view details)
Built Distribution
File details
Details for the file cognito_client-0.0.1.tar.gz
.
File metadata
- Download URL: cognito_client-0.0.1.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56782db55daf53baf7bcf20b8409e9b0a11e00f820748423d957d9481aad42f8 |
|
MD5 | aa3fff091bf1fb76998804af871f50d6 |
|
BLAKE2b-256 | 99645652efcb3735936e3e6a85c582d00cc17f765fbb8ced89558d32a76a2640 |
File details
Details for the file cognito_client-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: cognito_client-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8da1e850478de08509931bfa1cc9edc6d68f254218238fe7b1fbe8e6fb1ac6c6 |
|
MD5 | 7614b5ba886c5c11dd2343c869e47add |
|
BLAKE2b-256 | 902f220ffe168305cb8a7ec9645f1f9b8faa32169ce506c9390df1274de7d9f8 |