duckguard 2.3.0__py3-none-any.whl → 3.0.0__py3-none-any.whl
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.
- duckguard/__init__.py +1 -1
- duckguard/checks/__init__.py +26 -0
- duckguard/checks/conditional.py +796 -0
- duckguard/checks/distributional.py +524 -0
- duckguard/checks/multicolumn.py +726 -0
- duckguard/checks/query_based.py +643 -0
- duckguard/connectors/factory.py +30 -2
- duckguard/connectors/files.py +7 -3
- duckguard/core/column.py +372 -0
- duckguard/core/dataset.py +330 -0
- duckguard/profiler/distribution_analyzer.py +384 -0
- duckguard/profiler/outlier_detector.py +497 -0
- duckguard/profiler/pattern_matcher.py +301 -0
- duckguard/profiler/quality_scorer.py +445 -0
- duckguard/rules/executor.py +642 -0
- duckguard/rules/schema.py +31 -0
- {duckguard-2.3.0.dist-info → duckguard-3.0.0.dist-info}/METADATA +120 -1
- {duckguard-2.3.0.dist-info → duckguard-3.0.0.dist-info}/RECORD +21 -12
- {duckguard-2.3.0.dist-info → duckguard-3.0.0.dist-info}/WHEEL +0 -0
- {duckguard-2.3.0.dist-info → duckguard-3.0.0.dist-info}/entry_points.txt +0 -0
- {duckguard-2.3.0.dist-info → duckguard-3.0.0.dist-info}/licenses/LICENSE +0 -0
duckguard/__init__.py
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"""Advanced check implementations for DuckGuard 3.0.
|
|
2
|
+
|
|
3
|
+
This package contains specialized check handlers for:
|
|
4
|
+
- Conditional checks (when clause)
|
|
5
|
+
- Multi-column checks (cross-column validation)
|
|
6
|
+
- Query-based checks (custom SQL)
|
|
7
|
+
- Distributional checks (statistical tests)
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
from __future__ import annotations
|
|
11
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
"ConditionalCheckHandler",
|
|
14
|
+
"QueryValidator",
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
# Lazy imports to avoid circular dependencies
|
|
18
|
+
def __getattr__(name: str):
|
|
19
|
+
"""Lazy import check modules."""
|
|
20
|
+
if name == "ConditionalCheckHandler":
|
|
21
|
+
from duckguard.checks.conditional import ConditionalCheckHandler
|
|
22
|
+
return ConditionalCheckHandler
|
|
23
|
+
elif name == "QueryValidator":
|
|
24
|
+
from duckguard.checks.conditional import QueryValidator
|
|
25
|
+
return QueryValidator
|
|
26
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|