schemeforge

Crates.ioschemeforge
lib.rsschemeforge
version0.1.0
created_at2025-12-13 12:49:03.736317+00
updated_at2025-12-13 12:49:03.736317+00
descriptionFast, local CLI written in Rust for validating, inspecting, and converting CSV & JSON datasets using file-based schemas.
homepage
repositoryhttps://github.com/manjunathh-xyz/schemeforge
max_upload_size
id1982890
size27,013
(manjunathh-xyz)

documentation

README

schemeforge

Fast, local CLI written in Rust for validating, inspecting, and converting CSV & JSON datasets using file-based schemas.

Problem Statement

Validating and converting datasets between CSV and JSON formats is often tedious and error-prone. Developers and data analysts frequently need to ensure data integrity, check for type mismatches, and transform data formats without relying on external services or complex tools.

Why schemeforge?

schemeforge provides a simple, fast, and local solution for dataset validation and conversion. It uses declarative schemas to define expected data structures, catching errors early and enabling reliable data processing pipelines.

Installation

cargo install schemeforge

Or build from source:

git clone https://github.com/manjunathh-xyz/schemeforge.git
cd schemeforge
cargo build --release

Usage

Validate a dataset

schemeforge validate data.csv --schema schema.json

Show dataset statistics

schemeforge stats data.json

Convert between formats

schemeforge convert input.csv output.json
schemeforge convert input.json output.csv

Schema Format

Schemas are JSON files defining fields and their types:

{
  "fields": {
    "name": {"field_type": "string", "required": true},
    "age": {"field_type": "number", "required": false},
    "active": {"field_type": "boolean", "required": false}
  }
}

Supported types: string, number, boolean.

Non-Goals

  • No plugins or extensions
  • No custom schema DSL
  • No asynchronous operations
  • No network access
  • No configuration files
  • No auto-fixing of data
  • No GUI interface
Commit count: 0

cargo fmt