#transformation #pipeline #data-pipeline #flexible #csv #output #chainable

pipecrafter

A flexible, chainable data transformation pipeline for Rust

3 releases

new 0.1.2 Nov 21, 2024
0.1.1 Oct 31, 2024
0.1.0 Oct 30, 2024

#24 in #transformation

Download history 63/week @ 2024-10-24 187/week @ 2024-10-31 6/week @ 2024-11-07

256 downloads per month

MIT license

5KB
58 lines

pipecrafter

PipeCrafter is a flexible, chainable data transformation pipeline library for Rust, designed to make data ingestion, transformation, and output easier for Rust projects.

Features

  • Data Ingestion: Easily ingest data from various sources (e.g., CSV, JSON).
  • Flexible Transformations: Chain transformations like map, filter, and custom functions.
  • Output Options: Output data to files, stdout, or custom sinks.

Example Usage

use pipecrafter::{CsvSource, Pipeline, UppercaseTransform, print_output};

fn main() {
    let source = Box::new(CsvSource);
    let pipeline = Pipeline::new(source).add_transformation(Box::new(UppercaseTransform));
    
    let result = pipeline.execute().expect("Pipeline execution failed");
    print_output(result);
}

Getting Started

Add pipecrafter to your Cargo.toml dependencies

Import the necessary components and build your data pipeline!

License

MIT License

Author

bensatlantik

Dependencies

~1.4–2.2MB
~34K SLoC