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
File details
Details for the file dbt_native_artifacts_parser-0.1.1.tar.gz
.
File metadata
- Download URL: dbt_native_artifacts_parser-0.1.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba9ed46b8387871f1d7dab4eb3ff924eed02daac212765e99b15868d82136b5a |
|
MD5 | 0eaa3a9b853ced8b68dc8f28f41fc69c |
|
BLAKE2b-256 | f4456a32d47a6105dc7296a893ba1b31fdac5b72ed41d9ec24109188fe26284a |
File details
Details for the file dbt_native_artifacts_parser-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: dbt_native_artifacts_parser-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bc310d8172c7110913a6c75b802f94becd8df0ad0b2802b7997095e70fffb4e |
|
MD5 | 9f8c333903ce581b670ef7f437a24e40 |
|
BLAKE2b-256 | 6a13d7ace8f98d981be108f0def1a2f5eaf45fe75c74a48e915d3b14adb37aae |