# Example Python CLI commands using the YellowDog Python SDK
## Overview
This is a set of Python CLI commands for interacting with the YellowDog Platform, providing examples of usage of the [YellowDog Python SDK](https://docs.yellowdog.co/api/python/index.html).
The commands support:
- **Aborting** running Tasks with the **`yd-abort`** command
- **Boosting** Allowances with the **`yd-boost`** command
- **Cancelling** Work Requirements with the **`yd-cancel`** command
- **Creating, Updating and Removing** Source Templates, Compute Templates, Keyrings, Credentials, Namespace Storage Configurations, Image Families, Allowances, Source Template Attribute definitions, and Configured Worker Pools with the **`yd-create`** and **`yd-remove`** commands
- **Deleting** objects in the YellowDog Object Store with the **`yd-delete`** command
- **Downloading** Results from the YellowDog Object Store with the **`yd-download`** command
- **Following Event Streams** for Work Requirements, Worker Pools and Compute Requirements with the **`yd-follow`** command
- **Instantiating** Compute Requirements with the **`yd-instantiate`** command
- **Listing** many types of YellowDog item using the **`yd-list`** command
- **Provisioning** Cloud Worker Pools with the **`yd-provision`** command
- **Resizing** Worker Pools and Compute Requirements with the **`yd-resize`** command
- **Showing** the details of any YellowDog entity by its YellowDog ID with the **`yd-show`** command
- **Shutting Down** Worker Pools with the **`yd-shutdown`** command
- **Starting** HELD Work Requirements and **Holding** (or pausing) RUNNING Work Requirements with the **`yd-start`** and **`yd-hold`** commands
- **Submitting** Work Requirements with the **`yd-submit`** command
- **Terminating** Compute Requirements with the **`yd-terminate`** command
- **Uploading** files to the YellowDog Object Store with the **`yd-upload`** command
Please see the documenation in the [GitHub repository](https://github.com/yellowdog/python-examples) for more details.
Raw data
{
"_id": null,
"home_page": null,
"name": "yellowdog-python-examples",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": "YellowDog Limited <support@yellowdog.co>",
"download_url": "https://files.pythonhosted.org/packages/b3/8b/ac8809ec5716079a3d9c66ced0a3464b3e8f7fd944c115b324cb37f47a23/yellowdog_python_examples-7.12.1.tar.gz",
"platform": null,
"description": "# Example Python CLI commands using the YellowDog Python SDK\n\n## Overview\n\nThis is a set of Python CLI commands for interacting with the YellowDog Platform, providing examples of usage of the [YellowDog Python SDK](https://docs.yellowdog.co/api/python/index.html).\n\nThe commands support:\n\n- **Aborting** running Tasks with the **`yd-abort`** command\n- **Boosting** Allowances with the **`yd-boost`** command\n- **Cancelling** Work Requirements with the **`yd-cancel`** command\n- **Creating, Updating and Removing** Source Templates, Compute Templates, Keyrings, Credentials, Namespace Storage Configurations, Image Families, Allowances, Source Template Attribute definitions, and Configured Worker Pools with the **`yd-create`** and **`yd-remove`** commands\n- **Deleting** objects in the YellowDog Object Store with the **`yd-delete`** command\n- **Downloading** Results from the YellowDog Object Store with the **`yd-download`** command\n- **Following Event Streams** for Work Requirements, Worker Pools and Compute Requirements with the **`yd-follow`** command\n- **Instantiating** Compute Requirements with the **`yd-instantiate`** command\n- **Listing** many types of YellowDog item using the **`yd-list`** command\n- **Provisioning** Cloud Worker Pools with the **`yd-provision`** command\n- **Resizing** Worker Pools and Compute Requirements with the **`yd-resize`** command\n- **Showing** the details of any YellowDog entity by its YellowDog ID with the **`yd-show`** command\n- **Shutting Down** Worker Pools with the **`yd-shutdown`** command\n- **Starting** HELD Work Requirements and **Holding** (or pausing) RUNNING Work Requirements with the **`yd-start`** and **`yd-hold`** commands\n- **Submitting** Work Requirements with the **`yd-submit`** command\n- **Terminating** Compute Requirements with the **`yd-terminate`** command\n- **Uploading** files to the YellowDog Object Store with the **`yd-upload`** command\n\nPlease see the documenation in the [GitHub repository](https://github.com/yellowdog/python-examples) for more details.\n",
"bugtrack_url": null,
"license": null,
"summary": "Python CLI commands using the YellowDog Python SDK",
"version": "7.12.1",
"project_urls": {
"Homepage": "https://github.com/yellowdog/python-examples"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d97616948c1c82d76d82eb73596387dd8c12337ad429ca5332a08ca094e9158b",
"md5": "a72071ace648320da4bce90a4cd09034",
"sha256": "b485fae2fbc86c9255536dfdf86f75cb881cbd3f92083cdb3f9f3aebe53dddae"
},
"downloads": -1,
"filename": "yellowdog_python_examples-7.12.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a72071ace648320da4bce90a4cd09034",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 145837,
"upload_time": "2025-01-29T09:09:16",
"upload_time_iso_8601": "2025-01-29T09:09:16.612337Z",
"url": "https://files.pythonhosted.org/packages/d9/76/16948c1c82d76d82eb73596387dd8c12337ad429ca5332a08ca094e9158b/yellowdog_python_examples-7.12.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b38bac8809ec5716079a3d9c66ced0a3464b3e8f7fd944c115b324cb37f47a23",
"md5": "aaa8b8bcdd0bd114e3421324e26ff10a",
"sha256": "d2a744d096dc4f547308cfe496c4c1a3b415d9d0280208a2e7e07f33e73921aa"
},
"downloads": -1,
"filename": "yellowdog_python_examples-7.12.1.tar.gz",
"has_sig": false,
"md5_digest": "aaa8b8bcdd0bd114e3421324e26ff10a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 163054,
"upload_time": "2025-01-29T09:09:19",
"upload_time_iso_8601": "2025-01-29T09:09:19.024472Z",
"url": "https://files.pythonhosted.org/packages/b3/8b/ac8809ec5716079a3d9c66ced0a3464b3e8f7fd944c115b324cb37f47a23/yellowdog_python_examples-7.12.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-29 09:09:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yellowdog",
"github_project": "python-examples",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "yellowdog-sdk",
"specs": [
[
">=",
"8.6.1"
]
]
},
{
"name": "toml",
"specs": []
},
{
"name": "tabulate",
"specs": [
[
">=",
"0.9.0"
]
]
},
{
"name": "PyPAC",
"specs": [
[
">=",
"0.16.4"
]
]
},
{
"name": "rich",
"specs": [
[
"==",
"13.9.4"
]
]
},
{
"name": "requests",
"specs": []
},
{
"name": "dateparser",
"specs": []
}
],
"lcname": "yellowdog-python-examples"
}