Skip to main content

Python SDK for dbt Cloud.

Project description

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'))

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

pydbtcloud-0.0.3.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

pydbtcloud-0.0.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file pydbtcloud-0.0.3.tar.gz.

File metadata

  • Download URL: pydbtcloud-0.0.3.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for pydbtcloud-0.0.3.tar.gz
Algorithm Hash digest
SHA256 84b9ed5724a088a716aff247fa972eae768bfe3446ab0f032b7cd4a7f4cb141d
MD5 3cf702b25c381430a19a145148753c07
BLAKE2b-256 9bc70c1bffe932e3d61b22cb6968614e76bfd7b3c7d52411fa3b9b126db50312

See more details on using hashes here.

File details

Details for the file pydbtcloud-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pydbtcloud-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for pydbtcloud-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4502716dc929b3f14722d22dd511ab5e67321d75e822a624413ebeeaee357e01
MD5 d54bf5923c62dd10ca8d62bd277a1560
BLAKE2b-256 2be8d1cb1b74bd4b5ff0403ce618f03d8e5e85666a10bad4642e0ca0c81edd88

See more details on using hashes here.

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