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 -i https://test.pypi.org/simple/ 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:

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

Uploaded Source

Built Distributions

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

pvclient-0.0.7-py3.9.egg (28.9 kB view details)

Uploaded Egg

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pvclient-0.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 3837b474871a7826e6f7b3c985e86841223bfc37920b1d2d531b447624539acb
MD5 5b905af6e82a3879c35c2ec32d67606e
BLAKE2b-256 e503b0da202db8d0f023165b1fb51eb07b93f8e5fc9fc09a62c0eb1979b3a6fd

See more details on using hashes here.

File details

Details for the file pvclient-0.0.7-py3.9.egg.

File metadata

  • Download URL: pvclient-0.0.7-py3.9.egg
  • Upload date:
  • Size: 28.9 kB
  • Tags: Egg
  • 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.7-py3.9.egg
Algorithm Hash digest
SHA256 f426a7b63414942e3d5adda90460a24a084e899b9636d9d35b1da0aa45d62eeb
MD5 d4462dc56d6db09add1ee5adc1a516fb
BLAKE2b-256 4e0d8b6de80a3fcdc9adec54275776a74b6aabe92b3f1f3b734ada4d4c39c1d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pvclient-0.0.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8ce7208f2cc6bd239d676fa44ae3a8e2296a047c1b89ff65f0647986118b3fd2
MD5 6889f963988bd19fe83669c7ae0b8c73
BLAKE2b-256 1274e3b4bd62fb5b05dc9d40208f165f9a527335db7bb813edb0fc8f9b704e69

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