Command Line Interface for the YellowDog Platform
Overview
This is a set of Python CLI commands for interacting with the YellowDog Platform, also providing examples of usage of the YellowDog Python SDK.
The commands support:
- Aborting running Tasks with the
yd-abortcommand - Boosting Allowances with the
yd-boostcommand - Cancelling Work Requirements with the
yd-cancelcommand - Cloud provider setup (AWS, Azure, GCP) with the
yd-cloudwizardcommand - Comparing whether Worker Pools are a match for Task Groups with the
yd-comparecommand - Copying files between remote data stores with the
yd-copycommand - Creating, Updating and Removing Compute Source Templates, Compute Requirement Templates, Keyrings, Credentials, Image Families, Allowances, Configured Worker Pools, User Attributes, Namespace Policies, Groups, and Applications with the
yd-createandyd-removecommands - Deleting files from a remote data store with the
yd-deletecommand (also available asyd-rm) - Downloading files from a remote data store with the
yd-downloadcommand - Finishing Work Requirements with the
yd-finishcommand - Following Event Streams for Work Requirements, Worker Pools and Compute Requirements with the
yd-followcommand - Instantiating Compute Requirements with the
yd-instantiatecommand - Listing YellowDog items using the
yd-listcommand - Listing remote data store contents with the
yd-lscommand - Provisioning Worker Pools with the
yd-provisioncommand - Resizing Worker Pools and Compute Requirements with the
yd-resizecommand - Showing the details of any YellowDog entity using its YellowDog ID with the
yd-showcommand - Showing the details of the current Application with the
yd-applicationcommand - Shutting Down Worker Pools and Nodes with the
yd-shutdowncommand - Starting HELD Work Requirements and Holding (or pausing) RUNNING Work Requirements with the
yd-startandyd-holdcommands - Stopping, Starting and Restarting Compute Requirements and Instances with the
yd-compute-stop,yd-compute-startandyd-compute-restartcommands - Submitting Work Requirements with the
yd-submitcommand - Submitting Node Actions to Worker Pool nodes with the
yd-nodeactioncommand - Terminating Compute Requirements with the
yd-terminatecommand - Uploading files to a remote data store with the
yd-uploadcommand - Reporting the processed values of variable substitutions with the
yd-variablescommand - Waiting for Work Requirements, Worker Pools or Compute Requirements to reach a terminal state with the
yd-waitcommand
Utility commands are also provided: yd-format-json, yd-help, yd-jsonnet2json, and yd-version. For a full list of commands run yd-help.
The remote data store commands — yd-upload, yd-download, yd-delete/yd-rm, yd-ls and yd-copy — use rclone, and do not require YellowDog credentials. An rclone binary already on your PATH is used in preference and is never modified; otherwise one is downloaded to a per-user cache directory the first time it's needed.
Installation
Python 3.10 or later is required.
pipx (recommended) — installs into an isolated environment and puts the commands on your PATH automatically:
pipx install yellowdog-cli
uv:
uv tool install yellowdog-cli
pip + virtual environment:
python3 -m venv yd-env
source yd-env/bin/activate # macOS / Linux; on Windows: yd-env\Scripts\activate
pip install -U yellowdog-cli
Optional Extras
Three optional extras are available:
| Extra | Provides |
|---|---|
jsonnet |
Jsonnet templating of resource specifications |
commander |
The yd-commander desktop GUI, described below |
cloudwizard |
The cloud provider SDKs required by the yd-cloudwizard command |
List the ones you need in square brackets at installation time, e.g. to install all three:
pipx install "yellowdog-cli[jsonnet,commander,cloudwizard]" # pipx
uv tool install "yellowdog-cli[jsonnet,commander,cloudwizard]" # uv
pip install -U "yellowdog-cli[jsonnet,commander,cloudwizard]" # pip
An extra can also be added to an existing pipx installation without reinstalling it, e.g. pipx inject yellowdog-cli jsonnet.
Commander GUI
yd-commander is an optional cross-platform desktop GUI for driving the CLI, installed via the commander extra above:
pip install -U "yellowdog-cli[commander]"
yd-commander
It works by invoking the yd-* commands on your behalf and displaying their output. See the Commander documentation for details.
Documentation
Please see the documentation in the GitHub repository for full details. This documentation should be read in conjunction with the main YellowDog Documentation.
Metadata
Release files for yellowdog-cli 11.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yellowdog_cli-11.3.0.tar.gz | 595.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yellowdog_cli-11.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 947.0 kB
Release files / yellowdog_cli-11.3.0.tar.gz
| Download URL | yellowdog_cli-11.3.0.tar.gz |
|---|---|
| Size | 595.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01a63f506de1cdd416a2978ea7a6fac169d2942bdbc3c93e18692b4a78ad8627
|
|
BLAKE2b-256 checksum How to use checksums |
70cb3969728c4bbaf305df50d3b0716cbebf11e6ca26aa0055f2593db997aa14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / yellowdog_cli-11.3.0-py3-none-any.whl
| Download URL | yellowdog_cli-11.3.0-py3-none-any.whl |
|---|---|
| Size | 351.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2b3f5c67164e5650759fea58b44c3583b4dee898d1a5052a7e54fa588d2ba3d
|
|
BLAKE2b-256 checksum How to use checksums |
3b1ecb27ac201c3695469c6dff2a0c0c8c222cf89a4cd38005b539a3cc15e273
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|