Polymorphic Streaming Enrichment for CSV, TSV, JSON, NDJSON/JSONL, SQLite & Columnar Tables
Real data pipelines do not live exclusively in flat CSVs. Engineering teams store tables in NDJSON/JSONL logs, TSV exports, local SQLite databases, and analytical columnar payloads. Batch-Anything natively streams all six formats in and out with zero format-conversion glue code.
Format Friction & Memory Spikes in Data Engineering Pipelines
Spreadsheet-first enrichment tools accept only CSV uploads and force manual re-formatting every time your warehouse or scraper emits NDJSON/JSONL streams or SQLite tables. Parsing a 50 MB JSON array directly into RAM before calling an enrichment API also causes unnecessary memory spikes inside lightweight containers.
Converting enriched outputs back into SQLite for local DuckDB/SQL querying or columnar JSON for analytics dashboards wastes engineering cycles on boilerplate ETL scripts.
Six Polymorphic Streaming Formats, One Unified Engine
True Chunked Streaming Across 6 Formats
Read and write CSV, TSV, JSON Array, NDJSON/JSONL, SQLite tables, and Parquet-compatible columnar JSON (schema + column arrays) with O(chunk_size) memory.
Roundtrip Format Conversion on Export
Ingest raw CSV or JSONL and export directly as a ready-to-query SQLite database (GET /v1/batch/{job_id}/export?format=sqlite) or columnar JSON (?format=columnar).
Verified Constant-Memory Benchmark
Loop 3 Gauntlet roundtripped all supported table formats and streamed 10,000 rows at 1,535.28 rows/sec using just 8.03 MB peak memory.
Zero Third-Party Dependency Bloat
Built cleanly on Python 3 standard library streaming parsers + SQLite WAL, eliminating binary wheel mismatches and dependency breakage.
Table Format Interoperability Comparison
Competitor pricing figures reflect documented public tiers; Batch-Anything performance metrics reflect real measured Gauntlet telemetry (16/16 checks passing).
| Format | Batch-Anything Input | Batch-Anything Export | Clay / Browser Tools |
|---|---|---|---|
| CSV & TSV | Streaming chunked reader | ?format=csv / ?format=tsv | CSV upload/export only |
| NDJSON / JSONL | Line-by-line streaming reader | ?format=jsonl | Requires pre-conversion |
| JSON Array | Direct API array or text | ?format=json | Webhook row-by-row only |
| SQLite Table | Native SQLite table streaming | ?format=sqlite (query-ready DB) | Not supported |
| Columnar JSON (Parquet-style) | Schema + column vector support | ?format=columnar | Not supported |
Working REST & Streamable /mcp Code Examples
REST API (POST /v1/batch/run & /v1/batch/submit)
# 1. Submit table in JSON/CSV/JSONL/SQLite
curl -fsSL -X POST "https://batch.fastmesh.dev/v1/batch/submit" \
-H "Content-Type: application/json" \
-d '{"workflow": "oss_package_enrich", "tenant_id": "acme_data_eng", "rows": [{"ecosystem": "pypi", "package_name": "requests"}, {"ecosystem": "npm", "package_name": "zod"}, {"ecosystem": "pypi", "package_name": "nonexistent-pkg-999999"}], "max_budget_usd": 2.0}'
# 2. Export directly to SQLite DB or Parquet-compatible columnar JSON
curl -fsSL -o enriched.sqlite "https://batch.fastmesh.dev/v1/batch/{job_id}/export?format=sqlite"
curl -fsSL "https://batch.fastmesh.dev/v1/batch/{job_id}/export?format=columnar"
Native AI Agent Call (POST /mcp · JSON-RPC 2.0)
# Streamable HTTP MCP JSON-RPC 2.0 call (https://batch.fastmesh.dev/mcp)
curl -fsSL -X POST "https://batch.fastmesh.dev/mcp" \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "batch_enrich_run", "arguments": {"workflow": "oss_package_enrich", "tenant_id": "coding_agent_01", "rows": [{"ecosystem": "pypi", "package_name": "requests"}, {"ecosystem": "npm", "package_name": "zod"}], "max_budget_usd": 1.0}}}'
Full schema: /openapi.json · Agent onboarding: /skill.md · Machine directory: /llms.txt · Treg Hub: batch-anything-waterfall (0% commission) · Causal Bazaar: batch_anything_waterfall_v1
Zero-Empty Guarantee, Privacy & Never-Expiring Packs
$0.00 and isolated in dead_letter_rows with a verifiable receipt_sha256.Zero Customer Table Resale Pledge: Your uploaded CSVs, SQLite tables, prompts, BYOK keys, and batch traces are NEVER resold, licensed, or used to train external models.
Starter Pack
$19 credit (19M micros · 6,333 B2B domains / 12,666 URL checks) · Never expires · 0 seat fees
Get Starter PackGrowth Pack
$90 credit (90M micros · 30,000 B2B domains / 60,000 URL checks) · Never expires · 0 seat fees
Get Growth PackScale Pack
$325 credit (325M micros · 108,333 B2B domains / 216,666 URL checks) · Never expires · 0 seat fees
Get Scale PackFrequently Asked Questions
Can I upload CSV and export the enriched table directly as SQLite or JSONL?
Yes. Specify any supported input format on POST /v1/batch/run or POST /v1/batch/submit, then request ?format=csv, tsv, json, jsonl, sqlite, or columnar on GET /v1/batch/{job_id}/export.
Why use NDJSON/JSONL instead of standard JSON arrays for 50,000+ rows?
NDJSON/JSONL streams one JSON object per newline, letting both the client and Batch-Anything process rows incrementally with constant memory rather than buffering a giant JSON document.
What does the columnar export format contain?
The Parquet-compatible columnar JSON export emits explicit column schema metadata plus dense column-oriented arrays, ready for immediate ingestion into analytics engines, Polars, DuckDB, or Parquet converters.
Are dead_letter_rows kept separate from clean exported tables?
Yes. Your exported table stays clean and schema-consistent while failed, empty, or fake-200 rows are auditable separately via dead_letter_rows with zero charges.