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
Built Distribution
File details
Details for the file purview_py-0.0.10.tar.gz
.
File metadata
- Download URL: purview_py-0.0.10.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b45578e85124c9ab0cbd49fbf69ed288ade116d9bef0d1ba9ab57bcc447d95f2 |
|
MD5 | a6be968ab9b137673c83baf19c977144 |
|
BLAKE2b-256 | 825d8f63d72beca4946ba93caeee903b1f807bb7ad8cdc8ae996cb3ac7427a84 |
File details
Details for the file purview_py-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: purview_py-0.0.10-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0207509d104ba1b7bf893397bd25aad72a61c0af20c4895ae5a97a8d03501240 |
|
MD5 | 41f04df3422b913a832157d08ad3243b |
|
BLAKE2b-256 | 1004115b3e82f7307bf4443c56f88a6f67ea8204e728a56743b32ecfce66454f |