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.2.5.tar.gz (58.0 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.2.5-py3-none-any.whl (41.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: armonik_cli-0.2.5.tar.gz
  • Upload date:
  • Size: 58.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for armonik_cli-0.2.5.tar.gz
Algorithm Hash digest
SHA256 a963e33af4f86e82222ecb24bea19667b421fbc534c7fbbdb35468051fe6db66
MD5 4754736413bb65497eda72175fbb751e
BLAKE2b-256 c23db0de258be77823ef8524e1c46915ccb4c495d3473c729b21f68186a43a41

See more details on using hashes here.

File details

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

File metadata

  • Download URL: armonik_cli-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 41.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for armonik_cli-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6830ec9fe4365c8fb9de52ff03f4b4f2833d9c4a6c99e80c783e915e472c55fb
MD5 360e4e1335812b39af25fef702e72be8
BLAKE2b-256 586632333485a87cfd16c2cbcbced6a0d9c03a41223e09833b1579669d3ae55f

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