Run shell commands in parallel.
Project description
plrun
Run shell commands in parallel.
Install
pip install plrun
Usage
$ plrun -h
usage: plrun [-h] [-j NUM_JOBS] [cmd_file]
Run commands in parallel.
positional arguments:
cmd_file Command file path, or - for stdin.
optional arguments:
-h, --help show this help message and exit
-j NUM_JOBS, --num-jobs NUM_JOBS
Number of parallel jobs to run.
$ printf "echo hello world\nsleep 1\nsleep 2\n" | plrun -j 3
[1] START 2026-03-18T19:12:24 CMD: echo hello world
[2] START 2026-03-18T19:12:24 CMD: sleep 1
[3] START 2026-03-18T19:12:24 CMD: sleep 2
hello world
[1] END 2026-03-18T19:12:24 STATUS: OK RC: 0 DURATION_SEC: 0.00
[2] END 2026-03-18T19:12:25 STATUS: OK RC: 0 DURATION_SEC: 1.02
[3] END 2026-03-18T19:12:26 STATUS: OK RC: 0 DURATION_SEC: 2.04
Finished: 3 succeeded, 0 failed.
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
plrun-0.1.3.tar.gz
(7.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
plrun-0.1.3-py3-none-any.whl
(8.1 kB
view details)
File details
Details for the file plrun-0.1.3.tar.gz.
File metadata
- Download URL: plrun-0.1.3.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d62e1f05c17dd3e75e1a76e731d43fcead4dfaf359c7187d6188a61ba0518ca
|
|
| MD5 |
968a03ab1516c07522f76b4b2e6bcf88
|
|
| BLAKE2b-256 |
e8e73860ed25f1b652bbd5597614927e0d712a39301700ab80d9394b3b25372e
|
File details
Details for the file plrun-0.1.3-py3-none-any.whl.
File metadata
- Download URL: plrun-0.1.3-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62327e4435a4c58c9936cb1186f3030f0bee19e30ead12b414e97a49b10b6639
|
|
| MD5 |
3a8f34a3c147eec14bb43eb4d51b3650
|
|
| BLAKE2b-256 |
18784b4a3190653b7aa6bf83436697e33741fdfab273194adf8b19405e939c6b
|