Skip to main content
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 needs Python version 3.9 or later.

Install MyQueue from PyPI with pip:

$ python3 -m pip install myqueue

This will also install the rich and networkx packages that MyQueue depends on.

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.

Download files

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

Source Distribution

myqueue-26.8.1.tar.gz (137.9 kB view details)

Uploaded Source

Built Distribution

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

myqueue-26.8.1-py3-none-any.whl (110.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: myqueue-26.8.1.tar.gz
  • Upload date:
  • Size: 137.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for myqueue-26.8.1.tar.gz
Algorithm Hash digest
SHA256 7fd17518be0d36c1bbb81eaf703445f8a4c5e9792f338028bf5cdd432a4986fe
MD5 e25879bd6aad93f990593b48e52ceb3d
BLAKE2b-256 07e0fa08dcae4c38b7a6ab486411d1cc85e5563848a770a2ac4c2fc9cf4e58b2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: myqueue-26.8.1-py3-none-any.whl
  • Upload date:
  • Size: 110.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for myqueue-26.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9b3d4e319c541108881e97f488cc535b83a707dc30c033efddb34214e5bd2e36
MD5 9bc1bf23a04696fd4e48f12d617adf39
BLAKE2b-256 face1bc4434ed0ba411bce36fead37f27e8f5c2e2a6ad028573f1f6266e326ff

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

26.8.1 This release

2 files

26.8.0

2 files

26.3.0

2 files

25.11.0

2 files

25.4.0

2 files

24.10.0

2 files

24.9.0

2 files

24.5.1

2 files

24.5.0

2 files

24.1.0

2 files

23.4.0

2 files

23.1.0

2 files

22.12.0

2 files

22.11.3

2 files

22.11.2

2 files

22.11.1

2 files

22.11.0

2 files

22.9.0

2 files

22.7.1

2 files

22.7.0

2 files

22.6.0

2 files

22.3.0

2 files

22.1.0

2 files

21.8.0

2 files

21.7.0

2 files

21.4.2

2 files

21.4.1

2 files

21.4.0

2 files

21.2.0

2 files

21.1.0

2 files

20.11.3

2 files

20.11.2

2 files

20.11.1

2 files

20.11.0

2 files

20.9.1

2 files

20.9.0

2 files

20.5.0

2 files

20.1.2

2 files

20.1.1

2 files

20.1.0

2 files

19.11.1

2 files

19.11.0

2 files

19.10.1

2 files

19.10.0

2 files

19.9.0

2 files

19.8.0

2 files

19.7.0

2 files

19.6.0

2 files

19.5.0

2 files

19.2.0

2 files

19.1.0

2 files

18.12.0

2 files

0.2.0

2 files

0.1.0

2 files

0.0.1

2 files

Supported by

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