Skip to main content

Parallel command runner

Project description

par-run

License: MIT PyPI version Python Versions

Ever needed to run groups of long-ish running commands in parallel groups? Then this is for you. par-run gives both a CLI and web interface to running groups of commands in parallel.

Getting Started

pip install par-run
par-run run

This expects a file call commands.ini or you can override with the --file option

[group.formatting]
ruff_fmt = ruff format src py_tests
ruff_fix = ruff check --fix src py_tests

[group.quality]
ruff_lint = ruff check src py_tests
mypy = mypy src
pytest = pytest py_tests

The tool will execute each group in parallel collating the the output until each command has completed before writing to the console. If you do not want to wait then it's possible to get the output as it's produced with the --style recv param.

There is also a web component included, in order to us ensure to install the optional web component

pip install par-run[web]
par-run web --help

This will add a new sub command with options to start/stop/restart the web service and see the commands updating to the web server on 8081

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

par_run-0.1.4.tar.gz (66.3 kB view details)

Uploaded Source

Built Distribution

par_run-0.1.4-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file par_run-0.1.4.tar.gz.

File metadata

  • Download URL: par_run-0.1.4.tar.gz
  • Upload date:
  • Size: 66.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.2

File hashes

Hashes for par_run-0.1.4.tar.gz
Algorithm Hash digest
SHA256 53d86239cdb38a559cdb3edf4524ee095c6fdae159954a0382697e66dbb380b3
MD5 53611766f6b64cb26f3e0b9d3a264a3f
BLAKE2b-256 c393aae2aba80ba5be01995799b0ecc6bbb5d98a2efa3cddb9dfd23f0c2f2e5f

See more details on using hashes here.

File details

Details for the file par_run-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: par_run-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.2

File hashes

Hashes for par_run-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4d54fbc72dc3ab351485f2530e87e2377e63bacc0e9d70ab1b9cd3bec4b07224
MD5 18a219904d86d7df420039bf0a97503c
BLAKE2b-256 3f35e97a51ba22dacfc4f26fc99a257eafffc427db9681d0d868752590f39903

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page