Skip to main content

Curry a list of commands passed as arguments with a YAML list of argument lists, then output the command stdout as a new YAML list of lists.

Project description

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

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

curry_batch-0.4.2.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

curry_batch-0.4.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

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

Hashes for curry_batch-0.4.2.tar.gz
Algorithm Hash digest
SHA256 8888ca0d44b24708bb03aa8521915ca4abe29453fc29b2416bbb15f3bad9dd13
MD5 3fa7fdf937066993506677cfdec10a9e
BLAKE2b-256 99df26d0e3ac8453b3e6274149b47446266e85bd8f66ea8a6a7c69bae81cc7e9

See more details on using hashes here.

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

Hashes for curry_batch-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bc72f6d6bf6b256296ecb67df4603e435a36745ca70ec90d334e0a5c7d883ec0
MD5 dec98dd12356d6e5c1aa6264d7f5742a
BLAKE2b-256 cc2d7480f0ab809ac3d7e424b01ade4bd1249f01bb91d251df4692c55568e382

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page