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",
"Groups id": "Id of group(s) who interactively work with 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.4.tar.gz
(2.9 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.4.tar.gz.
File metadata
- Download URL: pvclient-0.0.4.tar.gz
- Upload date:
- Size: 2.9 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.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
607a7f9c9d35f2a8d423ebb09b8e642580b408b3d670174524c1a6207219f93d
|
|
| MD5 |
a4836388f1c4e306201248cbd3c87249
|
|
| BLAKE2b-256 |
21282184ed067868e5b3cfc3f2829fa87125199dfd9b1abcd0877a219cafca8d
|
File details
Details for the file pvclient-0.0.4-py3-none-any.whl.
File metadata
- Download URL: pvclient-0.0.4-py3-none-any.whl
- Upload date:
- Size: 7.5 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.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
398a861ba195c3c94eff01affb71ae030da0743853a72f18ae694e864b069845
|
|
| MD5 |
5c3d36bd40e0324515db833015b9d1eb
|
|
| BLAKE2b-256 |
8266a3a60cd6483fb5281e745317e04d5fedf467497397aaf43d6891a23b10b1
|