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
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-ipy-0.1.1.tar.gz
(4.6 kB
view hashes)
Built Distribution
dbt_ipy-0.1.1-py3-none-any.whl
(17.1 kB
view hashes)