Skip to content

dwallace0723/py-dbt-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: MIT Python 3.7

py-dbt-cloud

pydbtcloud is a developer kit for interfacing with the dbt Cloud v2 API on Python 3.7 and above.

Installation

pip install pydbtcloud

Authentication

from pydbtcloud import DbtCloud
dbtcloud = DbtCloud(account_id='account_id', api_token='api_token')

Example Usage

Get information about a specific dbt cloud job:

response = dbtcloud.get_job(1234)

You can iterate through pages using the following syntax:

for page in dbtcloud.list_runs():
  for run in page.get('data'):
    print(run.get('id'))

About

A python SDK for dbt Cloud

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages