IPython magic to use dbt
Project description
Run DBT commands inside a IPython session.
So far only the following IPython magics are implemented:
Quickstart Guide:
The first thing you’ll probably want to do is to run a DBT RPC server in the background. That will let you run queries, compile SQL code among other things:
%dbt rpc <args> (the args will be passed directly to dbt as command line arguments)
Compiling queries:
The sql query in the cell will be compiled with the DBT RPC server and IPython will output the text:
%%compile_sql
Running queries:
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:
%%run_sql
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.5.tar.gz
(4.8 kB
view hashes)
Built Distribution
dbt_ipy-0.1.5-py3-none-any.whl
(17.2 kB
view hashes)