Skip to main content

dbt-polars

dbt-polars integrates the flexibility and performance of Polars with the data governance and lineage capabilities of dbt.

Key features of dbt-polars:

  • Run anywhere: Polars runs on any compute platform, so you’re not locked into an expensive data warehouse.
  • Flexible: Available catalogs let you connect to local storage, Iceberg catalogs, Databricks, and more.
  • Extensible: Create a custom catalog to fit your unique storage and warehouse needs.
  • First-class Python models: Run Python models with the same performance and capabilities as SQL models.
  • Mix Python and SQL: Choose the language that best fits the transformation.
  • dbt-native: Bring lineage, documentation, and data testing into your workflow.
  • Ingestion: Build efficient, incremental API ingestion with Python models and keep the entire pipeline visible in the lineage graph.

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[databricks]'  # Azure Blob Storage
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
databricks Unity Catalog REST API + credential vending Experimental

Quick start

See the Getting started guide.

A minimal profiles.yml for local development is:

my_project:
  target: dev
  outputs:
    dev:
      type: polars
      schema: dev

      catalog_type: local
      root: ./data

Documentation

Metadata

Release files for dbt-polars 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dbt-polars 0.3.0
File Size Uploaded Provenance
dbt_polars-0.3.0.tar.gz 77.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dbt-polars 0.3.0
File Interpreter ABI Platform
dbt_polars-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 179.2 kB

Release files / dbt_polars-0.3.0.tar.gz

Download URL dbt_polars-0.3.0.tar.gz
Size 77.8 kB
Tags Source
SHA-256 checksum
How to use checksums
edf093ab0bde9753e01ff097179a5d2a403e3141b68ae6cf702b1523622a36b7
BLAKE2b-256 checksum
How to use checksums
fae2c2e690fda13bd045bbdd89129a89ee2ea0101b6a30a9e5fd0a38e28679b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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}

Release files / dbt_polars-0.3.0-py3-none-any.whl

Download URL dbt_polars-0.3.0-py3-none-any.whl
Size 101.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b769ade7a679fd3fb4a0ad0cd7aa0d37ed62f4be23d442c30cc886ca965d7ae
BLAKE2b-256 checksum
How to use checksums
86264cff32a00863bfa99fbc254c84eea66a6f762687835e1a422a5cf3433cf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","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}

Security for dbt-polars 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page