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.2.0.tar.gz (70.5 kB view details)

Uploaded Source

Built Distribution

par_run-0.2.0-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: par_run-0.2.0.tar.gz
  • Upload date:
  • Size: 70.5 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.2.0.tar.gz
Algorithm Hash digest
SHA256 9cebd96b368bbe158c828b9def2332ba38883908a983fd5b0913f9e1b39b24f2
MD5 34acdc194f8c08fe7d6de2acbe11757b
BLAKE2b-256 0c9562e70bbcac070bc697392ef4e28ff6e622d1fb8ce5f148899c5d47bca82a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: par_run-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 15.7 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94df71693b8d7e14b2e9256e494ce80a7cfd3b3324b7b9cacaf63e2728526b9d
MD5 ae4def5eb87a08a3151c0e2bdee9e190
BLAKE2b-256 622c5e9b8b3cd674dd24c79cbeb51ce861bd7b21e14c663f23b2bb0d2ea29458

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