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

Uploaded Source

Built Distribution

File details

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

File metadata

  • Download URL: tetrationcli-0.0.1.dev20181119210443.tar.gz
  • Upload date:
  • Size: 10.4 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.dev20181119210443.tar.gz
Algorithm Hash digest
SHA256 75cc4ceb7da37390d8dc043ba7775167d4fa84b5aec2ffb3633aa03b20fbaf6b
MD5 18ae24c0cc9f0c8d38fbc4d6f48b3d55
BLAKE2b-256 493f9fe95e81cf4f79a6deefa89f81e278bfe86be61a73e1a0d56b9e4f59632c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tetrationcli-0.0.1.dev20181119210443-py3-none-any.whl
  • Upload date:
  • Size: 20.0 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.dev20181119210443-py3-none-any.whl
Algorithm Hash digest
SHA256 391f891a6dccc3535f2f56f132b7545ac894c41bea40ef9cd6ab0b3a8eaac11a
MD5 8ef8c6d49c8a2abe5e478fa818d8dac3
BLAKE2b-256 3dcd70e1779bf4152772da7e47fb5ab3e132a81ff2bf73a6491eb79ad1117512

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