processing-chain

processing-chain provides a convenient way to seamlessly set up processing chains for large amounts of data.

All the user needs to do is to provide the input/output paths, and the function that processes a single file. processing-chain will take care of spawning the process across all files via parallelization. The user can also provide some extra processing configuration information (e.g., overwrite).

Highlights

Write your _process_item function

In rust: ```rust fn processitem(item: &Item) -> Result { // define how to process a single item println!( "Processing {} {:?} -> {:?}", item.name, item.inputitempath, item.outputitempath ); // ...

Ok(true)

} If your function is written in Python and you don't feel like converting it to Rust (yet), you could use the [inline-python](https://crates.io/crates/inline-python) crate. rust use inline_python::python;

fn processitem(item: &Item) -> Result { // define how to process a single item python! { print("Processing {} {} -> {}".format('item.name, item.inputitempath, item.outputitempath)) }; // ...

Ok(true)

} `` The full example can be found [here`](https://github.com/giorgiosavastano/process/blob/main/examples/processing.rs).