Skip to main content

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

How to use 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tetrationcli-0.0.1.dev20181123201532.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file tetrationcli-0.0.1.dev20181123201532.tar.gz.

File metadata

  • Download URL: tetrationcli-0.0.1.dev20181123201532.tar.gz
  • Upload date:
  • Size: 12.8 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

Hashes for tetrationcli-0.0.1.dev20181123201532.tar.gz
Algorithm Hash digest
SHA256 dac155cbf69a2a17e3f47807c485e2ea0bb96dd4ce7818d01b189ea2f4d15fe4
MD5 f92c23207aa1a40414005568f3be3cba
BLAKE2b-256 c76608c27dd6cb01556ba0a9a867f8d49f2ee2a4d9207f5d4300f4cf36bfa877

See more details on using hashes here.

File details

Details for the file tetrationcli-0.0.1.dev20181123201532-py3-none-any.whl.

File metadata

  • Download URL: tetrationcli-0.0.1.dev20181123201532-py3-none-any.whl
  • Upload date:
  • Size: 24.2 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

Hashes for tetrationcli-0.0.1.dev20181123201532-py3-none-any.whl
Algorithm Hash digest
SHA256 24893ba986afb416bc133573a31f9c495267009593dd9855a26e5f3f04aa2705
MD5 764740912e046764f88acf2fc8745cb8
BLAKE2b-256 11546baed83d83b2c57cd2409f8b24f22346657ca49808e0065eef62064482d4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page