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 details)
Built Distribution
dbt_ibis-0.9.0-py3-none-any.whl
(16.9 kB
view details)
File details
Details for the file dbt_ibis-0.9.0.tar.gz
.
File metadata
- Download URL: dbt_ibis-0.9.0.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e3924e42a6809457f668c1ee01d358af5a74225e1d6c957858511f626b69e24 |
|
MD5 | 6da3dd3f18bd76f91c022e3c0e18dd76 |
|
BLAKE2b-256 | 7d62f62a24583b61700d7d939c5e3c34589f82b634834d1caef2e9ecbe090974 |
File details
Details for the file dbt_ibis-0.9.0-py3-none-any.whl
.
File metadata
- Download URL: dbt_ibis-0.9.0-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60f85a83e46e8db631600efdaccc460055dc5f3a2e6f97618e59650940ca3b5d |
|
MD5 | cde02e7e86fd49d9f1b2330216cdb24f |
|
BLAKE2b-256 | 05c13dbb681e8a0b35e8b92d24234e4b772df66cb504439d45dfa33e6611faba |