Python CLI commands using the YellowDog Python SDK
Project description
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 - Comparing whether Worker Pools are a match for Task Groups with the
yd-comparecommand - 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 - 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 - Submitting Node Actions to Worker Pool nodes with the
yd-nodeactioncommand - Starting HELD Work Requirements and Holding (or pausing) RUNNING Work Requirements with the
yd-startandyd-holdcommands - Submitting Work Requirements with the
yd-submitcommand - Terminating Compute Requirements with the
yd-terminatecommand - Uploading files to a remote data store with the
yd-uploadcommand - Cloud provider setup (AWS, Azure, GCP) with the
yd-cloudwizardcommand
Utility commands are also provided: yd-format-json, yd-jsonnet2json, and yd-version.
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-python-examples
uv:
uv tool install yellowdog-python-examples
pip + virtual environment:
pip install yellowdog-python-examples
To add optional Jsonnet support:
pipx inject yellowdog-python-examples jsonnet # pipx
uv tool install "yellowdog-python-examples[jsonnet]" # uv
pip install "yellowdog-python-examples[jsonnet]" # pip
Documentation
Please see the documentation in the GitHub repository for full details.
Project details
Release history Release notifications | RSS feed
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 yellowdog_python_examples-9.0.0.tar.gz.
File metadata
- Download URL: yellowdog_python_examples-9.0.0.tar.gz
- Upload date:
- Size: 261.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0516d7ba8ea36f5f4420db984320617afc9ed2c85b2a2e95c68dc9255aa0c6c4
|
|
| MD5 |
312ade41157e86a24d27b456ba136db8
|
|
| BLAKE2b-256 |
f7f36e8f5f8560ce0becd064e28613b8936cadb59b01267ef754baa126c96e7d
|
File details
Details for the file yellowdog_python_examples-9.0.0-py3-none-any.whl.
File metadata
- Download URL: yellowdog_python_examples-9.0.0-py3-none-any.whl
- Upload date:
- Size: 183.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac85ce2017bae385ea1862341513b9e8ca6af51f038e15c11314fa1f3426814d
|
|
| MD5 |
fc010a065c77b9ccf009960b4b910dbe
|
|
| BLAKE2b-256 |
1d87e80b26c70c99fd6e23365efef8fbc884b49890ae0db91a4cdc85923111bd
|