Skip to main content

Run and handle the output of multiple executables in pyallel (as in parallel)

Project description

Pyallel

Run and handle the output of multiple executables in pyallel (as in parallel)

Quick start

pyallel can be installed using pip:

pip install pyallel

Once installed, you can run pyallel to see usage information, like so:

pyallel

Currently you can provide a variable number of commands to run to pyallel, like so:

[!IMPORTANT] If your need to provide arguments to a command, you must surround the command and it's arguments in quotes!

pyallel "black --color --check --diff ." "mypy ." "ruff check --no-fix ."

TODOs

  • Allow list of files to be provided to supply as input arguments to each command
  • Allow input to be piped into pyallel via stdin to supply as standard input to each command
  • Add custom config file for pyallel to read from as an alternative to providing arguments via the command line
  • Add support for providing config via a [tool.pyallel] section in a pyproject.toml file in the current working directory
  • Maybe allow command dependencies to be defined in a python file where commands are decorated with info that details it's dependencies?
  • Add test suite
  • Improve error handling when parsing provided commands (check they are valid executables)
  • Add visual examples of pyallel in action

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

pyallel-0.3.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

pyallel-0.3.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file pyallel-0.3.0.tar.gz.

File metadata

  • Download URL: pyallel-0.3.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for pyallel-0.3.0.tar.gz
Algorithm Hash digest
SHA256 89ce9fa1362080ed33a685512aab6cec7de8b81992acf5074f6cb850163157c2
MD5 05a58fb6df7302b52874aca3a04dd8e5
BLAKE2b-256 3b1ae4c48b29799f3190eb290ff6f6fc2e4e937c42bfdc08390a23106a5f7e65

See more details on using hashes here.

File details

Details for the file pyallel-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pyallel-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for pyallel-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 418722113227c7d6403bcd87e4e616dbd99849ea11b69ceb2fbb122df0f3585a
MD5 c5f9de12adf9d5169999ab93e8ba699b
BLAKE2b-256 5336f1f1fc9a1463d4ab38799b897bfc721e0e8c4c66fc361f48b17ece26e5c4

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