recp A tool for automating command line recipes
recp (short for recipe) is a tool designed to automate processes that involve executing multiple sequential command-line steps. A recipe is defined in a .yaml file, which outlines the steps to be performed. Each step can include tags, a description, a set of environment variables to be set for that step, a working directory, and one or more commands to be executed. Additionally, commands can be preprocessed, allowing a single instruction to be expanded into multiple commands, thereby eliminating the need for tedious repeated and error-prone manual steps or scripts lacking flexibility.
A single recipe .yaml file can define multiple steps, which can be selected or filtered based on the task at hand. This flexibility allows you to execute only a subset of a larger recipe when needed. The --dry-run option enables generating the commands without actually running them, allowing you to verify that everything works as expected before executing time-consuming processes. If a step fails, the recipe can be resumed from that step with the --from option. Commands can also run in parallel and skip outputs that already exist, which is useful when processing large datasets.
Installation
You can directly install it using pip
pip install recp
or with uv
uv tool install recp
Quickstart
Check the quickstart guide here.
Documentation
The recp documentation is available online here. You can also view it locally by running:
mkdocs serve
Cite
If this package contributed to your work, please consider citing it:
@misc{recp,
author = {Esteban Gómez},
title = {recp},
year = 2026,
url = {https://github.com/eagomez2/recp}
}
License
For further details about the license of this package, please see LICENSE.
Metadata
Release files for recp 0.3.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 | |
|---|---|---|---|
| recp-0.3.0.tar.gz | 26.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| recp-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 56.2 kB
Release files / recp-0.3.0.tar.gz
| Download URL | recp-0.3.0.tar.gz |
|---|---|
| Size | 26.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66ec499486676b0427bac8f87bbbf48e2abd883343396884a8d254043062d251
|
|
BLAKE2b-256 checksum How to use checksums |
4c6db9b0d80f2aec7e452dea6b005f54a04dc8b547c01d55e4d14471ec96be64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / recp-0.3.0-py3-none-any.whl
| Download URL | recp-0.3.0-py3-none-any.whl |
|---|---|
| Size | 29.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
335b3616cfa09b594789c454545c8de1c0c55465a7d828d2317284cd6a0f525b
|
|
BLAKE2b-256 checksum How to use checksums |
7bcdf3165961d7761e362aa6b369197554bb33b1b507e5094c203c13f10eeeee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.21 {"installer":{"name":"uv","version":"0.12.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|