Skip to main content

No project description provided

Project description

dbt-plyr

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

A simple dbt-plyr 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-plyr via pip or conda:

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

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_dbplyr-0.1.0.dev0.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dbt_dbplyr-0.1.0.dev0-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file dbt_dbplyr-0.1.0.dev0.tar.gz.

File metadata

  • Download URL: dbt_dbplyr-0.1.0.dev0.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for dbt_dbplyr-0.1.0.dev0.tar.gz
Algorithm Hash digest
SHA256 e0158b285b925bb6f58e2b49957b91e2490a68a1a870fbae022472e28fe37dcd
MD5 9f9cda328c677ac9704739b5d7a8b3ff
BLAKE2b-256 755b88fdb31a3495a0d1e6343cbfd7f13c73d1848ec024fc64db02ee408597e4

See more details on using hashes here.

File details

Details for the file dbt_dbplyr-0.1.0.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for dbt_dbplyr-0.1.0.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd288544e74eac948e1157912782bbe3b3bb2780ea9e9fa95dc72c0c29a5b8f9
MD5 50ed34791a1fba02dd52b70219e53b98
BLAKE2b-256 ba8f782a160d74576a09b073fb0ce3295e5a6f0be384932c0bb59830e508300f

See more details on using hashes here.

Supported by

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