dkit-1.5.0 is not a library.
Visit the last successful build:
dkit-0.9.0
dkit
A unified CLI to convert, query, and explore data across formats.
Features
- Format conversion — JSON, CSV, YAML, TOML, XML, MessagePack, Parquet, Excel, SQLite, and more
- Query engine — Filter, sort, aggregate, and transform with a built-in query language
- Table preview — View any data file as a formatted table in the terminal
- File diff — Compare two data files, even across different formats
- Statistics — Count, average, percentiles, histograms
- Schema inspection — Visualize data structure as a tree
- Validation — Validate data against JSON Schema
- Sampling — Random, systematic, or stratified sampling
- Flatten / Unflatten — Convert nested structures to flat keys and back
- Streaming — Chunk-based processing for large files
- Watch mode — Auto re-run on file changes
Installation
# From crates.io
# With cargo-binstall
# From source
&&
Pre-built binaries are available on GitHub Releases.
Quick Start
# Convert JSON to CSV
# Query nested data
# Filter and aggregate
# Preview as a table
# Compare two configs
Supported Formats
| Format | Extensions | Read | Write |
|---|---|---|---|
| JSON | .json |
✓ | ✓ |
| JSONL | .jsonl, .ndjson |
✓ | ✓ |
| CSV / TSV | .csv, .tsv |
✓ | ✓ |
| YAML | .yaml, .yml |
✓ | ✓ |
| TOML | .toml |
✓ | ✓ |
| XML | .xml |
✓ | ✓ |
| MessagePack | .msgpack |
✓ | ✓ |
| Parquet | .parquet |
✓ | ✓ |
| Excel | .xlsx |
✓ | — |
| SQLite | .db, .sqlite |
✓ | — |
| Markdown | .md |
— | ✓ |
| HTML | .html |
— | ✓ |
Documentation
See the full README for detailed usage, query syntax, and more.