Tool for managing consistent column descriptions across a dbt project.
Project description
We are the boutique analytics consultancy that turns disorganised data into real business value. Get in touch to learn more about how Tasman can help solve your organisations data challenges.
dbt-datadict
Tool for managing consistent column descriptions across a dbt project.
Key features:
- Rapid creation of model YAML files, leveraging dbt-labs/dbt-codegen 💥 (no more copy/pasting from the terminal 🙌)
- In-place updates to model YAML on schema changes 🧙
- Consolidation of column descriptions into a data dictionary 📓
- Keeps column descriptions in sync with a single command 🔃
Installation ⏬
Install from PyPI:
# with pip
pip install dbt-datadict
# with uv
uv add --dev dbt-datadict
Getting started 🚀
[!TIP]
Check out the full user guide at:
Run the tool with the datadict command. There are two supported commands:
generate: Generates model YAML files using the dbt-codegen package.apply: Applies data dictionary updates to existing model YAML files.
datadict generate
datadict apply
⚠️ Important note ⚠️
It is highly recommend to only use this library in a version controlled environment, such as git. Additionally, please ensure that you have backed up your model YAML files and data dictionary before applying any updates. The application modifies files in place and does not create backups automatically.
Use this application responsibly and verify the updates before proceeding.
Contributing
We encourage you to contribute to this project! Please check out our contribution guide for details.
License
This tool is released under the GNU General Public License v3.0. See LICENSE for details.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dbt_datadict-0.4.0.tar.gz.
File metadata
- Download URL: dbt_datadict-0.4.0.tar.gz
- Upload date:
- Size: 26.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
268202c5422e77cc558ab2c3b72b5da7c963b87dd7c18a85a51970ce2fb94b74
|
|
| MD5 |
271b0b00e41f779574f0d99e15c7d57d
|
|
| BLAKE2b-256 |
82bedab1316cef632582d6cfba9048d538e3aa545dfc4398a49d24c3b2fc0536
|
File details
Details for the file dbt_datadict-0.4.0-py3-none-any.whl.
File metadata
- Download URL: dbt_datadict-0.4.0-py3-none-any.whl
- Upload date:
- Size: 26.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1936523a570dc558c0e802e54612d67cfb7a0c0e9a53e5d2637fbc705c5df02c
|
|
| MD5 |
9df8d0595f0d0326fd661b7e260b1307
|
|
| BLAKE2b-256 |
dbc847bb4c72a37f0dc73d5c982a671b9f0df749a9ab3a2609be603f2a17db48
|