# 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
```bash
pip install dbt-native-artifacts-parser
```
## Usage
```python
from dbt_native_artifacts_parser import read_manifest
manifest = read_manifest('path/to/manifest.json')
```
```python
from dbt_native_artifacts_parser import read_results
run_results = read_results('path/to/run_results.json')
```
```python
from dbt_native_artifacts_parser import read_catalog
catalog = read_catalog('path/to/catalog.json')
```
```python
from dbt_native_artifacts_parser import read_sources
sources = read_sources('path/to/sources.json')
```
## License
MIT
Raw data
{
"_id": null,
"home_page": null,
"name": "dbt-native-artifacts-parser",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "artifacts, dbt, dbt-core, parser",
"author": null,
"author_email": "Sam Debruyn <pypi.sam@debruyn.dev>",
"download_url": "https://files.pythonhosted.org/packages/f4/45/6a32d47a6105dc7296a893ba1b31fdac5b72ed41d9ec24109188fe26284a/dbt_native_artifacts_parser-0.1.1.tar.gz",
"platform": null,
"description": "# dbt-native-artifacts-parser\n\nAn artifact parser for dbt using dbt-core's built-in classes.\n\n## Why\n\nThe 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.\n\n## Installation\n\n```bash\npip install dbt-native-artifacts-parser\n```\n\n## Usage\n\n```python\nfrom dbt_native_artifacts_parser import read_manifest\n\nmanifest = read_manifest('path/to/manifest.json')\n```\n\n```python\nfrom dbt_native_artifacts_parser import read_results\n\nrun_results = read_results('path/to/run_results.json')\n```\n\n```python\nfrom dbt_native_artifacts_parser import read_catalog\n\ncatalog = read_catalog('path/to/catalog.json')\n```\n\n```python\nfrom dbt_native_artifacts_parser import read_sources\n\nsources = read_sources('path/to/sources.json')\n``` \n\n## License\n\nMIT\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "An artifact parser for dbt using dbt-core's built-in classes",
"version": "0.1.1",
"project_urls": {
"Repository": "https://github.com/sdebruyn/dbt-native-artifacts-parser"
},
"split_keywords": [
"artifacts",
" dbt",
" dbt-core",
" parser"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6a13d7ace8f98d981be108f0def1a2f5eaf45fe75c74a48e915d3b14adb37aae",
"md5": "9f8c333903ce581b670ef7f437a24e40",
"sha256": "1bc310d8172c7110913a6c75b802f94becd8df0ad0b2802b7997095e70fffb4e"
},
"downloads": -1,
"filename": "dbt_native_artifacts_parser-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9f8c333903ce581b670ef7f437a24e40",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 3089,
"upload_time": "2024-10-20T13:09:11",
"upload_time_iso_8601": "2024-10-20T13:09:11.845945Z",
"url": "https://files.pythonhosted.org/packages/6a/13/d7ace8f98d981be108f0def1a2f5eaf45fe75c74a48e915d3b14adb37aae/dbt_native_artifacts_parser-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f4456a32d47a6105dc7296a893ba1b31fdac5b72ed41d9ec24109188fe26284a",
"md5": "0eaa3a9b853ced8b68dc8f28f41fc69c",
"sha256": "ba9ed46b8387871f1d7dab4eb3ff924eed02daac212765e99b15868d82136b5a"
},
"downloads": -1,
"filename": "dbt_native_artifacts_parser-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "0eaa3a9b853ced8b68dc8f28f41fc69c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 4203,
"upload_time": "2024-10-20T13:09:13",
"upload_time_iso_8601": "2024-10-20T13:09:13.379291Z",
"url": "https://files.pythonhosted.org/packages/f4/45/6a32d47a6105dc7296a893ba1b31fdac5b72ed41d9ec24109188fe26284a/dbt_native_artifacts_parser-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-20 13:09:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sdebruyn",
"github_project": "dbt-native-artifacts-parser",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "dbt-native-artifacts-parser"
}