Getting basic interactions with Tetration via our favourite media, the cli
Project description
Tetrationcli to interact with Tetration Cluster via the cli
Installation
Currently there are very limited options working, this application still in ALPHA state. For any improvements or comments fill an issue and we'll work on it.
From PyPI
pip install tetrationcli
From sources
Download the sources from Github, extract and execute the following commands
$ pip install -r requirements.txt
$ pip install setup.py
Basic to run the application:
To access to the cluster you need to get the API Credentials.
The file api_credentials.json
downloaded from the cluster is expected to be placed in folder ~/.config/tetrationcli/
then to define the cluster name you need to create the config file tetrationcli.conf
in ~/.config/tetrationcli/
total 16
0 drwxr-xr-x 4 user staff 128 Nov 11 16:16 .
0 drwx------ 13 user staff 416 Nov 11 16:10 ..
8 -rw-r--r--@ 1 user staff 111 Nov 11 09:52 api_credentials.json
8 -rw-r--r-- 1 user staff 121 Nov 11 16:16 tetrationcli.conf
and the file tetrationcli.conf
requires the information:
[tetrationcli]
api_endpoint = https://mygreatapp.example.com
api_credentials = ~/.config/tetrationcli/api_credentials.json
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
Built Distribution
File details
Details for the file tetrationcli-0.0.1.dev20181129182311.tar.gz
.
File metadata
- Download URL: tetrationcli-0.0.1.dev20181129182311.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b662758bb2a940aadea68d26395fa06a38a2f434e3538e49bb3c824cb13dd770 |
|
MD5 | 2dd0aaefed74e28eeab2f5a7c05bfbac |
|
BLAKE2b-256 | b87e0fa350c4eccbbb63c542f5459e32c6f0b3cea6c6a6afc4189fe0d97adb5b |
File details
Details for the file tetrationcli-0.0.1.dev20181129182311-py3-none-any.whl
.
File metadata
- Download URL: tetrationcli-0.0.1.dev20181129182311-py3-none-any.whl
- Upload date:
- Size: 25.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af715f6cd29cfe675c4729e3a90d612998080d622ba60c4cea9bf9c92d1e89cd |
|
MD5 | 1e34e13277c0af92648cb03ab2a6a643 |
|
BLAKE2b-256 | 381b211ca622cf57e829fb32f3c8cb02dfdf023759e7efcea9f0add53a9c37e7 |