Skip to main content

para-cada

Para Cada in Spanish means For Each. The tool executes your command for each file selected using glob expression(s).

Why? Let's say you have multiple .tgz archives and you would like to extract them in one shot. Some of the options available in bash are:

ls *.tgz | xargs -IT tar xzvf T
for T in *.tgz; do tar xzvf $T; done
find . -type f -name '*.tgz' -exec tar xzvf {} \;

All of them are relatively complex. This is where cada can help. Simply do:

cada 'tar xzvf *.tgz'

Cada knows where glob expression is. It executes entire command with subsequent values corresponding to this expression. Additionally, user may transform/filter/sort those values using regular Python syntax. Take a look at the documentation.

Release files for para-cada 1.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for para-cada 1.9.0
File Size Uploaded
para_cada-1.9.0.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for para-cada 1.9.0
File Interpreter ABI Platform
para_cada-1.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.8 kB

Release files / para_cada-1.9.0.tar.gz

Download URL para_cada-1.9.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0eff8e52b88872caa1ba9cf1dae9ba4973734a2ce82a712375aaba8c711ef3fa
BLAKE2b-256 checksum
How to use checksums
669593217e2d332699c558d4a2381ca69d08b6196640a8418fae411cd666ea37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.12 Linux/5.15.0-91-generic

Release files / para_cada-1.9.0-py3-none-any.whl

Download URL para_cada-1.9.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3619fd2c516bb72cee1aa804e9f927d868874589d32a195de93c6e835e72b180
BLAKE2b-256 checksum
How to use checksums
4f48d4f0c5ce285faa3915ed91ae9ac566eb2d2aaf55365d0d47c4f52cfcc1ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.12 Linux/5.15.0-91-generic

Release history Release notifications | RSS feed

This release

1.9.0 This release

2 release files

1.8.0

2 release files

1.7.4

2 release files

1.7.3

2 release files

1.7.2

2 release files

1.7.1

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page