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
Release files for dbt-ibis 0.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dbt_ibis-0.11.0.tar.gz | 15.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dbt_ibis-0.11.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.8 kB
Release files / dbt_ibis-0.11.0.tar.gz
| Download URL | dbt_ibis-0.11.0.tar.gz |
|---|---|
| Size | 15.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae175dd5b8fc2f8a7611222a4f619b97858da26aaf7b3c3be544f9152b39bc57
|
|
BLAKE2b-256 checksum How to use checksums |
36cdfbcb9f2b9d33d16a5a9f2cea0471ddcf89136d39a20cb4130a1dc4d7ef38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Release files / dbt_ibis-0.11.0-py3-none-any.whl
| Download URL | dbt_ibis-0.11.0-py3-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75ddd21db81d9dd7704440d4f2ee8795a9ff56d198dfb2b557f0a8bd3f895418
|
|
BLAKE2b-256 checksum How to use checksums |
2d0aa4473bc517e253931e0e6133286b4bf5b1c5e328908dda676d90bad3c77b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|