Skip to main content

No project description provided

Project description

dbt-ibis

With dbt-ibis you can write your dbt models using Ibis. You can find the full documentation here.

A simple dbt-ibis model looks like this:

from dbt_ibis import depends_on, ref


@depends_on(ref("stg_stores"))
def model(stores):
    return stores.filter(stores["country"] == "USA")

You can install dbt-ibis via pip or conda:

pip install dbt-ibis
# or
conda install -c conda-forge dbt-ibis

In addition, you'll need to install the relevant Ibis backend for your database.

You can read about the advantages of combining dbt and Ibis in this blog post.

Development

pip install -e '.[dev]'

You can run linters and tests with

hatch run linters
hatch run tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dbt_ibis-0.10.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

dbt_ibis-0.10.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file dbt_ibis-0.10.0.tar.gz.

File metadata

  • Download URL: dbt_ibis-0.10.0.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for dbt_ibis-0.10.0.tar.gz
Algorithm Hash digest
SHA256 d59cda9911bd99372b16b31c82f9e26d3b9d07a1d49c4f37f02e9b5791316f32
MD5 3a0a1d2e7788e3edbb3f93134fe0c459
BLAKE2b-256 40fad393866e147dcf0a4f75171603e77d6e2b86dd98ddf2ec18fb338c7594a4

See more details on using hashes here.

File details

Details for the file dbt_ibis-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: dbt_ibis-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for dbt_ibis-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d30e19d749a60bfea8684ff6d7333902913e852e38ccb97ccaf39bcf073ed57e
MD5 2f54ec0272cc2fdbebcef1eb8d739941
BLAKE2b-256 4edef222c3102c357d121347cd7b5e6afb01cc1f895241546acaf732e804a9b8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page