Curry-batch reads from stdin a YAML list of argument lists and a set of command templates as arguments. It curries the commands with the argument lists, runs them, and captures the outputs, storing them in a new list.
Example:
argument list:
-
- hello
- world
-
- brain
- wash
template filters: "echo {1}" "echo {2}" "echo {1}, {2}!" "echo {1} {2} {1} {2}"
output:
-
- hello
- world
- hello, world!
- hello world hello world
-
- brain
- wash
- brain, wash!
- brain wash brain wash
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
curry_batch-0.4.2.tar.gz
(2.2 kB
view details)
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 curry_batch-0.4.2.tar.gz.
File metadata
- Download URL: curry_batch-0.4.2.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8888ca0d44b24708bb03aa8521915ca4abe29453fc29b2416bbb15f3bad9dd13
|
|
| MD5 |
3fa7fdf937066993506677cfdec10a9e
|
|
| BLAKE2b-256 |
99df26d0e3ac8453b3e6274149b47446266e85bd8f66ea8a6a7c69bae81cc7e9
|
File details
Details for the file curry_batch-0.4.2-py3-none-any.whl.
File metadata
- Download URL: curry_batch-0.4.2-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc72f6d6bf6b256296ecb67df4603e435a36745ca70ec90d334e0a5c7d883ec0
|
|
| MD5 |
dec98dd12356d6e5c1aa6264d7f5742a
|
|
| BLAKE2b-256 |
cc2d7480f0ab809ac3d7e424b01ade4bd1249f01bb91d251df4692c55568e382
|