Command-line tool to monitor and manage ArmoniK clusters.
Project description
ArmoniK CLI
Command-line interface for monitoring and managing ArmoniK clusters.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file armonik_cli-0.4.0.tar.gz.
File metadata
- Download URL: armonik_cli-0.4.0.tar.gz
- Upload date:
- Size: 143.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7056e4fa2c38961e2e5d37df787e76cc233d6573775776e9aee3aeb25034232a
|
|
| MD5 |
3c9b5ce6c188c9cc4d37446c78264bf5
|
|
| BLAKE2b-256 |
6aa14dc33d96424b683f328e96479403f4588f32f51fbff95ef0c970719e993f
|
File details
Details for the file armonik_cli-0.4.0-py3-none-any.whl.
File metadata
- Download URL: armonik_cli-0.4.0-py3-none-any.whl
- Upload date:
- Size: 21.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b50a36eafd805d666701daaeb1c20164b1713d14b7dc06a793f3403dc8bb5c7b
|
|
| MD5 |
6e29278d03cb633155cca4d5f093e035
|
|
| BLAKE2b-256 |
fb5a458f7c59fe44e791c5f5c001e335be389c39abea42438087eb68185bdd84
|