Skip to main content

Run shell commands in parallel with console logs.

Project description

plrun

Run shell commands in parallel.

Install

pip install plrun

Usage

$ plrun -h

usage: plrun [-h] [-j NUM_JOBS] [-t] [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.
  -t, --thread          Use thread pool instead of process pool.

$ 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.1.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

plrun-0.1.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file plrun-0.1.1.tar.gz.

File metadata

  • Download URL: plrun-0.1.1.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.20

File hashes

Hashes for plrun-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2ba6bafdd9da359ec9fb100038a98a75f72808b0c341a93a21bf76b014ed8faf
MD5 7ee264276e1ba47d4c3a0d868e8184d1
BLAKE2b-256 4552723ca5043b1b7b5c263b4f0c671f170822e2d194e5bea8f78db48fa462f3

See more details on using hashes here.

File details

Details for the file plrun-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: plrun-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.20

File hashes

Hashes for plrun-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e28cfc8c0ff16e3aab40f5b3ff13bb23b14407d9d2f06e1f332e7bf626ad1d8d
MD5 30bb42825f56831e2589acc0d415f60f
BLAKE2b-256 d7c406890f2c6173e4de44c256264b215a21a3be49b1afbed4cf5e460e023b14

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