📄️ Python SDK Overview
The Qarion Python SDK (qarion-sdk) is the official client library for Qarion — The Data Control Pane for AI and data governance. It provides a clean, typed interface around the Qarion REST API so you can manage data products, quality checks, connectors, issues, and alerts from Python code.
📄️ Installation & Configuration
Installation
📄️ Products
The Products resource (client.products) provides full CRUD operations on data products in the Qarion catalog, along with refresh tracking and lineage management.
📄️ Quality Checks
The Quality resource (client.quality) lets you manage quality checks, trigger executions, push external results, and retrieve statistics.
📄️ Connectors
The Connectors resource (client.connectors) manages data connectors that bridge external data sources to the Qarion catalog for automated metadata scraping.
📄️ Spaces
The Spaces resource (client.spaces) provides read-only access to governance spaces. Spaces are tenancy boundaries that scope products, checks, connectors, and other resources.
📄️ Issues
The Issues resource (client.issues) provides ticket management for tracking data quality incidents, governance tasks, and operational problems.
📄️ Alerts
The SDK provides two alert resources:
📄️ Error Handling
All SDK exceptions inherit from QarionError and carry structured information about the failure.
📄️ Search
The Search resource (client.search) provides multi-entity discovery across the Qarion platform. You can search within a single space or across all spaces in an organization. Results span products, issues, meetings, connectors, source systems, contracts, users, and comments — all returned in a unified SearchResult model with a type discriminator.
📄️ Data Models
All API responses are parsed into typed Pydantic models. Every model uses extra="allow" so that new fields from the API are preserved without breaking existing code.
📄️ Recertification
The Recertification resource (client.recertification) manages recertification cycles and audit reviews programmatically.
📄️ Marketplace
The Marketplace resource (client.marketplace) lets you browse, publish, rate, and manage marketplace listings programmatically.
📄️ Lineage
The Lineage resource (client.lineage) provides methods for querying and managing data lineage relationships, including cross-space connections and impact analysis.
📄️ Domains
The Domains resource (client.domains) provides methods for managing data domains — logical groupings of data products by business function.
📄️ DSR Operations
Submit, track, and manage Data Subject Requests via the Qarion SDK.
📄️ Master Data
Create, manage, and version reference datasets via the Qarion SDK.
📄️ AI Features
Use AI description generation and Copilot interactions via the Qarion SDK.