Name | lamblbs JSON |
Version |
2024.2a0
JSON |
| download |
home_page | |
Summary | Unofficial CLI to manage Lambdalabs Cloud resources such as: instances, ssh keys |
upload_time | 2024-02-28 04:57:06 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.8 |
license | |
keywords |
lambdalabs
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<h1 align="center">lamblbs</h1>
<h2 align="center">Unofficial Lambdalabs CLI</h2>
<p align="center"><strong>⚡ Minimalistic CLI to manage your Lambdalabs Cloud instances ⚡</strong></p>
------------------------------------------------------------------------
## Introduction
This is a personal project that helped me automate the provisioning and deprovisioning of Lambdalabs Cloud instances while I was playing with [Ray on-prem clusters](https://docs.ray.io/en/latest/cluster/vms/user-guides/launching-clusters/on-premises.html). I thought it might be useful for others and decided to share it for anyone to use it. This CLI is leveraging the Lambdalabs [API](https://cloud.lambdalabs.com/api/v1/docs), but it is by no means endorsed by or associated with the Lambdalabs company.
## Pre-requisites
Configure your Lambdalabs API key using
```
export LAMBDALABS_API_KEY=....
```
## Installation
```
pip install lamblbs
```
## Usage
### List instance types
```bash
lamblbs instance types
```
### List running instances
```bash
lamblbs instance show-all
```
### Launch a new instance
```bash
lamblbs instance launch \
--name ray-head-node \
--type gpu_1x_a10 \
--region us-west-1 \
--ssh_key lambdalabs-ssh-ray \
--qty 1
```
NOTE: This assumes you've created the `lambdalabs-ssh-ray` before hand.
### Check and wait for your instances to be active
```bash
lamblbs instance check-status --status active
```
There are other supported commands as well which can be displayed using:
```bash
lamblbs --help
```
Raw data
{
"_id": null,
"home_page": "",
"name": "lamblbs",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "lambdalabs",
"author": "",
"author_email": "Fermin Ordaz <fermin.ordaz@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/ba/a7/ff9cae7df2fa2aea5726d0c5b9f46d26a6754d70f68221189fdb618fc54b/lamblbs-2024.2a0.tar.gz",
"platform": null,
"description": "<h1 align=\"center\">lamblbs</h1>\n<h2 align=\"center\">Unofficial Lambdalabs CLI</h2>\n<p align=\"center\"><strong>\u26a1 Minimalistic CLI to manage your Lambdalabs Cloud instances \u26a1</strong></p>\n\n------------------------------------------------------------------------\n\n## Introduction\n\nThis is a personal project that helped me automate the provisioning and deprovisioning of Lambdalabs Cloud instances while I was playing with [Ray on-prem clusters](https://docs.ray.io/en/latest/cluster/vms/user-guides/launching-clusters/on-premises.html). I thought it might be useful for others and decided to share it for anyone to use it. This CLI is leveraging the Lambdalabs [API](https://cloud.lambdalabs.com/api/v1/docs), but it is by no means endorsed by or associated with the Lambdalabs company.\n\n## Pre-requisites\n\nConfigure your Lambdalabs API key using\n\n```\nexport LAMBDALABS_API_KEY=....\n```\n\n## Installation\n\n```\npip install lamblbs\n```\n\n## Usage\n\n### List instance types \n\n```bash\nlamblbs instance types\n```\n\n### List running instances\n\n```bash\nlamblbs instance show-all\n```\n\n### Launch a new instance\n\n```bash\nlamblbs instance launch \\\n--name ray-head-node \\\n--type gpu_1x_a10 \\\n--region us-west-1 \\\n--ssh_key lambdalabs-ssh-ray \\\n--qty 1\n```\n\nNOTE: This assumes you've created the `lambdalabs-ssh-ray` before hand.\n\n### Check and wait for your instances to be active\n\n```bash\nlamblbs instance check-status --status active\n```\n\nThere are other supported commands as well which can be displayed using:\n\n```bash\nlamblbs --help\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "Unofficial CLI to manage Lambdalabs Cloud resources such as: instances, ssh keys",
"version": "2024.2a0",
"project_urls": null,
"split_keywords": [
"lambdalabs"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bee947364d182f1cff77d7ce2e78a69445595b2710375b98f18cbfa886873a3f",
"md5": "8bfb06b2be88a8076aefee11bd893c29",
"sha256": "822943bf878d777d2f8484c6f2eeb985bbdf86be7ee9fa605f768997006ee1cf"
},
"downloads": -1,
"filename": "lamblbs-2024.2a0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8bfb06b2be88a8076aefee11bd893c29",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 7086,
"upload_time": "2024-02-28T04:57:04",
"upload_time_iso_8601": "2024-02-28T04:57:04.274798Z",
"url": "https://files.pythonhosted.org/packages/be/e9/47364d182f1cff77d7ce2e78a69445595b2710375b98f18cbfa886873a3f/lamblbs-2024.2a0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "baa7ff9cae7df2fa2aea5726d0c5b9f46d26a6754d70f68221189fdb618fc54b",
"md5": "195adb486d2d8150d9abb3ef830538ff",
"sha256": "abbc16755922c0c99787fe4f1921b6ef1465ae39fe84d9b3018c561011310ba3"
},
"downloads": -1,
"filename": "lamblbs-2024.2a0.tar.gz",
"has_sig": false,
"md5_digest": "195adb486d2d8150d9abb3ef830538ff",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 6847,
"upload_time": "2024-02-28T04:57:06",
"upload_time_iso_8601": "2024-02-28T04:57:06.008841Z",
"url": "https://files.pythonhosted.org/packages/ba/a7/ff9cae7df2fa2aea5726d0c5b9f46d26a6754d70f68221189fdb618fc54b/lamblbs-2024.2a0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-28 04:57:06",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "lamblbs"
}