Extendable shell/CLI tool with AWS Cognito authentication.
Project description
cognito-user-shell
Extendable Python shell/CLI tool/API client with AWS Cognito authentication
Example package shows how you can expand and implement your own tools.
Installation
pip install cognito-user-shell
Run the example
git clone https://github.com/jussiniinikoski/cognito-user-shell.git
cd cognito-user-shell
# Set up some environment variables
# set PYTHONPATH to current directory if didn't pip install
export PYTHONPATH=./
export COGNITO_CLIENT_ID=add-your-aws-cognito-client-id-here
export API_URL=http://127.0.0.1:8000
python example
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cognito-user-shell-0.1.8.tar.gz
.
File metadata
- Download URL: cognito-user-shell-0.1.8.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3625b6eca0ca05392f584493f5aacc8b352fdc0b892f26102cc5558e9e359f99 |
|
MD5 | 7401889139e81847e755559268f6f42c |
|
BLAKE2b-256 | 869a023b52267a6b364327ffa8284864dcac6717d79740bc2f66c46db9986b25 |
File details
Details for the file cognito_user_shell-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: cognito_user_shell-0.1.8-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4ee83185277ae4197f70975ab751187b3336aa3bee518fee52873d27482f72e |
|
MD5 | 5957a27d5a4fd8b5b759f4c3b831d56b |
|
BLAKE2b-256 | 6a5cbf13f7b8c451e6d1224ed28371f40ae548a291a43e7db3c813f5ae84d031 |