pipecrafter

Crates.iopipecrafter
lib.rspipecrafter
version0.1.2
sourcesrc
created_at2024-10-30 14:55:53.101681
updated_at2024-11-21 01:34:10.96676
descriptionA flexible, chainable data transformation pipeline for Rust
homepage
repository
max_upload_size
id1428637
size4,898
Ben Santora (bensatlantik)

documentation

README

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

Commit count: 0

cargo fmt