pvw-cli 1.0.10__tar.gz → 1.0.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pvw-cli might be problematic. Click here for more details.
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/PKG-INFO +4 -4
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/README.md +3 -3
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/__init__.py +1 -1
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/entity.py +34 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/pvw_cli.egg-info/PKG-INFO +4 -4
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/pyproject.toml +1 -1
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/__main__.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/__init__.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/account.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/cli.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/collections.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/domain.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/glossary.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/health.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/insight.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/lineage.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/management.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/policystore.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/relationship.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/scan.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/search.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/share.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/types.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/unified_catalog.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/cli/workflow.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/__init__.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/_account.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/_collections.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/_domain.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/_entity.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/_glossary.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/_health.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/_insight.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/_lineage.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/_management.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/_policystore.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/_relationship.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/_scan.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/_search.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/_share.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/_types.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/_unified_catalog.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/_workflow.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/api_client.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/business_rules.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/config.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/data_quality.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/endpoint.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/endpoints.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/exceptions.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/lineage_visualization.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/monitoring_dashboard.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/rate_limiter.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/retry_handler.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/scanning_operations.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/settings.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/client/sync_client.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/plugins/__init__.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/purviewcli/plugins/plugin_system.py +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/pvw_cli.egg-info/SOURCES.txt +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/pvw_cli.egg-info/dependency_links.txt +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/pvw_cli.egg-info/entry_points.txt +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/pvw_cli.egg-info/not-zip-safe +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/pvw_cli.egg-info/requires.txt +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/pvw_cli.egg-info/top_level.txt +0 -0
- {pvw_cli-1.0.10 → pvw_cli-1.0.11}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pvw-cli
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.11
|
|
4
4
|
Summary: Microsoft Purview CLI with comprehensive automation capabilities
|
|
5
5
|
Author-email: AYOUB KEBAILI <keayoub@msn.com>
|
|
6
6
|
Maintainer-email: AYOUB KEBAILI <keayoub@msn.com>
|
|
@@ -56,7 +56,7 @@ Requires-Dist: pytest-asyncio>=0.20.0; extra == "test"
|
|
|
56
56
|
Requires-Dist: pytest-cov>=4.0.0; extra == "test"
|
|
57
57
|
Requires-Dist: requests-mock>=1.9.0; extra == "test"
|
|
58
58
|
|
|
59
|
-
# PURVIEW CLI v1.0.
|
|
59
|
+
# PURVIEW CLI v1.0.11 - Microsoft Purview Automation & Data Governance
|
|
60
60
|
|
|
61
61
|
> **LATEST UPDATE (October 2025):**
|
|
62
62
|
> - **🚀 NEW: Complete Data Product CRUD Operations** - Full update and delete support with smart partial updates
|
|
@@ -73,7 +73,7 @@ Requires-Dist: requests-mock>=1.9.0; extra == "test"
|
|
|
73
73
|
|
|
74
74
|
## What is PVW CLI?
|
|
75
75
|
|
|
76
|
-
**PVW CLI v1.0.
|
|
76
|
+
**PVW CLI v1.0.11** is a modern, full-featured command-line interface and Python library for Microsoft Purview. It enables automation and management of *all major Purview APIs* including:
|
|
77
77
|
|
|
78
78
|
- **NEW Unified Catalog (UC) Management** - Complete governance domains, glossary terms, data products, OKRs, CDEs (NEW)
|
|
79
79
|
- Entity management (create, update, bulk, import/export)
|
|
@@ -141,7 +141,7 @@ For more advanced usage, see the sections below or visit the [documentation](htt
|
|
|
141
141
|
|
|
142
142
|
## Overview
|
|
143
143
|
|
|
144
|
-
**PVW CLI v1.0.
|
|
144
|
+
**PVW CLI v1.0.11** is a modern command-line interface and Python library for Microsoft Purview, enabling:
|
|
145
145
|
|
|
146
146
|
- Advanced data catalog search and discovery
|
|
147
147
|
- Bulk import/export of entities, glossary terms, and lineage
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# PURVIEW CLI v1.0.
|
|
1
|
+
# PURVIEW CLI v1.0.11 - Microsoft Purview Automation & Data Governance
|
|
2
2
|
|
|
3
3
|
> **LATEST UPDATE (October 2025):**
|
|
4
4
|
> - **🚀 NEW: Complete Data Product CRUD Operations** - Full update and delete support with smart partial updates
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
## What is PVW CLI?
|
|
17
17
|
|
|
18
|
-
**PVW CLI v1.0.
|
|
18
|
+
**PVW CLI v1.0.11** is a modern, full-featured command-line interface and Python library for Microsoft Purview. It enables automation and management of *all major Purview APIs* including:
|
|
19
19
|
|
|
20
20
|
- **NEW Unified Catalog (UC) Management** - Complete governance domains, glossary terms, data products, OKRs, CDEs (NEW)
|
|
21
21
|
- Entity management (create, update, bulk, import/export)
|
|
@@ -83,7 +83,7 @@ For more advanced usage, see the sections below or visit the [documentation](htt
|
|
|
83
83
|
|
|
84
84
|
## Overview
|
|
85
85
|
|
|
86
|
-
**PVW CLI v1.0.
|
|
86
|
+
**PVW CLI v1.0.11** is a modern command-line interface and Python library for Microsoft Purview, enabling:
|
|
87
87
|
|
|
88
88
|
- Advanced data catalog search and discovery
|
|
89
89
|
- Bulk import/export of entities, glossary terms, and lineage
|
|
@@ -168,6 +168,40 @@ def bulk_create(ctx, payload_file):
|
|
|
168
168
|
console.print(f"[red]✗ Error executing entity bulk-create: {str(e)}[/red]")
|
|
169
169
|
|
|
170
170
|
|
|
171
|
+
@entity.command(name="bulk-update")
|
|
172
|
+
@click.option(
|
|
173
|
+
"--payload-file",
|
|
174
|
+
required=True,
|
|
175
|
+
type=click.Path(exists=True),
|
|
176
|
+
help="File path to a valid JSON document containing entities to update/create (same shape as bulk-create).",
|
|
177
|
+
)
|
|
178
|
+
@click.pass_context
|
|
179
|
+
def bulk_update(ctx, payload_file):
|
|
180
|
+
"""Bulk update/create entities from a JSON payload file (uses qualifiedName to match existing entities)."""
|
|
181
|
+
try:
|
|
182
|
+
if ctx.obj.get("mock"):
|
|
183
|
+
console.print("[yellow]🎭 Mock: entity bulk-update command[/yellow]")
|
|
184
|
+
console.print(f"[dim]Payload File: {payload_file}[/dim]")
|
|
185
|
+
console.print("[green]✓ Mock entity bulk-update completed successfully[/green]")
|
|
186
|
+
return
|
|
187
|
+
|
|
188
|
+
args = {"--payloadFile": payload_file}
|
|
189
|
+
|
|
190
|
+
from purviewcli.client._entity import Entity
|
|
191
|
+
|
|
192
|
+
entity_client = Entity()
|
|
193
|
+
result = entity_client.entityBulkCreateOrUpdate(args)
|
|
194
|
+
|
|
195
|
+
if result:
|
|
196
|
+
console.print("[green]✓ Entity bulk-update completed successfully[/green]")
|
|
197
|
+
console.print(json.dumps(result, indent=2))
|
|
198
|
+
else:
|
|
199
|
+
console.print("[yellow]⚠ Entity bulk-update completed with no result[/yellow]")
|
|
200
|
+
|
|
201
|
+
except Exception as e:
|
|
202
|
+
console.print(f"[red]✗ Error executing entity bulk-update: {str(e)}[/red]")
|
|
203
|
+
|
|
204
|
+
|
|
171
205
|
# === BULK OPERATIONS ===
|
|
172
206
|
|
|
173
207
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pvw-cli
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.11
|
|
4
4
|
Summary: Microsoft Purview CLI with comprehensive automation capabilities
|
|
5
5
|
Author-email: AYOUB KEBAILI <keayoub@msn.com>
|
|
6
6
|
Maintainer-email: AYOUB KEBAILI <keayoub@msn.com>
|
|
@@ -56,7 +56,7 @@ Requires-Dist: pytest-asyncio>=0.20.0; extra == "test"
|
|
|
56
56
|
Requires-Dist: pytest-cov>=4.0.0; extra == "test"
|
|
57
57
|
Requires-Dist: requests-mock>=1.9.0; extra == "test"
|
|
58
58
|
|
|
59
|
-
# PURVIEW CLI v1.0.
|
|
59
|
+
# PURVIEW CLI v1.0.11 - Microsoft Purview Automation & Data Governance
|
|
60
60
|
|
|
61
61
|
> **LATEST UPDATE (October 2025):**
|
|
62
62
|
> - **🚀 NEW: Complete Data Product CRUD Operations** - Full update and delete support with smart partial updates
|
|
@@ -73,7 +73,7 @@ Requires-Dist: requests-mock>=1.9.0; extra == "test"
|
|
|
73
73
|
|
|
74
74
|
## What is PVW CLI?
|
|
75
75
|
|
|
76
|
-
**PVW CLI v1.0.
|
|
76
|
+
**PVW CLI v1.0.11** is a modern, full-featured command-line interface and Python library for Microsoft Purview. It enables automation and management of *all major Purview APIs* including:
|
|
77
77
|
|
|
78
78
|
- **NEW Unified Catalog (UC) Management** - Complete governance domains, glossary terms, data products, OKRs, CDEs (NEW)
|
|
79
79
|
- Entity management (create, update, bulk, import/export)
|
|
@@ -141,7 +141,7 @@ For more advanced usage, see the sections below or visit the [documentation](htt
|
|
|
141
141
|
|
|
142
142
|
## Overview
|
|
143
143
|
|
|
144
|
-
**PVW CLI v1.0.
|
|
144
|
+
**PVW CLI v1.0.11** is a modern command-line interface and Python library for Microsoft Purview, enabling:
|
|
145
145
|
|
|
146
146
|
- Advanced data catalog search and discovery
|
|
147
147
|
- Bulk import/export of entities, glossary terms, and lineage
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|