Custom Amundsen Atlas data types definition
Project description
Amundsen Atlas Types
Kickstart your Apache Atlas to support Amundsen using the prebuilt functions and required entity definitions.
Installation:
The package is available on PyPi, which you can install using below.
pip install amundsenatlastypes
Usage:
Connecting to Apache Atlas:
amundsenatlastypes
uses environment variables to connect to Apache Atlas.
Following are the environment variables need to be set in order to connect to Apache Atlas.
- ATLAS_HOST [default = localhost]
- ATLAS_PORT [default = 21000]
- ATLAS_USERNAME [default = admin]
- ATLAS_PASSWORD [default = admin]
Kickstart Apache Atlas
A single python function is available that you can use to apply all required entity definitions. You can run this function as many times as you want, and it will not break any existing functionality, that means that it can also be implemented in your pipelines.
from amundsenatlastypes import Initializer
init = Initializer()
init.create_required_entities()
There also is a functionality to initiate your existing data to work accordingly with Amundsen.
To create required relations you need to set fix_existing_data=True
while calling the create_required_entities()
.
from amundsenatlastypes import Initializer
init = Initializer()
init.create_required_entities(fix_existing_data=True)
Functionality:
amundsenatlastypes
provides a number of functions that can be used separately to
implement/apply entity definitions of Apache Atlas, which are available here.
You can also simply access the individual entity definitions in JSON format by importing them from here.
Project details
Release history Release notifications | RSS feed
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
Hashes for amundsenatlastypes-0.0.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65e5ac858fabfa23ef10b19a46fc9364b307071c0f77242c15d74a13abee9ba1 |
|
MD5 | bdb3e5052fa87ffcbcb0e6b919dc29d7 |
|
BLAKE2b-256 | e0583d0a2bcad64af2076a1bcbb6ae10e19673f5549365876cc252d0a5365619 |
Hashes for amundsenatlastypes-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c464d8f26a63b659d3ff60d35159d23f0a9e44be2c77e6711573ca1eb5f23543 |
|
MD5 | a675202dcc90f04ab09392acc8ce385f |
|
BLAKE2b-256 | 0ae1266824c8066e67199a4b00a4d33831e342ca09dfd79bcca5f477616e8fb4 |