Skip to main content

dbt-pal

PyPI Python Versions CI License

dbt-pal is Python Adapter Layer

A dbt adapter for running Python models without Dataproc or BigQuery DataFrames.

  • SQL models work the same as dbt-bigquery
  • Python models are executed in the process running dbt, and the results are written to BigQuery
  • The only supported data platform is BigQuery

Inspired by dbt-fal, but this is an unrelated project with no guaranteed compatibility.

Usage

Installation

pip install dbt-pal

Prerequisites

  • Python >= 3.11
  • dbt-core >= 1.11.0
  • dbt-bigquery >= 1.11.0
  • Authentication to BigQuery must be configured (e.g. gcloud auth application-default login)

profiles.yml Configuration

Create a target with type: pal and specify the target name of the actual BigQuery target in db_profile field.

my_project:
  target: pal
  outputs:
    pal:
      type: pal
      db_profile: bq
    bq:
      type: bigquery
      method: oauth
      project: my-project
      dataset: my_dataset
      location: asia-northeast1

Limitations

  • SQL models support the table and view materializations
  • Python models support only the table materialization
  • Python models are executed in the process running dbt, so the data size that can be handled depends on the memory of that process

License

Apache License 2.0.
This project was created by modifying code from dbt-fal.

Metadata

Release files for dbt-pal 0.3.2

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-pal 0.3.2
File Size Uploaded
dbt_pal-0.3.2.tar.gz 17.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dbt-pal 0.3.2
File Interpreter ABI Platform
dbt_pal-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 29.0 kB

Release files / dbt_pal-0.3.2.tar.gz

Download URL dbt_pal-0.3.2.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b1bcdaa4492024deb59ab23ed895b479b3ff60c55f9cf7b8fc12d230a4d01b0d
BLAKE2b-256 checksum
How to use checksums
9d12e58b11f976da4c6676362c3529ded641e84e33279d4c5f240b8130f97aac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 18, 2026.

Transparency log

Release files / dbt_pal-0.3.2-py3-none-any.whl

Download URL dbt_pal-0.3.2-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7b24a07272697fee953bc25be4e868fa74adbf38b5bde5b09d5ad01f1cb590e
BLAKE2b-256 checksum
How to use checksums
3a75b13dbdca9fd100688c8569d880a98afe8731c212a57ce67ed4ee14585e69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 18, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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