Command Line Interface for interacting with 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file et_engine_cli-0.0.0.tar.gz
.
File metadata
- Download URL: et_engine_cli-0.0.0.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2731b20aa5fbeae12f3841d9104b57c49d03fb9085fa0dd96107a515f3516f95 |
|
MD5 | 934bf39905d70fab42518270b537ef24 |
|
BLAKE2b-256 | 1155b7335f3174b0e0fa9c6eb76afb5b434e0572d91a69d7413a6fa01488b204 |
File details
Details for the file et_engine_cli-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: et_engine_cli-0.0.0-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c95749f57ababba94de0a18447f3011bc0028de54cd8ad37ba155fd633cccda |
|
MD5 | 5ab99a6c7e057aeef9ba7dcb1e5aa68e |
|
BLAKE2b-256 | 856b0e961bb39e77ec8a7e6e1323d7bc7451e0a459eaeaa7e69eca86495d3665 |