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

$ pip install -r requirements.txt

$ pip install setup.py

Development

This project includes a number of helpers in the Makefile to streamline common development tasks.

Environment Setup

The following demonstrates setting up and working with a development environment:

### create a virtualenv for development

$ make virtualenv

$ source env/bin/activate


### run tetrationcli cli application

$ tetrationcli --help


### run pytest / coverage

$ make test

Releasing to PyPi

EXPERIMENTAL

Before releasing to PyPi, you must configure your login credentials:

~/.pypirc:

[pypi]
username = YOUR_USERNAME
password = YOUR_PASSWORD

Then use the included helper function via the Makefile:

$ make dist

$ make dist-upload

Deployments

Docker

EXPERIMENTAL

Included is a basic Dockerfile for building and distributing Tetration Command Line Interaction, and can be built with the included make helper:

$ make docker

$ docker run -it tetrationcli --help

Project details


Download files

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

Files for tetrationcli, version 0.0.1.dev20181119115558
Filename, size File type Python version Upload date Hashes
Filename, size tetrationcli-0.0.1.dev20181119115558-py3-none-any.whl (18.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size tetrationcli-0.0.1.dev20181119115558.tar.gz (9.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page