Skip to content

xqute

package

xqute

A job management system for python

module

xqute.utils

Utilities for xqute

Classes
  • DuplicateFilter Filter instances are used to perform arbitrary filtering of LogRecords.</>
Functions
  • a_mkdir(path, *args, **kwargs) Make a directory asyncly</>
  • a_read_text(path) (str) Read the text from a file asyncly</>
  • a_write_text(path, content) Write the text to a file asyncly</>
  • asyncify(func) (Callable) Turn a sync function into a Coroutine, can be used as a decorator</>
module

xqute.defaults

Default settings and utilities for xqute

Attributes
  • DEFAULT_JOB_CMD_WRAPPER_SHELL (str) The default shell for job wrapper
  • DEFAULT_JOB_CMD_WRAPPER_TEMPLATE (str) The template for job cmd wrapping
  • DEFAULT_JOB_ERROR_STRATEGY (str) The default strategy when there iserror happened
  • DEFAULT_JOB_METADIR (Path) The default meta directory for jobs
  • DEFAULT_JOB_NUM_RETRIES (int) Default number of retries whenDEFAULT_JOB_ERROR_STRATEGY is retry
  • DEFAULT_JOB_SUBMISSION_BATCH (int) Default consumer workers
  • DEFAULT_SCHEDULER_FORKS (int) Default number of job forks for scheduler
Classes

The scheduler to schedule jobs

Classes
  • Scheduler(forks, prescript, postscript, **kwargs) The abstract class for scheduler</>
module

xqute.xqute

The xqute module

Classes
  • Xqute The main class of the package</>
module

xqute.job

Job to execute

Classes
  • Job(index, cmd, metadir, error_retry, num_retries) The abstract class for job</>
module

xqute.plugin

Hook specifications for scheduler plugins

Functions
package

xqute.schedulers

Builtin schedulers

Functions