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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: par_run-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 3bb6104a4fda819d45b4e0a6057fcb48146a84f413c328e540a7aa300ed7baf2
MD5 7f6bdaad1cac5e126f4a42864a6bd3aa
BLAKE2b-256 8b4eac0048b2bc58da99973602954f0165e0f5fcb372ecc00857a2fd42e8e04c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: par_run-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 edd925c85e4ec03899fd07328d139278b2b9e72a34a30b84ed415107079c0822
MD5 487fedd99633d6ec7b7a8dc66bed50b7
BLAKE2b-256 627a797ec91c1957fd60e68d8efe485fbd4aa5848a08e0863d5ab538d23220ec

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