This package allows interacting with Azure Purview's REST API.
Project description
Introduction
This is a HTTP client to Purview as the complemntary of Python wrapper for Appache Atlas.
Installation
Install the package
pip install -i https://test.pypi.org/simple/ pvclient
Authentication
Create a file named as auth.json in the same directory
{
"tenant_id": "Tentant id where Purview accounts are provisioned under",
"client_id": "Client id of a service principal which is used to run the program",
"client_secret": "Client secret of a service principal which is used to run the program",
"subscription_id":"Subscription id where Purview accounts are provisioned under",
"InteractiveGroups": "Id of group(s) who interactively logs into Purview"
}
Configurations:
The content of configs.json looks like
{
"Resource-group": "Resource group name",
"location" : "location",
"Purview-account-name": "Name of Purview account"
}
Usage:
purview [-h] [--create-purview] [--assign-roles] [--delete-purview] [--create-glossary CREATE_GLOSSARY] [--list-terms] [--upload-entities]
[--import-terms IMPORT_TERMS] [--delete-term DELETE_TERM] [--delete-all-terms] [--list-term-templates]
[--import-term-templates IMPORT_TERM_TEMPLATES] [--delete-term-templates DELETE_TERM_TEMPLATES]
Interaction with Purview
optional arguments:
-h, --help show this help message and exit
--create-purview
--assign-roles
--delete-purview
--create-glossary CREATE_GLOSSARY
Create a glossary with name
--list-terms
--upload-entities
--import-terms IMPORT_TERMS
--delete-term DELETE_TERM
Delete a term from the default Glossary
--delete-all-terms Delete all terms from the default Glossary
--list-term-templates
List all term templates from the default Glossary
--import-term-templates IMPORT_TERM_TEMPLATES
Import term templates from a file to the default Glossary
--delete-term-templates DELETE_TERM_TEMPLATES
Delete all templates from a file from the default Glossary
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
pvclient-0.0.6.tar.gz
(3.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pvclient-0.0.6.tar.gz.
File metadata
- Download URL: pvclient-0.0.6.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22d25fbe4ea1cefb7821e20198d8abe66193b17f222f0adaa45bd9ea64e77fa0
|
|
| MD5 |
0a6344c1b05116ebf11990562dba642e
|
|
| BLAKE2b-256 |
86214413dd10067d00ef16bc68ceda14149657dd6c4137d6a253e1c8f9382192
|
File details
Details for the file pvclient-0.0.6-py3-none-any.whl.
File metadata
- Download URL: pvclient-0.0.6-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ae00fefebe8043946bbaa4432bf7ad6b32afd9c208d00bc409fda87247a5894
|
|
| MD5 |
eafefdba7b204d2888bf5b676af8accf
|
|
| BLAKE2b-256 |
ff466e67d3423900d37b9d7fbcd8ad1674166270bcc0d68555cca3984069ed92
|