A dbt artifacts parser in python
Maintained. Last release 3 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install collate-dbt-artifacts-parsercollate-dbt-artifacts-parser
This is a dbt artifacts parse in python.
It enables us to deal with catalog.json, manifest.json, run-results.json and sources.json as python objects.
This package is primarily designed for dbt-core, enabling seamless interaction with dbt artifacts as Python objects. While dbt Cloud provides additional artifact types beyond those of dbt-core, this package offer comprehensive support for only catalog.json, manifest.json, run-results.json and sources.json of dbt Cloud.
Supported Versions and Compatibility
⚠️ Important Note:
- Pydantic v1 will not be supported for dbt 1.9 or later.
- To parse dbt 1.9 or later, please migrate your code to pydantic v2.
- We will reassess version compatibility upon the release of pydantic v3.
| Version | Supported dbt Version | Supported pydantic Version |
|---|---|---|
| 0.8 | dbt 1.5 to 1.9 | pydantic v2 |
| 0.7 | dbt 1.5 to 1.8 | pydantic v2 |
| 0.6 | dbt 1.5 to 1.8 | pydantic v1 |
| 0.5 | dbt 1.5 to 1.7 | pydantic v1 |
Installation
pip install -U collate-dbt-artifacts-parser
Python classes
Those are the classes to parse dbt artifacts.
Catalog
- CatalogV1 for catalog.json v1