Skip to main content

A package to load user-specified metadata models into Google Cloud Data Catalog

Project description

datacatalog-custom-model-manager

A Python package intended to load user-specified metadata models into Google Cloud Data Catalog, comprising Custom Entries, Tag Templates, and Tags.

It is powered by datacatalog-custom-entries- manager, datacatalog- tag-template-processor, and datacatalog-tag-manager, leveraging their features in the format of a single CLI.

Continuous Integration Continuous Delivery


Load Custom Model

From CSV files

  • SCHEMAS

Loading custom models from CSV requires a folder (--files-folder argument in the below commands) containing three files: entries.csv, tag_templates.csv, and tags.csv. Please refer to the following external resources for further details on their layouts:

  • SAMPLE INPUT
  1. sample-input/egeria-business-glossary for reference;
  2. Sample metadata for datacatalog-custom-model-manager (Google Sheets) might help to create/export the mandatory CSV files.
  • COMMANDS

Python + virtualenv

pip install datacatalog-custom-model-manager

datacatalog-custom-model load \
  --files-folder <CSV-FILES-PATH> \
  --project-id <YOUR-PROJECT-ID> --location-id <YOUR-LOCATION-ID> \
  [--delete-existing-tag-templates]

Docker

docker build --rm --tag datacatalog-custom-model-manager .

docker run --rm --tty \
  --volume <CREDENTIALS-FILE-FOLDER>:/credentials --volume <CSV-FILE-FOLDER>:/data \
  datacatalog-custom-model-manager load \
  --files-folder <CSV-FILES-PATH> \
  --project-id <YOUR-PROJECT-ID> --location-id <YOUR-LOCATION-ID> \
  [--delete-existing-tag-templates]

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

Built Distribution

File details

Details for the file datacatalog-custom-model-manager-0.1.0.tar.gz.

File metadata

  • Download URL: datacatalog-custom-model-manager-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.6.12

File hashes

Hashes for datacatalog-custom-model-manager-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9b218f31f441afde71b6944261ee1b87b148bb2d7bb68d24e08d8c2fc7a9bd8e
MD5 ff76c5b648032a8fad0cb0b03635bd73
BLAKE2b-256 66347097c05a36778802b965320eb0f68373d36effc5dfd1fe1fee6ff2e98cb0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: datacatalog_custom_model_manager-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.6.12

File hashes

Hashes for datacatalog_custom_model_manager-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31e62d29a939f7bb0f8949aaf72f7fbebb91050465a217130d450817b9fcdca2
MD5 8886a7a2044f27afba510e5bab8a4ac6
BLAKE2b-256 526b98178859d867c871769b2c561e4b60f34ff03c06288a1a163444342bb100

See more details on using hashes here.

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