Skip to main content

epiphani CLI for registering connectors & executing scripts in a sandbox

Project description

ecube

epiphani execution engine (e3) allows running local scripts and commands in conjunction with other cloud based connectors to create low-code playbooks. These can be shared with other team members using collaboration tools such as Slack. For more information visit: https://www.epiphani.ai

Installation

$ pip install epiphani-ecube

ecube config & arguments

In order to use ecube, you need to first create an epiphani account. Once you have the account, you need to setup ecube by adding your credentials in ~/.e3.ini

(ecube) pmadhav@ip-172-31-46-212:~$ e3 --help
usage: e3 <command> [<args>]
The following commands are supported:
    run      Run a local connector
    runcli   Run a cli as a connector 
    playbook Interact with the playbook engine 

Please create a config file ~/.e3.ini with following content:
[DEFAULT]
username = <epiphani username> <REQUIRED>
password = <epiphani password> <REQUIRED>
login = URL to epiphani <OPTIONAL>
log_file = foo.log <OPTIONAL>
local_install = true <OPTIONAL | Use local installation | Default: false>
local_install_host = localhost <OPTIONAL | IP/FQDN of local installation | Default: localhost>
local_install_port = 31050 <OPTIONAL | GraphQL server port number | Default: 31050>

If you set local_install_host or local_install_port, local_install is automatically set to true

e3 (ecube) -> epiphani execution engine

positional arguments:
  command     Subcommand to run

optional arguments:
  -h, --help  show this help message and exit
(ecube) pmadhav@ip-172-31-46-212:~$ 

Using ecube examples

runcli

e3 runcli --name pmCli

This will create a connector that will be executed on the machine that is running e3. It can be made a part of any playbooks on the playbook engine. Please see this: https://github.com/epiphani-inc/ecube/wiki/Install

Use ecube to create & run playbooks

Create a playbook

There are some simple sample playbooks in the gitrepo @ ./samples/playbooks You will have to edit them to add you AWS secret and key information where it says <>.

Once you have the samples edited and e3 installed, you can just create the playbook like this:

e3 playbook create --directory ./samples/playbooks/threeNode --name EC2CL109

Execute a playbook

To execute a playbook you just need to give the name of the playbook to run

e3 playbook run --vars '{"region": "us-west-2"}' --name EC2CL108

In this case the playbook needs variables - region where it is going to fetch the state from.

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

epiphani-ecube-1.1.0.tar.gz (76.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

epiphani_ecube-1.1.0-py2-none-any.whl (89.6 kB view details)

Uploaded Python 2

File details

Details for the file epiphani-ecube-1.1.0.tar.gz.

File metadata

  • Download URL: epiphani-ecube-1.1.0.tar.gz
  • Upload date:
  • Size: 76.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.17

File hashes

Hashes for epiphani-ecube-1.1.0.tar.gz
Algorithm Hash digest
SHA256 8a1cbc0019fbbd9b5aa023dcf88ba7dadf4d952683acfb3a876103d4c5d4133c
MD5 2d4c9a6a4e5cf95dfe4fdf35d1f02208
BLAKE2b-256 fd34fbc3a4b171169610c85a5ab69dd7bfd8c1ea269c988cafc45a65667a52f1

See more details on using hashes here.

File details

Details for the file epiphani_ecube-1.1.0-py2-none-any.whl.

File metadata

  • Download URL: epiphani_ecube-1.1.0-py2-none-any.whl
  • Upload date:
  • Size: 89.6 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/2.7.17

File hashes

Hashes for epiphani_ecube-1.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 39ebb2f6d38a5bf1f0f5de7d7f20e1d324070199c9b99cafeb65f2107a4b7251
MD5 5e95545f4dfd04284deea0106e0796f6
BLAKE2b-256 02849690a97362a8497dab0e5840af7dbc791dcfcb77552e82c6d7949152eed1

See more details on using hashes here.

Supported by

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