Skip to main content

Batch job submission and management tool

Project description

Kong Build Status codecov pypi docs

Documentation

What does this do?

Suppose you use a batch cluster somewhere to run parallel workloads. Normally you'd write dedicated submission code for each type of system and use the relevant shell commands to monitor job progress. How do you keep track of what happened to jobs? How do you even keep track of which job did what?

With kong, you can organize you jobs into folders (not actual folders on disk), however you feel like it. Kong can keep track of job statuses and reports them to you in a clean and organized view. You can manage your jobs in kong, kill them, resubmit them, remove them. Kong also normalizes things like where the your job can find scratch space, where to put log files and where to put output files. This is done by a set of environment variables available in every job, regardless of backend (called driver):

variable name value
KONG_JOB_ID Kong-specific job ID (not the batch system one)
KONG_JOB_OUTPUT_DIR Where to put output files
KONG_JOB_LOG_DIR Where log files go
KONG_JOB_NPROC How many core your job can use
KONG_JOB_SCRATCHDIR scratch dir for the job

You can write job scripts that are mostly agnostic to which driver is used to execute the job. Some things remain specific to your environment, especially things that are implemented on top of the actual batch system. This includes things like licenses, queue names, and any other specific configuration. Kong allows you to provide arguments like this either via configuration, or on a job by job basis.

Interface

REPL

Kong provides a command line like program. If you run

asciicast

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

kong-batch-0.2.3.tar.gz (69.7 kB view details)

Uploaded Source

Built Distribution

kong_batch-0.2.3-py3-none-any.whl (46.3 kB view details)

Uploaded Python 3

File details

Details for the file kong-batch-0.2.3.tar.gz.

File metadata

  • Download URL: kong-batch-0.2.3.tar.gz
  • Upload date:
  • Size: 69.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.1

File hashes

Hashes for kong-batch-0.2.3.tar.gz
Algorithm Hash digest
SHA256 cb44be4d9746055bbff821422101cef69a463295d1d94fb0f9f78b87c8db9e65
MD5 290c9586869005100f9ec1b49d97e327
BLAKE2b-256 dc927d5f3cff82e64e0badf9fe9041d48f5a5b9c477b3d45b0c54d599cbeebaa

See more details on using hashes here.

File details

Details for the file kong_batch-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: kong_batch-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 46.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.1

File hashes

Hashes for kong_batch-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2eee999bf02bebf90098ece41d842e049fb84124b53c6655106f732981b9b169
MD5 3d8fef82ed35c5aa95c32ffd046d82ff
BLAKE2b-256 8f1a0f6e95fd4d91cbfb28800118b0bedde12bf488acaf34dfdf19bdc086d846

See more details on using hashes here.

Supported by

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