gizmodata / adbc-driver-quack
PublicGo ADBC driver for DuckDB's Quack remote protocol (quack:// URI scheme). Returns Apache Arrow RecordBatches; supports bulk-ingest via APPEND_REQUEST. Distributed as a Go module + pip-installable Python wheel.
This is an open-source database driver that enables Python programs (and other languages) to connect to DuckDB databases running on remote servers via the Quack protocol. It follows the Apache Arrow ADBC standard, which means it returns query results as efficient Arrow tables rather than traditional rows. Users can run SQL queries against remote databases, get results back in a memory-efficient columnar format, and bulk-load data from Python into database tables. The driver is published on PyPI, uses the MIT license, and is maintained by GizmoData with proper CI/CD testing.
How It Works
You learn about a driver that lets Python connect directly to DuckDB databases running on remote servers, returning your data in a super-efficient format.
With one simple command, you add the driver to your Python setup and it's ready to use in your projects.
Your team has a DuckDB database running with the Quack remote access enabled, waiting for connections on a specific port.
Your Python code opens a connection to the remote database using a simple URL, like connecting to a website but for your database.
Run SQL queries and get results back as efficient Arrow tables that work seamlessly with Pandas, Polars, or any data tool you prefer.
Push large amounts of data from Python directly into a new or existing table in the database with one command.
Data comes back in compact Arrow format, handling millions of rows smoothly without overwhelming your computer's memory.
You can now pull data from remote DuckDB servers and combine it with your local data tools, all working together effortlessly.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.