📄️ Python SDK Overview
The Qarion Python SDK (qarion-sdk) is the official client library for the Qarion Lightweight AI and Data Governance platform. 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.