Skip to main content

Command Line Interface for the ET Engine

Project description

ET Engine Command-Line Interface Tool

The official CLI for interacting with ET Engine resources

Resource Link
Command-Line Interface (CLI) tool https://github.com/exploretech-ai/et-engine-cli
ET Engine Web App https://engine.exploretech.ai
Comprehensive Documentation https://docs.exploretech.ai
About ExploreTech https://exploretech.ai

Quick Start

First, First, make sure you have an account on the ET Engine Web App.

Next, ensure your Python version is >=3.11.9 and install the CLI using pip.

pip install et-engine-cli

Log into the ET Engine using your ET Engine credentials.

et login

Get help on the commands.

et -h
et tools -h
et filesystems -h

View the available tools.

et tools list

View the available filesystems.

et filesystems list

Creating Tools

First, create a new folder called my-first-tool where you want to house the tool.

mkdir my-first-tool
cd my-first-tool

Initialize the folder as a new tool named hello-tool.

et tools init hello-tool

This will create a simple tool inside the current directory. Building tools is very similar to building Docker images. In fact, that's exactly what the CLI does under the hood, just in a very specific way. For this example, you can build the tool using the following command.

et tools build --name hello-tool .

This packages your tool into a Docker image stored on your local computer. When you're ready, you can push it to ET Engine using

et tools push hello-tool

The tool can now be run like a function via the Engine Web App or the Python SDK with a script such as below.

import et_engine as et
engine = et.Engine()

hello = engine.tools.connect("hello-tool")
hello(name="John")
hello(name="Jane")

Contributing

We welcome contributions from the community. See CONTRIBUTING.md for more details.

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

et_engine_cli-0.0.1.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

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

et_engine_cli-0.0.1-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file et_engine_cli-0.0.1.tar.gz.

File metadata

  • Download URL: et_engine_cli-0.0.1.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for et_engine_cli-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3cfcfa57fdf199e738c025a327ed6a83440af59b6c82fec987ba533f75ac2898
MD5 51387f7fb9ca10e210b37b17027f4ce9
BLAKE2b-256 a94bd9bdb0b4e2fa7c2838a06f53a674d1ef5f213304b0885666f442730f4b64

See more details on using hashes here.

File details

Details for the file et_engine_cli-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: et_engine_cli-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for et_engine_cli-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6f9ed321bee6ee8667edf0b84d435c74c6566f2de5dd1a8136b8a662843ee46d
MD5 2a2690f9fb8a4c0b6862d5b9aa0c6368
BLAKE2b-256 3376799e40e08489289dee7235e3658f1ec649e59a54014b4ca8f8b8da6ce46c

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