Utilities for running dbt automations
Project description
dbt-toolkit
A collection of utilities and tools for teams and organizations using dbt.
This project is in an ALPHA stage. Internal and external APIs might change between minor versions.
Please reach out if you try this at your own organization. Feedback is very appreciated, and we would love to hear if you had any issues setting this up at your own.
Automations
Documentation
- Propagates the documentation of columns that have the same name on downstream models, improving documentation coverage while reducing manual repeated work
More information can be found on the package's README.
dbt Cloud artifacts
- Retrieve artifacts from a dbt Cloud project. Useful for building reports (such as test and documentation coverage)
More information can be found on the package's README.
Installation
This project requires Python 3.8+. You can install the latest version of this package from PyPI by running the command below.
$ pip install dbt-toolkit
Development
Contributing
We are open and would love to have contributions, both in Pull Requests but also in ideas and feedback. Don't hesitate to create an Issue on this repository if you are trying this project in your organization or have anything to share.
Remember to run make lint
, make type
and make test
before committing.
Run make install-dev
to install it locally in editable mode. This is necessary for running the tests.
Architecture
Groups of functionalities are encapsulated together in top-level packages, such as dbt_cloud/
or documentation/
.
Each package that exposes CLI commands should contain an actions
sub-package.
Tests
More information can be found on the tests' README.
Release
There is a GitHub Action that will trigger a release of this package on PyPI based on releases created on GitHub. Steps:
- Loosely follow semantic versioning
- Remember to prefix the tag name with
v
- Use the tag name as the release title on GitHub
- Use the auto-generated release notes from GitHub
- Append a link at the end of the release notes to the released version on PyPI
License
This project is licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0.
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
Built Distribution
File details
Details for the file dbt-toolkit-0.1.4.tar.gz
.
File metadata
- Download URL: dbt-toolkit-0.1.4.tar.gz
- Upload date:
- Size: 350.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7e6693047691db3a26f1a8d7e4608a239dacc2ba646905c577a7e299be7fc74 |
|
MD5 | df76d65c2d5a859429c593827763dd43 |
|
BLAKE2b-256 | 511f7a4953f89e2b7ae04eafbdd9751292219698d110ac5b5700c53b2dfde1ac |
File details
Details for the file dbt_toolkit-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: dbt_toolkit-0.1.4-py3-none-any.whl
- Upload date:
- Size: 23.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 036388237990334d9b5184b963c39c68cf23f5b1f14aa902ae8e9c38c1745ca5 |
|
MD5 | f56e1f016e27455ec767a071af1098a0 |
|
BLAKE2b-256 | 42957e68cf2b3733a03f81e11c8fc735c61a1b5dc499d9cfafbcc9a2275de1d1 |