Skip to main content

IPython magic to use dbt

Project description

Run DBT commands

So far only the following IPython magics are implemented:

# Line magics %dbt rpc <args> it will run dbt rpc in the background. The args will be passed directly to dbt as command line arguments.

# Cell magics %%compile_sql the sql query in the cell will be compiled with the DBT RPC server and IPython will output the text

%%run_sql the sql query in the cell will be run on the DBT RPC server and IPython will output the agate table. Also, it will run its .print_table() method

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-ipy-0.1.1.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

dbt_ipy-0.1.1-py3-none-any.whl (17.1 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