This project has been archived by its maintainers, and is no longer receiving any updates.
clack
Run multiple iterations of the same command from a stored configuration.
I build this to help with building multiple packages using fpm. I had a set of commands where it was useful to share default and common arguments for each package, and the commands were complex enough that I wanted a configuration file describing them (and generic functions are painful in make). An example of using clack with fpm can be found in examples/fpm.json.
Usage
Create a configuration file:
{
"default": {
"command": "cowsay",
"options": { "-f": "default" }
},
"iterations": [
{
"arguments": ["moo"]
},
{
"arguments": ["baa"],
"options": { "-f": "sheep" }
}
]
}
Then run clack on the file:
clack examples/farm.json
And the result:
_____
< moo >
-----
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
_____
< baa >
-----
\
\
__
UooU\.'@@@@@@`.
\__/(@@@@@@@@@@)
(@@@@@@@@)
`YY~~~~YY'
|| ||
Installation
Install clack with pip or pipsi.
pip install clack
Licence
clack is licensed under the MIT Licence.
Metadata
Release files for clack 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| clack-1.2.0.tar.gz | 5.0 kB | Without provenance | Details for clack-1.2.0.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| clack-1.2.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for clack-1.2.0-py2.py3-none-any.whl |
| clack-1.2.0-py2-none-any.whl | Python 2 | none | any | Details for clack-1.2.0-py2-none-any.whl |
Total release size: 20.5 kB
Release files / clack-1.2.0.tar.gz
| Download URL | clack-1.2.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af9fc495567159751de3e1ef0bb8cb52433a609c1ea0eccdf915afe6090089f9
|
|
BLAKE2b-256 checksum How to use checksums |
26735ad5167b32db6654ebf9683dbd520304f92b9fc1eba019457d3a5e3caa81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / clack-1.2.0-py2.py3-none-any.whl
| Download URL | clack-1.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c2a95158d67f07ccdb447a22b1bf6b5b5fbb256edd93b077f80621cbbbbec6f3
|
|
BLAKE2b-256 checksum How to use checksums |
3aeed3b16731ee6154bd7c776a114a30eaec374616610819ee066695404ae73e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / clack-1.2.0-py2-none-any.whl
| Download URL | clack-1.2.0-py2-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
aee8a48117f1ed6a916e8569e35dcf634d452d9b790c0891ed6064b62517d64f
|
|
BLAKE2b-256 checksum How to use checksums |
d5f1526e62fea6221efb0d95749aa755b519f98bb273abdbe40e796a55c87916
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for clack 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.