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
Release history Release notifications | RSS feed
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.9.0.tar.gz
(15.8 kB
view hashes)
Built Distribution
dbt_ibis-0.9.0-py3-none-any.whl
(16.9 kB
view hashes)