Send 3 rows from a local DuckDB database to https://httpbin.org/post in under 5 minutes.
No cloud credentials required.
- Python 3.10+
- uv (recommended) or pip
pip install drt-core[duckdb]
# or with uv:
uv pip install drt-core[duckdb]Create ~/.drt/profiles.yml:
local:
type: duckdb
database: ./warehouse.duckdbpython seed.py
# Seeded 3 rows into users table.Alternative: if you have the DuckDB CLI installed:
duckdb ./warehouse.duckdb < seed.sql
drt validate
# ✓ post_usersdrt run --dry-run
# → post_users
# ✓ 3 synced (dry-run)drt run
# → post_users
# ✓ 3 syncedhttpbin echoes the payload back — each POST returns JSON like:
{ "json": { "id": 1, "name": "Alice", "email": "alice@example.com" } }- Replace
https://httpbin.org/postwith a real API endpoint - Swap the profile for BigQuery (
type: bigquery) - Add more syncs under
syncs/