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)
Sample Data
amundsenatlastypes provides sample data so you can populate your Atlas not only with entity definitions but also
concrete entities.
Prerequisites
pip install amundsenatlastypes[samples]
Table Sample Data
from amundsenatlastypes.schema.table.sample_data import SampleTableData
table_loader = SampleTableData()
table_loader.create()
Dashboard Sample Data
from amundsenatlastypes.schema.dashboard.sample_data import SampleDashboardData
# Fill below variables with appropriate values
table_guid = ''
user_guid = ''
loader = SampleDashboardData(table_guid, user_guid)
loader.create()
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.
Sample Data
amundsenatlastypes provides sample data so you can populate your Atlas not only with entity definitions but also
concrete entities.
Metadata
Release files for amundsenatlastypes 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| amundsenatlastypes-1.2.2.tar.gz | 15.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| amundsenatlastypes-1.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.1 kB
Release files / amundsenatlastypes-1.2.2.tar.gz
| Download URL | amundsenatlastypes-1.2.2.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75990167c281351c00ccfa67d46c09017f9e6dfd69a33539517299818974f161
|
|
BLAKE2b-256 checksum How to use checksums |
665d7a6ac87b81c330802220f06f9a9a23ef1d92c96eff9118619d969ff96db9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.7
|
Release files / amundsenatlastypes-1.2.2-py3-none-any.whl
| Download URL | amundsenatlastypes-1.2.2-py3-none-any.whl |
|---|---|
| Size | 23.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2a7be886b7bd663426d5f741b69b031e46b2fca1886b804017e6e96acbcc88d
|
|
BLAKE2b-256 checksum How to use checksums |
8f46c25e233a78321e21f5ddef9d9077be1be3e283f98667e621f72ddbbd87ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.7
|
Security for amundsenatlastypes 1.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.