Skip to main content

prefect-dbtcloud

Welcome!

Collection of tasks to interact with dbt Cloud

Getting Started

Python setup

Requires an installation of Python 3.7+.

We recommend using a Python virtual environment manager such as pipenv, conda or virtualenv.

These tasks are designed to work with Prefect 2.0. For more information about how to use Prefect, please refer to the Prefect documentation.

Installation

Install prefect-dbtcloud with pip:

pip install prefect-dbtcloud

Write and run a flow

from prefect import flow
from prefect_dbtcloud.tasks import (
    run_job
)


@flow
def trigger_dbt_cloud_job_run():
    run_job(
        cause="<the motivation to run the job>",
        account_id=<your dbt Cloud Account ID>,
        job_id=<the identifier of the job to run>,
        token="<your dbt Cloud API token>",
        wait_for_job_run_completion=False
    )

trigger_dbt_cloud_job_run()

Resources

If you encounter any bugs while using prefect-dbtcloud, feel free to open an issue in the prefect-dbtcloud repository.

If you have any questions or issues while using prefect-dbtcloud, you can find help in either the Prefect Discourse forum or the Prefect Slack community.

Development

If you'd like to install a version of prefect-dbtcloud for development, clone the repository and perform an editable install with pip:

git clone https://github.com/AlessandroLollo/prefect-dbtcloud.git

cd prefect-dbtcloud/

pip install -e ".[dev]"

# Install linting pre-commit hooks
pre-commit install

Metadata

Release files for prefect-dbtcloud 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prefect-dbtcloud 0.1.1
File Size Uploaded Provenance Actions
prefect-dbtcloud-0.1.1.tar.gz 27.6 kB Without provenance Details for prefect-dbtcloud-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for prefect-dbtcloud 0.1.1
File Interpreter ABI Platform Actions
prefect_dbtcloud-0.1.1-py3-none-any.whl Python 3 none any Details for prefect_dbtcloud-0.1.1-py3-none-any.whl

Total release size: 39.2 kB

Release files / prefect-dbtcloud-0.1.1.tar.gz

Download URL prefect-dbtcloud-0.1.1.tar.gz
Size 27.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5f2882eedde2d8c631ce4f2909232228d22a4eb6881fb4a8af598c6d0c35b7f5
BLAKE2b-256 checksum
How to use checksums
63ba2bc83d7dddee7693dac48ca6857077c365995237e5059f40e74470bc6efc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / prefect_dbtcloud-0.1.1-py3-none-any.whl

Download URL prefect_dbtcloud-0.1.1-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce3de3bb9e6aa3c5059c0be25cb2fe847c237807c49b2bf028a63a0fc332b104
BLAKE2b-256 checksum
How to use checksums
73ef1e3931a6b04d56af5f57c44c18777dcbdf7c5e22ab493c6abe4942ca7616
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Security for prefect-dbtcloud 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page