An artifact parser for dbt using dbt-core's built-in classes
Project description
dbt-native-artifacts-parser
An artifact parser for dbt using dbt-core's built-in classes.
Why
The other artifact parsers available often had their own custom classes and complex implementations. This will just use the actual classes which dbt Core uses to write and read the artifacts. It's basically a simple wrapper to make those functions more accessible. If you ignore the checks and error handling, the actual code is less than 10 lines.
Installation
pip install dbt-native-artifacts-parser
Usage
from dbt_native_artifacts_parser import read_manifest
manifest = read_manifest('path/to/manifest.json')
from dbt_native_artifacts_parser import read_results
run_results = read_results('path/to/run_results.json')
from dbt_native_artifacts_parser import read_catalog
catalog = read_catalog('path/to/catalog.json')
from dbt_native_artifacts_parser import read_sources
sources = read_sources('path/to/sources.json')
License
MIT
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for dbt_native_artifacts_parser-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9069358d76a0c256afd0f6008d69f00d7a34eb3882027a0b1446e2abc8685b7 |
|
MD5 | 5bb186ba87bd5d750a46da22dc9c4ce3 |
|
BLAKE2b-256 | 1fdb2ad2497132cab8d7b726283e4aa1cf561abc8aedd30d102b3a9bd012b1f8 |
Close
Hashes for dbt_native_artifacts_parser-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac450505e0a10d3b740912547e105973657adf61f3eb31a862924260fe7eaaab |
|
MD5 | 76a01f6f2fd5b8c2ce7f7a3dac202e18 |
|
BLAKE2b-256 | 4ad3d14fb8ff021ea1d3b0376109ec5aadeda55ef8aa4448e242c9a6e6dbe82b |