Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

pqrs

$ pqrs Community Low Risk
Manoj Karthick · Database & Data · MIT / Apache-2.0 · macos / linux / windows

pqrs is a Rust rewrite of parquet-tools for inspecting Apache Parquet files and directories. It provides schema, rowcount, size, head, sample, cat --json, and merge subcommands with zero JVM or Python dependencies.

FCRS-1.0 Score
90 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install pqrs
CLI vs MCP Decision CLI Only

Inspects Parquet schemas and samples records natively in Rust (pqrs schema, pqrs head --json) without JVM or Python startup overhead.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 22 / 25

Supports --json and --csv on cat/head/sample, non-interactive execution, and clean subcommand --help.

  • Supports --json on cat/head/sample
  • Non-interactive Rust CLI
Trust & Safety 24 / 25

All inspection subcommands (schema, rowcount, size, head, cat, sample) are strictly read-only; only merge --output writes locally.

  • Read-only inspection commands; explicit merge --output for writes
Setup & Portability 14 / 15

Single Rust binary via Homebrew, cargo install pqrs, and GitHub Releases on macOS, Linux, and Windows.

  • Zero-runtime Rust binary (brew install pqrs)
Utility & Efficiency 13 / 15

Replaces heavyweight Java parquet-tools for local schema/row-group inspection and JSON/CSV sampling.

  • Sub-second schema, rowcount, sample, and merge operations
Maintenance & Lineage 8 / 10

Maintained by Manoj Karthick under dual MIT / Apache-2.0 license.

  • manojkarthick/pqrs repository
Docs & Verifiability 9 / 10

Concise README and clear clap-generated --help for every subcommand.

  • Clear subcommand docs in README and --help

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None; operates purely on local Parquet files and directories.

Side Effects
Read-Only Local Write
Cost & Quotas

Dual MIT / Apache-2.0 open-source CLI; completely free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# pqrs Agent Rules
- Run `pqrs schema` and `pqrs rowcount` before reading rows.
- Prefer `pqrs head --records <N> --json` over `pqrs cat --json` on large Parquet files.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect detailed Parquet schema and row-group metadata
pqrs schema --detailed data.parquet

Displays column types, encodings, compression, and row-group stats without reading full row payloads.

Print the first 10 records as JSON
pqrs head --records 10 --json data.parquet

Safely previews a bounded number of Parquet rows formatted as JSON.

Controlled Writes & Previews

Merge multiple Parquet files into one
pqrs merge --input part1.parquet part2.parquet --output merged.parquet

Combines compatible Parquet files by appending row groups into a new output file.

Strengths for Agents

  • + Instant startup with zero JVM or Python dependencies.
  • + pqrs schema --detailed surfaces row-group sizes, codecs, and column metadata concisely.
  • + pqrs head --records 10 --json avoids context blowup.

Caveats & Pitfalls

  • ! Operates on local files only (unlike Python parquet-tools, does not read s3:// URIs directly).
  • ! No SQL filtering; pair with duckdb or datafusion-cli for WHERE queries.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI