Concurrent CLI task runner
Project description
Powerchord: Concurrent CLI task runner
Installation
pip install powerchord
Usage
Run a number of tasks:
$ powerchord -t "ruff check ." pytest mypy
✔ ruff check . 21.075 ms
✔ mypy 166.433 ms
✔ pytest 187.096 ms
Tasks can be labeled by passing them as NAME=COMMAND values:
$ powerchord -t lint="ruff check ." test=pytest typing=mypy
To do:
• lint ruff check .
• test pytest
• typing mypy
Results:
✔ lint 48.452 ms
✔ typing 202.403 ms
✔ test 286.231 ms
Verbosity can be specified for all output, for successful tasks and for failed tasks by setting log levels:
$ powerchord -t "ruff chekc ." pytest mypy -l all=info success=info fail=error
✘ ruff chekc . 126.852 ms
chekc:1:1: E902 No such file or directory (os error 2)
Found 1 error.
✔ pytest 255.197 ms
.. [100%]
2 passed in 0.03s
✔ mypy 542.490 ms
Success: no issues found in 11 source files
✘ Failed tasks: ['ruff chekc .']
For all options see the help:
powerchord -h
Config can also be specified in pyproject.toml:
Tasks:
[tool.powerchord]
tasks = ["command --arg", "...", "..."]
Labeled tasks:
[tool.powerchord.tasks]
task = "command --foo bar /path/to/happiness"
other-task = "..."
you-get-the-idea = "..."
Log levels:
[tool.powerchord.log_levels]
all = "info" # "debug" | "info" | "warning" | "error" | "critical" | ""
success = "" # log level of successful task output
fail = "error" # log level of failed task output
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file powerchord-0.3.0.tar.gz.
File metadata
- Download URL: powerchord-0.3.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
572294353226e78d7195a5999adffc536455bb277973240a068463a4e01b7421
|
|
| MD5 |
0aecf4feea4eb185cf81fbb93763f816
|
|
| BLAKE2b-256 |
1d0ec7a39eeb5e4d1e6c79bdcf4728ce742297c5a7f0873b68c4938ba09fbdb2
|
Provenance
The following attestation bundles were made for powerchord-0.3.0.tar.gz:
Publisher:
on-release-tag__publish-to-pypi.yml on githuib/powerchord
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
powerchord-0.3.0.tar.gz -
Subject digest:
572294353226e78d7195a5999adffc536455bb277973240a068463a4e01b7421 - Sigstore transparency entry: 709005481
- Sigstore integration time:
-
Permalink:
githuib/powerchord@5a764583309d37fe3a85ad5b7805594406799757 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/githuib
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
on-release-tag__publish-to-pypi.yml@5a764583309d37fe3a85ad5b7805594406799757 -
Trigger Event:
push
-
Statement type:
File details
Details for the file powerchord-0.3.0-py3-none-any.whl.
File metadata
- Download URL: powerchord-0.3.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d89da51cfe59eeedc4d2f6b8a29d42244fe74079c7175193b68654485073d9f6
|
|
| MD5 |
b0e57a084c508d1f4b527a869cfdfe71
|
|
| BLAKE2b-256 |
48d9aa2f2e0ff9e636f4ebd1d5bd4608c1ab9d9838cbdbdbfabaf1309d54156e
|
Provenance
The following attestation bundles were made for powerchord-0.3.0-py3-none-any.whl:
Publisher:
on-release-tag__publish-to-pypi.yml on githuib/powerchord
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
powerchord-0.3.0-py3-none-any.whl -
Subject digest:
d89da51cfe59eeedc4d2f6b8a29d42244fe74079c7175193b68654485073d9f6 - Sigstore transparency entry: 709005484
- Sigstore integration time:
-
Permalink:
githuib/powerchord@5a764583309d37fe3a85ad5b7805594406799757 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/githuib
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
on-release-tag__publish-to-pypi.yml@5a764583309d37fe3a85ad5b7805594406799757 -
Trigger Event:
push
-
Statement type: