Skip to main content

Simple job queue

Project description

https://gitlab.com/myqueue/myqueue/badges/master/coverage.svg https://badge.fury.io/py/myqueue.svg https://joss.theoj.org/papers/10.21105/joss.01844/status.svg Documentation Status

MyQueue

MyQueue is a tool for submitting and keeping track of tasks running on a cluster of computers. It uses SLURM, PBS or LSF as a backend and makes handling of tasks easy. It has a command-line interface called mq with a number of sub-commands and a Python interface for managing workflows. Simple to set up: no system administrator or database required.

Quick links:

Examples

Submit Python script to 32 cores for 2 hours:

$ mq submit script.py -R 32:2h

Submit Python module abc.run in two folders:

$ mq submit abc.run F1/ F2/ -R 16:30m

Check results of tasks in current folder and its sub-folders:

$ mq list  # or mq ls
id  folder name      res.   age     state   time    error
--- ------ --------- ------ ------- ------- ------- ------
117 ./     script.py 32:2h  5:28:43 TIMEOUT 2:00:03
118 ./F1/  abc.run   16:30m 5:22:16 done      12:12
119 ./F2/  abc.run   16:30m 5:22:16 done      17:50
--- ------ --------- ------ ------- ------- ------- ------
done: 2, TIMEOUT: 1, total: 3

Resubmit with more resources (1 day):

$ mq resubmit -i 117 -R 32:1d

See more examples of use here:

Installation

MyQueue has only one dependency: Python version 3.7 or later.

Install MyQueue from PyPI with pip:

$ python3 -m pip install myqueue

Enable bash tab-completion for future terminal sessions like this:

$ mq completion >> ~/.profile

Now, configure your system as described here.

Release notes

See the release notes for a history of notable changes to MyQueue.

Help, support and feedback

If you need help, want to report a bug or suggest a new feature then you are welcome to get in touch via MyQueue’s issue tracker or the #myqueue room on Matrix.

Contributing

We welcome contributions to the code and documentation, preferably as merge-requests. More information here.

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

myqueue-22.1.0.tar.gz (68.4 kB view details)

Uploaded Source

Built Distribution

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

myqueue-22.1.0-py3-none-any.whl (82.8 kB view details)

Uploaded Python 3

File details

Details for the file myqueue-22.1.0.tar.gz.

File metadata

  • Download URL: myqueue-22.1.0.tar.gz
  • Upload date:
  • Size: 68.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.0.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for myqueue-22.1.0.tar.gz
Algorithm Hash digest
SHA256 0a0f209380c9c512835c9784efcaff7f8cc24394249d0b8139708ff8e3b6abea
MD5 f7d98b0e3860c5d844c4ef3f6bce4c9b
BLAKE2b-256 85c6e46526e00f601f5a3e5d6c0922019a9a2583122d85b5f15faed56ecf21c1

See more details on using hashes here.

File details

Details for the file myqueue-22.1.0-py3-none-any.whl.

File metadata

  • Download URL: myqueue-22.1.0-py3-none-any.whl
  • Upload date:
  • Size: 82.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.0.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for myqueue-22.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5776f1cf485184a4f140276c57525609a8fd40dfcc86c232442030840d84ba96
MD5 4869f9a4aee445d57bfa5e7d9cecd409
BLAKE2b-256 8e642d5217c0466f7e46aead4487aebde4e38c965f5085f1d06abf7cc6c511a9

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