Skip to main content

A command line tool to manage supergrapch technical metadata within Apache Atlas.

Project description

Hasura DDN to Apache Atlas

This will convert a supergraph into an Apache Atlas data dictionary.

It adds several new types to Atlas including, supergraph, subgraph, query, object_type, data_connector, collection, column and field.

  • It will create lineage between the data_connectors collections and the subgraph object types.

  • It will add many relationships to help understand and navigate the components.

  • It will add a business name for each element by defaulting to a Title case version of the element's physical name.

  • It will create a glossary with categories and terms and associate them with the technical metadata elements, using Anthropic (as a starter to get a glossary off the ground)

  • It will derive technical metadata descriptions, if they don't already exist, using Anthropic.

  • It will add a data steward business data to the subgraph

There are many flags and features you can use to focus updates to specific technical metadata element types.

To get started - just run ddnatlas init to initialize your instance of Apache Atlas with the supergraph types.

Follow up with ddnatlas update to add an existing supergraph to Atlas.

General Instructions

    ____  ____  _   __   ___  ________    ___   _____
   / __ \/ __ \/ | / /  /   |/_  __/ /   /   | / ___/
  / / / / / / /  |/ /  / /| | / / / /   / /| | \__ \ 
 / /_/ / /_/ / /|  /  / ___ |/ / / /___/ ___ |___/ / 
/_____/_____/_/ |_/  /_/  |_/_/ /_____/_/  |_/____/  
                                                     

Usage: ddnatlas [OPTIONS] COMMAND [ARGS]...

  DDN Atlas CLI - A command-line tool for managing supergraph metadata within
  Apache Atlas.

  This tool provides commands to initialize configuration, update metadata,
  and download supergraph metadata from Apache Atlas.

Options:
  --version                 Show the version and exit.
  --atlas-url TEXT          Atlas URL (required if ATLAS_URL env var is not
                            set)  [required]
  --supergraph TEXT         Supergraph identifier (required if SUPERGRAPH env
                            var is not set)  [required]
  --atlas-username TEXT     Atlas username  [default: (admin or ATLAS_USERNAME
                            env var)]
  --atlas-password TEXT     Atlas password  [default: (admin or ATLAS_PASSWORD
                            env var)]
  --anthropic-api-key TEXT  Anthropic API Key
  --anthropic-uri TEXT      Anthropic API URI  [default:
                            (https://api.anthropic.com or ANTHROPIC_URI env
                            var)]
  --anthropic-version TEXT  Anthropic API Version  [default: (2023-06-01 or
                            ANTHROPIC_VERSION env var)]
  --help                    Show this message and exit.

Commands:
  dump    Download the Apache Atlas supergraph metadata.
  init    Initialize the configuration for DDN Atlas.
  update  Update the supergraph metadata in Apache Atlas.

Update Instructions

    ____  ____  _   __   ___  ________    ___   _____
   / __ \/ __ \/ | / /  /   |/_  __/ /   /   | / ___/
  / / / / / / /  |/ /  / /| | / / / /   / /| | \__ \ 
 / /_/ / /_/ / /|  /  / ___ |/ / / /___/ ___ |___/ / 
/_____/_____/_/ |_/  /_/  |_/_/ /_____/_/  |_/____/  
                                                     

Usage: ddnatlas update [OPTIONS]

  Update the supergraph metadata in Apache Atlas.

  This command allows you to update the supergraph metadata stored in Apache
  Atlas. It uses the configuration settings to connect to Atlas and update the
  specified supergraph's metadata.

Options:
  -e, --exclude TEXT  Exclude specific components from the update. Options:
                      subgraph, supergraph, entity, relationship,
                      business_metadata, glossary, data_connector, model,
                      object_type, scalar, descriptions
  -i, --include TEXT  Include specific components in the update. Options:
                      subgraph, supergraph, entity, relationship,
                      business_metadata, glossary, data_connector, model,
                      object_type, scalar, descriptions
  --help              Show this message and exit.

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

ddnatlas-0.1.4.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

ddnatlas-0.1.4-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

Details for the file ddnatlas-0.1.4.tar.gz.

File metadata

  • Download URL: ddnatlas-0.1.4.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for ddnatlas-0.1.4.tar.gz
Algorithm Hash digest
SHA256 c7cccc10381fa8b6df57938041f8d85e9caa8f23d4b802d5c0bf0320c7a41305
MD5 dc5449c0786c754231e8d184b61d9a89
BLAKE2b-256 f07a2faa7b1250915fab4ccef95f3c45fe2a279dd2ad18da6ba6a41451e17dda

See more details on using hashes here.

File details

Details for the file ddnatlas-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: ddnatlas-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 26.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for ddnatlas-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 bb8ad4cfd21dbf2f32e19818fe85fafdb99d4ad95b6177603fd5e0a23ed28651
MD5 f8df760c4f2bd19b468bdcce8587d25a
BLAKE2b-256 1e9bc5f3e842887795824d1a585fc8e274308845fb163ef435cf8759bf1b9472

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