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

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

Note: Hive-CLI will read the .env file to load logging configurations. Refer to the .env.example file for examples.

Debugging

Change the log level in .env 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.1.0.tar.gz (12.4 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.1.0-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hiverge_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 12.4 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.1.0.tar.gz
Algorithm Hash digest
SHA256 4364f8978704c522e0c0af95f5d1ec082480889017be60aa16c634ac3e8cc705
MD5 ee2fdbc2b9fd975a8c9c42fd045693b4
BLAKE2b-256 5bcbe61488d7fdb5fde2bfcc4bc8f7bd755e31a2ed5712e27714a746bb0aad6a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hiverge_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 49ff955e34b55f8f6c66b934e46827549b5f50842d5dcc298fe96d78fcdb1c13
MD5 4a86a3d95726155a613b865eed8cf87c
BLAKE2b-256 36c4d32d6c81f66ef68841552f05be5d06a027adc2e0649ce65070dcb5557444

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