Skip to main content

Parallel command runner

Project description

par-run

License: MIT PyPI - Python Version Python Version from PEP 621 TOML

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

Uploaded Source

Built Distribution

par_run-0.1.2-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: par_run-0.1.2.tar.gz
  • Upload date:
  • Size: 66.0 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.2.tar.gz
Algorithm Hash digest
SHA256 b430f0adcb205ded3337002b281f0ce6223424a0d5640f930ce059ea74d9e60f
MD5 81ad84503146926f6b2f710bc932317d
BLAKE2b-256 660fb8af051dbbf69eca7f22b364f3f8ed7c5deab761794574424a4d0d716078

See more details on using hashes here.

File details

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

File metadata

  • Download URL: par_run-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 14.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 456028550def725ca2d1554a681e8f195c5eb5e8ed7144ea47e2486d974a1af8
MD5 dd501da56274e61eae8f7c7a584abf9f
BLAKE2b-256 f755ccb9754eba0ea2346f2c95d330f438795909b5d35228a765d6a9cd51d232

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