Skip to content

cli reference

Takuro Tsujikawa edited this page Dec 23, 2025 · 1 revision

CLI Reference

Commands

mlprep run

Run a pipeline from a YAML configuration file.

mlprep run <pipeline.yaml>

Arguments

Argument Description
pipeline.yaml Path to the pipeline YAML file

Example

mlprep run pipelines/etl.yaml

mlprep --help

Show help message.

mlprep --help

Output:

usage: mlprep [-h] {run} ...

mlprep CLI

positional arguments:
  {run}
    run       Run a pipeline

options:
  -h, --help  show this help message and exit

mlprep --version

Show version information.

mlprep --version

Python API

mlprep can also be used as a Python library:

import mlprep

# Read data
df = mlprep.read_csv("data.csv")
print(df)

# Read parquet
df = mlprep.read_parquet("data.parquet")

# Write parquet
mlprep.write_parquet(df, "output.parquet")

# Run pipeline programmatically
mlprep.run_pipeline("pipeline.yaml")

Clone this wiki locally