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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba9ed46b8387871f1d7dab4eb3ff924eed02daac212765e99b15868d82136b5a |
|
MD5 | 0eaa3a9b853ced8b68dc8f28f41fc69c |
|
BLAKE2b-256 | f4456a32d47a6105dc7296a893ba1b31fdac5b72ed41d9ec24109188fe26284a |
Close
Hashes for dbt_native_artifacts_parser-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bc310d8172c7110913a6c75b802f94becd8df0ad0b2802b7997095e70fffb4e |
|
MD5 | 9f8c333903ce581b670ef7f437a24e40 |
|
BLAKE2b-256 | 6a13d7ace8f98d981be108f0def1a2f5eaf45fe75c74a48e915d3b14adb37aae |