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.
Metadata
Release files for cognito-client 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cognito_client-0.0.1.tar.gz | 5.3 kB | Without provenance | Details for cognito_client-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cognito_client-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for cognito_client-0.0.1-py3-none-any.whl |
Total release size: 10.6 kB
Release files / cognito_client-0.0.1.tar.gz
| Download URL | cognito_client-0.0.1.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56782db55daf53baf7bcf20b8409e9b0a11e00f820748423d957d9481aad42f8
|
|
BLAKE2b-256 checksum How to use checksums |
99645652efcb3735936e3e6a85c582d00cc17f765fbb8ced89558d32a76a2640
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.7
|
Release files / cognito_client-0.0.1-py3-none-any.whl
| Download URL | cognito_client-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8da1e850478de08509931bfa1cc9edc6d68f254218238fe7b1fbe8e6fb1ac6c6
|
|
BLAKE2b-256 checksum How to use checksums |
902f220ffe168305cb8a7ec9645f1f9b8faa32169ce506c9390df1274de7d9f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.7
|
Security for cognito-client 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.