Python wrapper for MSFT Purview and Apache Atlas APIs
Project description
Purview Python
Description
This package is meant to act as a wrapper for the MSFT Purview (and Apache Atlas) APIs. It is currently in development by Spydernaz. To set up a development instance in Apache Atlas, you can see this repo here
Installation
This package runs on python3 and above. To install run
pip3 install purview_py
Configuration
Describe the config Steps
Example Usage
The follow code will connect to your purview instance and fetch the hive_table
type. From here you could modify some details and then update your server as shown in the second part of this snippet
import purview_py
# Your configuration
CLIENT_ID = __YOUR_CLIENT_ID__
CLIENT_SECRET = __YOUR_CLIENT_SECRET__
TENANT_ID = __YOUR_TENANT_ID__
resource =__YOUR_RESOURCE__
# Create a connection to your resource
conn = purview_py.PurviewConnection(resource, purview_py.TokenAuth(CLIENT_ID, CLIENT_SECRET, TENANT_ID))
# Fetch the hive_table type
t = purview_py.PurviewType.getTypeByName(conn, "hive_table")
# Add some new attributes to the type
# Update the Type in Purview
Docs
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
purview_py-0.0.10.tar.gz
(6.6 kB
view hashes)
Built Distribution
Close
Hashes for purview_py-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0207509d104ba1b7bf893397bd25aad72a61c0af20c4895ae5a97a8d03501240 |
|
MD5 | 41f04df3422b913a832157d08ad3243b |
|
BLAKE2b-256 | 1004115b3e82f7307bf4443c56f88a6f67ea8204e728a56743b32ecfce66454f |