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.
Metadata
Release files for armonik_cli 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| armonik_cli-0.4.1.tar.gz | 148.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| armonik_cli-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 170.7 kB
Release files / armonik_cli-0.4.1.tar.gz
| Download URL | armonik_cli-0.4.1.tar.gz |
|---|---|
| Size | 148.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7783b6dc516f39e8ad7c23d270ab23e47a84a7c7e3ec817c881aa3d3e6cdb2a8
|
|
BLAKE2b-256 checksum How to use checksums |
b1ad291315a28a8524d98f2756f95128f04b7f932d673363f67afa518b9285e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / armonik_cli-0.4.1-py3-none-any.whl
| Download URL | armonik_cli-0.4.1-py3-none-any.whl |
|---|---|
| Size | 21.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d50fc13ebd518936a2e8fb8de5e1fa35fde7dc1f51a4cd1d7d76ca12a94b22b
|
|
BLAKE2b-256 checksum How to use checksums |
d194e5fca54ce2242e442af7877fb7c3835b3f044b883daad7d6794d45f35c06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|