Skip to main content

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:

  1. Create a zip archive of the current directory
  2. Submit it to the job processing service
  3. Stream the job output in real-time
  4. Store the job ID in a .omega file 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omegacloud_cli-0.1.0.tar.gz (76.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omegacloud_cli-0.1.0-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

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

Hashes for omegacloud_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2cc655c651eddd0d5d42df3d63cdb595c6b6e41385bff38569d57da4df0393d2
MD5 06be949715e68d2a44e6702e9a4af2c9
BLAKE2b-256 507f17dcdafaebab573c6dff9090b306123994b11c9e17f8efd33bfb18521e01

See more details on using hashes here.

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

Hashes for omegacloud_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c8a8859fc40849094ffb93506280bb9a1e0a9afed024e50fb14f6f5312956eaa
MD5 5662d1a5136e55a6e11fbf2fb3476861
BLAKE2b-256 53562977db640b3bfa8d6b2c9343c588117d94b60af97ce2a01b197a5ad0611b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page