Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dbt_native_artifacts_parser-0.1.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page