Skip to main content

Command-line tool to monitor and manage ArmoniK clusters.

Project description

ArmoniK CLI

Latest Release License Documentation

Command-line interface for monitoring and managing ArmoniK clusters.

DocumentationGetting StartedContributing

Table of Contents

Overview

The ArmoniK CLI is a tool that provides commands to monitor and manage computations in ArmoniK clusters. It serves as a powerful alternative to the ArmoniK Admin GUI, offering the same core functionality through a terminal interface.

The CLI enables users to:

  • Manage results, sessions and partitions.
  • Monitor task execution.
  • Query task results and metadata.

A key advantage of the CLI is its ability to support automation through scripts and scheduled jobs. This makes it ideal for DevOps workflows, automated testing, and continuous integration/deployment pipelines where GUI interaction is not practical.

Installation

Recommended Installation (pipx)

We recommend using pipx to install the CLI in an isolated environment:

pipx install armonik-cli

You can check the installation by running:

armonik --version

Alternative Installation Methods

Alternatively, you can install the CLI using pip or from source.

Using pip

pip install armonik-cli

You can check the installation by running:

armonik --version

From source

git clone https://github.com/aneoconsulting/ArmoniK.CLI.git
cd ArmoniK.CLI
pip install -e .

You can check the installation by running:

armonik --version

Development Installation

If you want to contribute to the project, follow the steps for installing from source and add the [dev,tests] extra:

pip install -e .[dev,tests]

You can check the installation by running:

armonik --version

Getting Started

To use the CLI with an ArmoniK cluster, you must provide the CLI with the cluster credentials. The most simple way to do this is to use the --endpoint option:

armonik --endpoint <cluster-endpoint> cluster info

There exists additional options to connect to clusters that use TLS. In addition, to simplify the usage of the CLI, you can set the default values for the --endpoint and the others connection options using a configuration file.

You don't need to specify the endpoint if you exported the AKCONFIG variable when prompted to when deploying an ArmoniK cluster, because that environment variable points to a pre-filled configuration.

To list available commands and options, you can use the --help or -h option:

armonik --help

To learn more about the CLI, please refer to the documentation.

Documentation

The full documentation is available on ReadTheDocs. Otherwise, you can build and view the documentation locally by running:

pip install -e .[docs]
sphinx-autobuild docs _build/html

Contributing

We welcome contributions! Please see our Contributing Guide for more information.

License

This project is licensed under the Apache 2.0 License.

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

armonik_cli-0.3.0.tar.gz (140.4 kB view details)

Uploaded Source

Built Distribution

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

armonik_cli-0.3.0-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file armonik_cli-0.3.0.tar.gz.

File metadata

  • Download URL: armonik_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 140.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.14

File hashes

Hashes for armonik_cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e05d7e3e8780cb817a443fb534fb740bedfb29c401ae128013e97b40dab45a5b
MD5 7396f83d180939ec375ddf859d8895ce
BLAKE2b-256 a9728100e44139fa16e88edef716e26f1d19eee9f553f31c1a164cf6852f97be

See more details on using hashes here.

File details

Details for the file armonik_cli-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for armonik_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eaa8f9084256c38205a7503106be03903c83dc5d2781f21fa7c1de64d72c5ebc
MD5 d623abe769c932f2e3cd847a00cfbcbe
BLAKE2b-256 77e6858dc79ac87e9b2744b9d01d200a8152b07cfc8383be9aaf5c3132cd9850

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