Skip to main content

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 --upgrade pvclient

then it will be uninstalled with

pip uninstall pvclient

Authentication

Set the following environment variables:

  • TENANT_ID =
  • CLIENT_ID =
  • CLIENT_SECRET =
  • SUBSCRIPTION_ID =
  • INTERACTIVEGROUPS=<Id of group(s) who interactively logs into Purview>

Configurations:

Set the following environment variables:

  • RESOURCE_GROUP =
  • LOCATION =
  • PURVIEW_ACCOUNT_NAME=<Purview account to be created/modified >

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.10.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pvclient-0.0.10-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file pvclient-0.0.10.tar.gz.

File metadata

  • Download URL: pvclient-0.0.10.tar.gz
  • Upload date:
  • Size: 7.5 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

Hashes for pvclient-0.0.10.tar.gz
Algorithm Hash digest
SHA256 09b5451282ce3eee70705d3b9b011686b4386401a77dd343620ff3c1857c523c
MD5 fe02315720011cba7b111aa925dcc89e
BLAKE2b-256 9f7a7fea4f9fe6e5f54250ef6fa27aef3fbfbda4bfb0c94e290e68a94d482b7a

See more details on using hashes here.

File details

Details for the file pvclient-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: pvclient-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 8.2 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

Hashes for pvclient-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 646f04d6c8c4936e7a0f8c5b397db36ce78eee43a6ada786e4bfd29e284f7932
MD5 9df19d1c944b37dcd6ba3f6d3e410605
BLAKE2b-256 a6cc740e5818e2baaccd53d5d2a68b0055bb4e2fa21e99e31fe10a3e64e850ae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page