🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

datacatalog-custom-model-manager

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datacatalog-custom-model-manager

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

pipPyPI
Version
0.1.1
Maintainers
1

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:

FILELAYOUT DOCUMENTATION
entries.csvdatacatalog-custom-entries-manager README
tag_templates.csvdatacatalog-tag-template-processor README
tags.csvdatacatalog-tag-manager README
  • SAMPLE INPUT
  • 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]

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts