Metadata-Version: 2.5
Name: pipeloom-duckdb
Version: 1.1.0
Summary: DuckDB engine for pipeloom: SQL pushdown, a database file catalog, Parquet, CSV and Delta reads.
Project-URL: Repository, https://github.com/emanuel-luis/pipeloom
Project-URL: Documentation, https://emanuel-luis.github.io/pipeloom/
Project-URL: Changelog, https://github.com/emanuel-luis/pipeloom/blob/main/CHANGELOG.md
Author-email: Emanuel Luis <emanuel.filho08@gmail.com>
License-Expression: Apache-2.0
License-File: LICENSE
License-File: NOTICE
Keywords: data-engineering,duckdb,pipelines,pipeloom
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Typing :: Typed
Requires-Python: >=3.11
Requires-Dist: duckdb<3,>=1.4
Requires-Dist: pipeloom~=1.1.0
Description-Content-Type: text/markdown

# pipeloom-duckdb

The [DuckDB](https://duckdb.org) engine for [pipeloom](https://github.com/emanuel-luis/pipeloom).

```console
$ pip install "pipeloom[duckdb]"
```

Select it in a target:

```yaml
targets:
  dev:
    engine:
      kind: duckdb
    catalog:
      kind: duckdb
      path: target/warehouse.duckdb
```

- Relations are DuckDB relations. Python models receive `DuckDBPyRelation` inputs, or Narwhals
  frames with `frame_api: narwhals`.
- SQL models and views run in DuckDB's own dialect (`sql_dialect: duckdb`).
- Tables live in a DuckDB database file. `merge`, `scd2` and `replace_partitions` run as SQL
  inside one transaction, and an idempotency token makes a repeated write a no-op.
- Reads `parquet` and `csv` sources, and `delta` tables read-only through the DuckDB `delta`
  extension, installed from a pinned `extension_directory`.

Documentation: https://emanuel-luis.github.io/pipeloom/latest/plugins/duckdb/

License: Apache-2.0.
