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.dev20181119123712.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: tetrationcli-0.0.1.dev20181119123712.tar.gz
  • Upload date:
  • Size: 9.2 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.dev20181119123712.tar.gz
Algorithm Hash digest
SHA256 44dfb03f71a3bb5d17f9d6c9458a43b748736918ed7351576060eba009918fa8
MD5 474c633b8a44e34fe84eb8b0b66505b4
BLAKE2b-256 e9046ac4049ba3d71e7490007b781d1891470e0b5c11d426f90a6a302a9beb05

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tetrationcli-0.0.1.dev20181119123712-py3-none-any.whl
  • Upload date:
  • Size: 18.5 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.dev20181119123712-py3-none-any.whl
Algorithm Hash digest
SHA256 ae9e7ea29aa9755cdc3815cf29617d7c916d249b37bff945fa6aebe628036a8c
MD5 d3665a77aaf00ac1de4c8299169ad656
BLAKE2b-256 736cd0b1262617a5dc01ef0f562f653bceba31805383685f6296b9b2aac2d8d7

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