Skip to content

pipectlYAML-defined data pipelines

Read from files or stdin. Transform through ordered steps. Write to files or stdout.

pipectlpipectl

Quick example ​

yaml
# customer-intake.yaml
id: customer-intake
input:
  format: csv
steps:
  - normalize:
      fields:
        first_name: capitalize
        last_name: capitalize
        email: lower
  - filter:
      field: country
      equals: AU
  - redact:
      fields: [credit_card]
      strategy: mask
  - select:
      fields: [first_name, last_name, email, plan, credit_card]
output:
  format: jsonl
bash
pipectl run customer-intake.yaml < customers.csv
jsonl
{"first_name":"Alice","last_name":"Smith","email":"alice@example.com","plan":"pro","credit_card":"****************"}
{"first_name":"Bob","last_name":"Jones","email":"bob@example.com","plan":"free","credit_card":"****************"}

Released under the MIT License.