CLI tool to utilize with Decypher automation
Project description
decy-tools
Features
- Provides extensible CLI application with ability to easily add functionality
- Requires Python 3.8.2 or higher
Tech
This application uses the following:
- Pytest - Unit testing library
- Coverage - Unit testing extension to test branch coverage
- Requests - Python HTTP library
- Prompt-Toolkit - Python Library to ease CLI buildout
- Gitlab CI - Used to build developement sdlc pipeline
- Setuptools-SCM - Python automated versioning library
- Twine - used to upload package to PyPi
Installation
- Run
pip install decy-tools
- Ensure that you have
DECY_GATEWAY_TOKEN
set as an environment variable. See ITG for the token. The application will use this to authenticate against our api gateway
Usage:
Currently the usage in place is:
usage: decy-tool [-h] {new-email-interactive} ...
positional arguments:
{new-email-interactive}
optional arguments:
-h, --help show this help message and exit
Troubleshooting
Error: 2021-12-03 12:00:20,831 :: root :: CRITICAL :: {"message":"Forbidden"}
This means that the API key you have set to the env. variable of DECY_GATEWAY_TOKEN
is incorrect.
Timeout: This means that the api gateway is unreachable. Check the AWS console to validate the URL
License
MIT
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file decy_tools-2.2.1-py3-none-any.whl
.
File metadata
- Download URL: decy_tools-2.2.1-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfd3ce84a62e3e56e3f9ab7c7a33fcd699c0d18b5ad2a852274fb34e110d61c9 |
|
MD5 | 740f7fa4a1badb3abb107ba6c07334c6 |
|
BLAKE2b-256 | a0dbae0114c295bf3bbc470df5002b5b905c6c4ca837bc966d27c4b40b5e7e34 |