CLI tool for submitting and monitoring jobs
Project description
Omega CLI
A command-line tool for submitting and monitoring jobs.
Installation
You can install the package globally using pip:
pip install omegacloud-cli
Configuration
The service URL can be configured in pyproject.toml:
[tool.omegacloud-cli]
platform_url = "http://127.0.0.1:8000" # Default value
Usage
After installation, the omega command will be available globally. You can use it from any directory:
# Submit a job from the current directory
omega run
# Stream output from the last submitted job
omega log
# Stop the last submitted job
omega stop
# Stop a specific job by ID
omega stop --job-id 49e5f0d4-7c58-4c99-aa7b-f7464adf24d3
# Check status of the last submitted job
omega inspect
# Check status of a specific job
omega inspect --job-id 49e5f0d4-7c58-4c99-aa7b-f7464adf24d3
The tool will:
- Create a zip archive of the current directory
- Submit it to the job processing service
- Stream the job output in real-time
- Store the job ID in a
.omegafile for later reference
The log command allows you to stream the output of the last submitted job without resubmitting the directory.
The stop command allows you to stop a running job. If no job ID is provided, it will attempt to stop the last submitted job from the .omega file.
The inspect command shows the current status and details of a job. Like other commands, it will use the last submitted job ID if none is provided.
Requirements
- Python 3.8 or higher
- Active job processing service (configurable, defaults to http://127.0.0.1:8000)
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 omegacloud_cli-0.1.0.tar.gz.
File metadata
- Download URL: omegacloud_cli-0.1.0.tar.gz
- Upload date:
- Size: 76.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cc655c651eddd0d5d42df3d63cdb595c6b6e41385bff38569d57da4df0393d2
|
|
| MD5 |
06be949715e68d2a44e6702e9a4af2c9
|
|
| BLAKE2b-256 |
507f17dcdafaebab573c6dff9090b306123994b11c9e17f8efd33bfb18521e01
|
File details
Details for the file omegacloud_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: omegacloud_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 23.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8a8859fc40849094ffb93506280bb9a1e0a9afed024e50fb14f6f5312956eaa
|
|
| MD5 |
5662d1a5136e55a6e11fbf2fb3476861
|
|
| BLAKE2b-256 |
53562977db640b3bfa8d6b2c9343c588117d94b60af97ce2a01b197a5ad0611b
|