A Friendly Task Scheduler Frontend
Introduction
Installation
pip install tsq
Cutting edge version from the repository:
pip install git+https://github.com/admk/tsq.git
Usage
Here’s an instruction on how to use tq, the front-end CLI for task-spooler:
Basic Usage
tq [options] [command]
Common Commands:
-
list (
ls): Shows job information in a compact format. Or simply calltqwithout any arguments.tq list -
ids (
id): Displays the job IDs.tq ids -
info: Provides detailed job information.
tq info -
commands (
cmd): Shows the commands of all jobs.tq commands -
outputs (
out): Displays job outputs.tq outputs -
add (
a): Add a new job to the queue.tq add [options] <command>
-G: Specify the number of GPUs required.-N: Specify the number of slots required.-u: Ensure the command is unique.-f: Add jobs from a file or standard input.
-
wait (
w): Wait for jobs to finish.tq wait
-
kill (
k): Kill running jobs.tq kill <job_id>
-
remove (
rm): Remove jobs from the queue.tq remove <job_id>
-
rerun (
rr): Rerun a job.
tq rerun <job_id>
- requeue (
rq): Requeue a job.
tq requeue <job_id>
Additional Options:
-V: Print version info.-rc: Use a specific configuration file.-b: Specify the backend (dummy,ts).-g: Assign a group to a job.
For adding a job with multiple resources:
tq add -G 2 -N 4 "python train_model.py"
For reading jobs from a file:
tq add -f job_list.txt
Metadata
Release files for tsq 0.0.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tsq-0.0.18.tar.gz | 15.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tsq-0.0.18-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.4 kB
Release files / tsq-0.0.18.tar.gz
| Download URL | tsq-0.0.18.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cdf2b0e14051c94ccf9df7df0b4253f4b0fbed980fdc36db278b72d3596c5532
|
|
BLAKE2b-256 checksum How to use checksums |
6afa43fcca9d6945f7c7bf8e65f4abae67f9061b5cf905f814abc6e3203cb2a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.15
|
Release files / tsq-0.0.18-py3-none-any.whl
| Download URL | tsq-0.0.18-py3-none-any.whl |
|---|---|
| Size | 19.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
464df9205547f2b4b3c70c2414e4578d901f0ccef2cb125580de379e24ce025c
|
|
BLAKE2b-256 checksum How to use checksums |
7694d837493c544d53516e466970c2051c07e4822771b0597e5123539d307c98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.15
|
Security for tsq 0.0.18
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.