Skip to main content

This package contains all the utils and functions that are used in the DOP framework.

Project description

DOP Library

This package contains all the utils and functions that are used in the DOP framework.

run_results_to_bq

Takes a run_results.json file from either local storage or GCS and uploads it to a BigQuery table using the included run_results table schema.

It is important that the run_results table is created according to this schema. If the schema doesn't match, the insertion might fail silently.

from dop_library import run_results_to_bq

run_results_to_bq(
    run_results_path='gs://dbt-data/artifacts/run_results.csv',
    dest_dataset_id='dop_test',
    dest_table_id='run_results',
)

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

dop_library_dinigo-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dop_library_dinigo-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file dop_library_dinigo-0.1.0.tar.gz.

File metadata

  • Download URL: dop_library_dinigo-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.19.0

File hashes

Hashes for dop_library_dinigo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8a0d1639625992a871170fc84f2f55b98b6e588480e242144a75d5df09b1472d
MD5 7c930aba34ebb7e81143c8a64f387e5e
BLAKE2b-256 c6a3bf734fbe089621c835d7d8ada44f6878cbe4bddf3bafb7aafd518be13a01

See more details on using hashes here.

File details

Details for the file dop_library_dinigo-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dop_library_dinigo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00e9f7643071ebb23e7457fdc10aa7226a97ad84798598697a72fe1baf10d6ae
MD5 3ba3edd7751ff41853b539e58728a414
BLAKE2b-256 1562ca534b4a0834e2bf039e2661f8795cee2e943289ed4f87d4709012bfe9f1

See more details on using hashes here.

Supported by

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