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:

pip install 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.8.1.tar.gz (15.9 kB view hashes)

Uploaded Source

Built Distribution

dbt_ibis-0.8.1-py3-none-any.whl (17.0 kB view hashes)

Uploaded Python 3

Supported by

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