dbt-polars
A dbt adapter that runs models locally using Polars. Instead of connecting to a database, dbt-polars reads and writes files — on your local filesystem, Azure Blob Storage, AWS S3, or an Iceberg catalog.
Installation
pip install dbt-polars
Extra dependencies are required for cloud and Iceberg backends:
pip install 'dbt-polars[azure]' # Azure Blob Storage
pip install 'dbt-polars[s3]' # AWS S3
pip install 'dbt-polars[iceberg]' # Apache Iceberg (SQLite, REST, Databricks, …)
Catalogs
dbt-polars uses catalogs to define where data is stored. Each catalog maps to a storage backend. You can configure multiple catalogs in a single profile and reference them from your models.
| Catalog | Backend | Status |
|---|---|---|
local |
Local filesystem | Usable |
iceberg with SQLite |
Iceberg + SQLite metastore | Usable |
iceberg with REST + Databricks |
Iceberg REST API (Unity Catalog) | Experimental |
iceberg with other backends |
Any pyiceberg-supported backend | Experimental |
azure |
Azure Blob Storage / ADLS Gen2 | Experimental |
Quick start
A minimal profiles.yml for local development:
my_project:
target: dev
outputs:
dev:
type: polars
schema: dev
catalogs:
- name: my_catalog
type: local
root: ./data
Documentation
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dbt_polars-0.0.1.tar.gz.
File metadata
- Download URL: dbt_polars-0.0.1.tar.gz
- Upload date:
- Size: 34.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1facfd1fb1695b0d0978ac6e9d72d6e0d1441a7768f40b309f29b6549d52732f
|
|
| MD5 |
835c9eda84ba537e5f52570f22f9ff9f
|
|
| BLAKE2b-256 |
12ba3087087dbf379dfe1c425afb68d57cd3692d55d39eb52583203fe55eca95
|
File details
Details for the file dbt_polars-0.0.1-py3-none-any.whl.
File metadata
- Download URL: dbt_polars-0.0.1-py3-none-any.whl
- Upload date:
- Size: 39.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abf72aba1ccddd5ba346a303e5f8fbcbdddbe1327cfbec788e73e9a0b4ac620a
|
|
| MD5 |
5e1f8cc3cd79f830c577602ab6b901ed
|
|
| BLAKE2b-256 |
7e7f45af5899779a61ba9db3cbc366bb89346904b088420132aa1a1128981ca7
|