%global _empty_manifest_terminate_build 0 Name: python-purviewcli Version: 0.3.1 Release: 1 Summary: This package provides a command line interface to Azure Purview's REST API. License: MIT URL: https://github.com/tayganr/purviewcli Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b2/4b/865da7397d161ab307c9b70312e398ca285f43b4d063ecca9597f95d7f57/purviewcli-0.3.1.tar.gz BuildArch: noarch Requires: python3-docopt Requires: python3-requests Requires: python3-azure-identity %description # Microsoft Purview CLI This package provides a command line interface to Microsoft Purview's REST API. ![purviewcli](./doc/image/purviewcli_example.png) ## Getting Started [Getting Started](./doc/md/guide.md) - how to install, setup, and use purviewcli. ## Installation ``` pip install purviewcli ``` ## Usage ``` pv command sub-command --parameter1='value' --parameter2='value' ``` ## Parameter Types * All parameters are required by default. * Parameters enclosed with square brackets "**[ ]**" are optional. * Mutually exclusive parameters are enclosed with parens "**( )**" and separated with a pipe "**|**". * The "=<val>" indicates parameters which require an input (e.g. --parameter=<val>). Input can be specified after a space (e.g. --parameter 'value') or equal "**=**" sign (e.g. --parameter='value'). * Parameters that do not require an input are **False** by default and **True** if present (e.g. --ignoreRelationships). * The ellipsis "**...**" indicates parameters that are allowed to repeat (e.g. --guid='12345' --guid='23451' --guid='34512') ## Command Reference Control Plane (Azure Resource Manager) | Command | Surface Area | | --- | --- | | [pv management](./doc/commands/management/main.md) | `Account`, `Private Endpoint`, `Other` | Data Plane (Apache Atlas) | Command | Surface Area | | --- | --- | | [pv entity](./doc/commands/entity/main.md) | `Business Attribute`, `Business Metadata`, `Label`, `Classification`, `Entity` | | [pv glossary](./doc/commands/glossary/main.md) | `Glossary`, `Terms`, `Categories` | | [pv lineage](./doc/commands/lineage/main.md) | `Lineage` | | [pv relationship](./doc/commands/relationship/main.md) | `Relationship` | | [pv types](./doc/commands/types/main.md) | `Classification`, `Entity`, `Enum`, `Relationship`, `Struct`, `Term Template` | Data Plane (Other) | Command | Surface Area | | --- | --- | | [pv account](./doc/commands/account/main.md) | `Account`, `Collection`, `Resource Set Rule` | | [pv insight](./doc/commands/insight/main.md) | `Asset`, `Scan` | | [pv policystore](./doc/commands/policystore/main.md) | `Metadata Policies`, `Data Policies` | | [pv scan](./doc/commands/scan/main.md) | `Classification Rule`, `Credential`, `Source`, `Scan`, `Filter`, `Ruleset`, `Trigger` | | [pv search](./doc/commands/search/main.md) | `Search` | | [pv share](./doc/commands/share/main.md) | `Shares`, `Invitations`, `Mappings`, `Assets` | %package -n python3-purviewcli Summary: This package provides a command line interface to Azure Purview's REST API. Provides: python-purviewcli BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-purviewcli # Microsoft Purview CLI This package provides a command line interface to Microsoft Purview's REST API. ![purviewcli](./doc/image/purviewcli_example.png) ## Getting Started [Getting Started](./doc/md/guide.md) - how to install, setup, and use purviewcli. ## Installation ``` pip install purviewcli ``` ## Usage ``` pv command sub-command --parameter1='value' --parameter2='value' ``` ## Parameter Types * All parameters are required by default. * Parameters enclosed with square brackets "**[ ]**" are optional. * Mutually exclusive parameters are enclosed with parens "**( )**" and separated with a pipe "**|**". * The "=<val>" indicates parameters which require an input (e.g. --parameter=<val>). Input can be specified after a space (e.g. --parameter 'value') or equal "**=**" sign (e.g. --parameter='value'). * Parameters that do not require an input are **False** by default and **True** if present (e.g. --ignoreRelationships). * The ellipsis "**...**" indicates parameters that are allowed to repeat (e.g. --guid='12345' --guid='23451' --guid='34512') ## Command Reference Control Plane (Azure Resource Manager) | Command | Surface Area | | --- | --- | | [pv management](./doc/commands/management/main.md) | `Account`, `Private Endpoint`, `Other` | Data Plane (Apache Atlas) | Command | Surface Area | | --- | --- | | [pv entity](./doc/commands/entity/main.md) | `Business Attribute`, `Business Metadata`, `Label`, `Classification`, `Entity` | | [pv glossary](./doc/commands/glossary/main.md) | `Glossary`, `Terms`, `Categories` | | [pv lineage](./doc/commands/lineage/main.md) | `Lineage` | | [pv relationship](./doc/commands/relationship/main.md) | `Relationship` | | [pv types](./doc/commands/types/main.md) | `Classification`, `Entity`, `Enum`, `Relationship`, `Struct`, `Term Template` | Data Plane (Other) | Command | Surface Area | | --- | --- | | [pv account](./doc/commands/account/main.md) | `Account`, `Collection`, `Resource Set Rule` | | [pv insight](./doc/commands/insight/main.md) | `Asset`, `Scan` | | [pv policystore](./doc/commands/policystore/main.md) | `Metadata Policies`, `Data Policies` | | [pv scan](./doc/commands/scan/main.md) | `Classification Rule`, `Credential`, `Source`, `Scan`, `Filter`, `Ruleset`, `Trigger` | | [pv search](./doc/commands/search/main.md) | `Search` | | [pv share](./doc/commands/share/main.md) | `Shares`, `Invitations`, `Mappings`, `Assets` | %package help Summary: Development documents and examples for purviewcli Provides: python3-purviewcli-doc %description help # Microsoft Purview CLI This package provides a command line interface to Microsoft Purview's REST API. ![purviewcli](./doc/image/purviewcli_example.png) ## Getting Started [Getting Started](./doc/md/guide.md) - how to install, setup, and use purviewcli. ## Installation ``` pip install purviewcli ``` ## Usage ``` pv command sub-command --parameter1='value' --parameter2='value' ``` ## Parameter Types * All parameters are required by default. * Parameters enclosed with square brackets "**[ ]**" are optional. * Mutually exclusive parameters are enclosed with parens "**( )**" and separated with a pipe "**|**". * The "=<val>" indicates parameters which require an input (e.g. --parameter=<val>). Input can be specified after a space (e.g. --parameter 'value') or equal "**=**" sign (e.g. --parameter='value'). * Parameters that do not require an input are **False** by default and **True** if present (e.g. --ignoreRelationships). * The ellipsis "**...**" indicates parameters that are allowed to repeat (e.g. --guid='12345' --guid='23451' --guid='34512') ## Command Reference Control Plane (Azure Resource Manager) | Command | Surface Area | | --- | --- | | [pv management](./doc/commands/management/main.md) | `Account`, `Private Endpoint`, `Other` | Data Plane (Apache Atlas) | Command | Surface Area | | --- | --- | | [pv entity](./doc/commands/entity/main.md) | `Business Attribute`, `Business Metadata`, `Label`, `Classification`, `Entity` | | [pv glossary](./doc/commands/glossary/main.md) | `Glossary`, `Terms`, `Categories` | | [pv lineage](./doc/commands/lineage/main.md) | `Lineage` | | [pv relationship](./doc/commands/relationship/main.md) | `Relationship` | | [pv types](./doc/commands/types/main.md) | `Classification`, `Entity`, `Enum`, `Relationship`, `Struct`, `Term Template` | Data Plane (Other) | Command | Surface Area | | --- | --- | | [pv account](./doc/commands/account/main.md) | `Account`, `Collection`, `Resource Set Rule` | | [pv insight](./doc/commands/insight/main.md) | `Asset`, `Scan` | | [pv policystore](./doc/commands/policystore/main.md) | `Metadata Policies`, `Data Policies` | | [pv scan](./doc/commands/scan/main.md) | `Classification Rule`, `Credential`, `Source`, `Scan`, `Filter`, `Ruleset`, `Trigger` | | [pv search](./doc/commands/search/main.md) | `Search` | | [pv share](./doc/commands/share/main.md) | `Shares`, `Invitations`, `Mappings`, `Assets` | %prep %autosetup -n purviewcli-0.3.1 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-purviewcli -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue May 30 2023 Python_Bot - 0.3.1-1 - Package Spec generated