dtpipe 1.3.1
See the version list below for details.
dotnet tool install --global dtpipe --version 1.3.1
dotnet new tool-manifest
dotnet tool install --local dtpipe --version 1.3.1
#tool dotnet:?package=dtpipe&version=1.3.1
nuke :add-package dtpipe --version 1.3.1
DtPipe
A self-contained CLI for streaming, transforming, and anonymizing data across databases and file formats.
DtPipe reads from a source, applies row and columnar transformations in batches, and writes to a destination with no intermediate staging. It is designed for automation and CI/CD workflows where repeatable, observable data pipelines matter.
๐ Recipes & Examples โ COOKBOOK.md ยท Full CLI Reference โ REFERENCE.md
Installation
.NET Global Tool (Recommended)
dotnet tool install -g dtpipe
dtpipe --help
Build from Source
Prerequisite: .NET 10 SDK
# Bash (Mac/Linux/Windows Git Bash)
./build.sh
# PowerShell (Windows/Cross-platform)
./build.ps1
Binary created at: ./dist/release/dtpipe
Quick Start
Export a database table
dtpipe \
-i "pg:Host=localhost;Database=prod;Username=postgres" \
--query "SELECT * FROM users" \
-o users.parquet
Anonymize before export
dtpipe \
-i "pg:Host=localhost;Database=prod;Username=postgres" \
--query "SELECT * FROM users" \
--fake "email:internet.email" \
--fake "name:name.fullName" \
--mask "phone:###-****" \
--null "ssn" \
-o anonymized_users.parquet
In-memory SQL join
dtpipe \
-i orders.parquet --alias orders \
-i customers.csv --alias customers \
--from orders --ref customers \
--sql "SELECT o.*, c.name FROM orders o JOIN customers c ON o.customer_id = c.id" \
-o result.parquet
Run from a YAML job file
# Generate a reusable job file from any CLI command
dtpipe -i "pg:..." --query "SELECT * FROM users" --fake "email:internet.email" \
-o users.parquet --export-job nightly.yaml
# Run it (with optional overrides)
dtpipe --job nightly.yaml --limit 1000
Providers
DtPipe detects providers from file extensions (.csv, .parquetโฆ) or explicit prefixes.
Explicit prefixes are recommended to avoid ambiguity.
| Provider | Input | Output | Prefix |
|---|---|---|---|
| DuckDB | โ | โ | duck: |
| SQLite | โ | โ | sqlite: |
| PostgreSQL | โ | โ | pg: |
| Oracle | โ | โ | ora: |
| SQL Server | โ | โ | mssql: |
| CSV | โ | โ | csv: / .csv |
| JsonL | โ | โ | jsonl: / .jsonl |
| XML | โ | โ | xml: / .xml |
| Apache Arrow | โ | โ | arrow: / .arrow |
| Parquet | โ | โ | parquet: / .parquet |
| Data Gen | โ | โ | generate:N |
| Null | โ | โ | null: |
Use
keyring://aliasanywhere a connection string is expected. DtPipe resolves it from the OS keychain at runtime. Rundtpipe secret set prod-db "pg:..."to store a secret.
Key Concepts
- Arrow-native pipeline โ transformations run on columnar Arrow batches; when source and destination are both columnar (Parquet, DuckDB, Arrow), data passes through without row conversion.
- Transformer pipeline โ
--fake,--mask,--compute,--filter, and others chain in left-to-right order. Each flag group forms one pipeline step. - DAG execution โ multiple
--inputsources with--from,--sql, or--mergeassemble an in-memory directed acyclic graph, executed concurrently. - YAML jobs โ any CLI command can be exported to a YAML job file with
--export-joband replayed with--job. CLI flags override YAML values at runtime. - Secret management โ connection strings can be stored in the OS keyring and referenced as
keyring://alias, keeping credentials out of scripts and command history.
Documentation
| Document | Contents |
|---|---|
| REFERENCE.md | Full CLI option tables, YAML job schema, DAG topology reference, secret management |
| COOKBOOK.md | End-to-end scenarios: anonymization, schema transforms, SQL joins, DAG pipelines, YAML automation |
| EXTENDING.md | Adding adapters (readers/writers) and transformers |
Shell Autocompletion (experimental)
dtpipe completion --install
Restart your terminal (or source ~/.zshrc) to activate.
Contributing
See EXTENDING.md for the adapter and transformer patterns.
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.9.0 | 0 | 10/2/2026 |
| 1.8.2 | 110 | 9/14/2026 |
| 1.8.1 | 110 | 9/10/2026 |
| 1.8.0 | 113 | 9/9/2026 |
| 1.7.0 | 106 | 9/5/2026 |
| 1.6.0 | 183 | 8/27/2026 |
| 1.5.0 | 167 | 8/6/2026 |
| 1.4.3 | 153 | 7/7/2026 |
| 1.4.2 | 147 | 6/20/2026 |
| 1.4.1 | 148 | 6/19/2026 |
| 1.4.0 | 167 | 6/17/2026 |
| 1.3.4 | 152 | 6/15/2026 |
| 1.3.3 | 136 | 6/14/2026 |
| 1.3.2 | 141 | 6/9/2026 |
| 1.3.1 | 152 | 6/8/2026 |
| 1.3.0 | 213 | 5/8/2026 |
| 1.2.6 | 147 | 4/29/2026 |
| 1.2.5 | 159 | 4/25/2026 |
| 1.2.4 | 149 | 4/14/2026 |