Skip to main content

Universal Command Line Interface for Hive agent.

Project description

Hive-CLI

Hive-CLI is a command-line interface for managing and deploying Hive agent and experiments on Kubernetes and other platforms.

     ███          █████   █████  ███
    ░░░███       ░░███   ░░███  ░░░
      ░░░███      ░███    ░███  ████  █████ █████  ██████
        ░░░███    ░███████████ ░░███ ░░███ ░░███  ███░░███
         ███░     ░███░░░░░███  ░███  ░███  ░███ ░███████
       ███░       ░███    ░███  ░███  ░░███ ███  ░███░░░
     ███░         █████   █████ █████  ░░█████   ░░██████
    ░░░          ░░░░░   ░░░░░ ░░░░░    ░░░░░     ░░░░░░

Installation

Pre-requisites

  • Python 3.8 or higher
  • docker for image building.
  • gcloud CLI via brew install gcloud for authentication.

Notes:

  • Make sure to enable the ✅ Use containerd for pulling and storing images option in Docker Desktop settings, which is required for multi-arch image support.

Install via pip (Not-Available Yet)

pip install hive-cli

Install from source

source start.sh

How to run

Note: Hive-CLI reads the configuration from a yaml file, by default it will look for the ~/.hive/sandbox-config.yaml. You can also specify a different configuration file using the -f option. Refer to the config.yaml for examples.

Below we assume that you have a ~/.hive/sandbox-config.yaml file.

Edit the experiment

Edit command will open the configuration file in your default editor (e.g., vim, nano, etc.) for you to modify the experiment configuration. You can also specify a different editor using the EDITOR environment variable, by default it will use vim.

hive edit config

Create an experiment

hive create exp my-experiment

List experiments

hive show exps

Visit Dashboard

hive dashboard

Delete an experiment

hive delete exp my-experiment

More

See hive -h for more details.

Development

Debugging

Change the log_level in the configuration file to DEBUG to see more detailed logs.

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

hiverge_cli-0.2.0.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

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

hiverge_cli-0.2.0-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file hiverge_cli-0.2.0.tar.gz.

File metadata

  • Download URL: hiverge_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for hiverge_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 657d8fde53b4c6c56cc795c7e20859289878c785c18144d1063b9619fa7890df
MD5 0cceeff2092fe1de062ae208d6d7b507
BLAKE2b-256 2319c27dd3aa1ee1bbf53df92f97927d9ccb14b628b621982f96e3e054a7c8b8

See more details on using hashes here.

File details

Details for the file hiverge_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: hiverge_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for hiverge_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 53336b5e71c044d81354a4a139847ff27f0feb12438bd33da15f92ac158a15e5
MD5 4a2d854105b3f70b233c8f3938a5dcb6
BLAKE2b-256 08ddcbb0f55586456974346e13dabbf0a775cbc4d3dd8a8b4ff68820b4e9a2d1

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