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)
Requires Python >=3.8
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 a single main command output to be streamed to stdout, while all other
commands will only get outputted after the main command has completed (such as running
pytest
as the main command, whilst runningmypy
,ruff
etc. as other commands) - 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 apyproject.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
Release history Release notifications | RSS feed
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.3.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file pyallel-0.3.3.tar.gz
.
File metadata
- Download URL: pyallel-0.3.3.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c09d5dfc0ba964f4bf2e643f362707e8dc3c8c464b757391351fb67f3b41e25b |
|
MD5 | ab2ec247153d716f258499af30917fb8 |
|
BLAKE2b-256 | e69eb28ea18f6da52d896eb18e52bdf580a359610ba812354c764fbc6295ecea |
File details
Details for the file pyallel-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: pyallel-0.3.3-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a61d461b303d2b6d9650b42557729d3d65838b4c8089d4f6aa4c7f3ccb26bae0 |
|
MD5 | 582cde07214550154888113a267af618 |
|
BLAKE2b-256 | 406b5d52aad473739e4555150663f9ae57aa93dd0c7559d119715e88b9f54093 |