FilePrepper.CLI 0.3.0

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet tool install --global FilePrepper.CLI --version 0.3.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local FilePrepper.CLI --version 0.3.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=FilePrepper.CLI&version=0.3.0
                    
nuke :add-package FilePrepper.CLI --version 0.3.0
                    

FilePrepper

NuGet Version NuGet Downloads .NET Version License Build Status Tests

A powerful .NET library and CLI tool for CSV/tabular data processing. Process data files without writing code, or integrate into your .NET applications.

Quick Start

CLI Usage (No Coding Required)

# Normalize multiple columns
fileprepper normalize -i data.csv -o output.csv -c "Age,Salary,Score" -m MinMax

# Convert data types
fileprepper convert-type -i data.csv -o output.csv -c "Date:DateTime:yyyy-MM-dd,Age:Integer"

# Fill missing values
fileprepper fill-missing -i data.csv -o output.csv -c "Age,Salary" -m Mean

# Get help for any command
fileprepper normalize --help

Library Usage

var options = new NormalizeDataOption
{
    InputPath = "data.csv",
    OutputPath = "output.csv",
    TargetColumns = new[] { "Age", "Salary" },
    Method = NormalizationMethod.MinMax
};

var task = new NormalizeDataTask(logger);
await task.ExecuteAsync(new TaskContext(options));

Features

20+ Data Operations

  • Manipulation: Add/Remove/Rename/Reorder columns, Column interactions
  • Transformation: Type conversion, Date extraction, Normalization, Scaling, One-hot encoding
  • Analysis: Aggregation, Statistics, Sampling
  • Organization: Deduplication, Filtering, Merging
  • Format: CSV/TSV/JSON/XML conversion, Excel support

Key Capabilities

Multi-column processing - Process multiple columns in single command ✅ Type-safe - Compile-time checking for .NET integration ✅ CLI & Library - Use without coding or integrate programmatically ✅ Error handling - Flexible error strategies with logging ✅ Well-tested - 159 unit tests ensuring reliability

Installation

# Install as global .NET tool
dotnet tool install -g FilePrepper.CLI

# Use anywhere
fileprepper --help
fileprepper normalize -i data.csv -o output.csv -c "Age,Salary" -m MinMax

Library (NuGet)

dotnet add package FilePrepper

See INSTALL.md for detailed installation instructions.

Documentation

Examples

Multi-Column Operations

# Process 3 columns simultaneously
fileprepper normalize -i sales.csv -o normalized.csv \
  -c "Price,Quantity,Revenue" -m MinMax --min 0 --max 1

Data Pipeline

# 1. Fill missing values
fileprepper fill-missing -i raw.csv -o step1.csv -c "Age" -m Mean

# 2. Normalize
fileprepper normalize -i step1.csv -o step2.csv -c "Age,Salary" -m MinMax

# 3. Convert format
fileprepper convert-format -i step2.csv -o final.json -f JSON

Programmatic Usage

// Configure multiple column normalization
var options = new NormalizeDataOption
{
    InputPath = "data.csv",
    OutputPath = "output.csv",
    TargetColumns = new[] { "Col1", "Col2", "Col3" },
    Method = NormalizationMethod.ZScore,
    IgnoreErrors = true
};

// Execute
var task = new NormalizeDataTask(logger);
var result = await task.ExecuteAsync(new TaskContext(options));

Requirements

  • .NET 9.0 or later
  • Cross-platform (Windows, Linux, macOS)
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated