pointblank 0.8.1__py3-none-any.whl → 0.8.3__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.
- pointblank/__init__.py +2 -0
- pointblank/_constants.py +17 -0
- pointblank/_constants_translations.py +320 -0
- pointblank/_utils.py +31 -3
- pointblank/actions.py +453 -0
- pointblank/data/api-docs.txt +983 -240
- pointblank/validate.py +139 -99
- {pointblank-0.8.1.dist-info → pointblank-0.8.3.dist-info}/METADATA +3 -2
- {pointblank-0.8.1.dist-info → pointblank-0.8.3.dist-info}/RECORD +12 -11
- {pointblank-0.8.1.dist-info → pointblank-0.8.3.dist-info}/WHEEL +0 -0
- {pointblank-0.8.1.dist-info → pointblank-0.8.3.dist-info}/licenses/LICENSE +0 -0
- {pointblank-0.8.1.dist-info → pointblank-0.8.3.dist-info}/top_level.txt +0 -0
pointblank/__init__.py
CHANGED
|
@@ -9,6 +9,7 @@ except PackageNotFoundError: # pragma: no cover
|
|
|
9
9
|
__version__ = "0.0.0"
|
|
10
10
|
|
|
11
11
|
# Import objects from the module
|
|
12
|
+
from pointblank.actions import send_slack_notification
|
|
12
13
|
from pointblank.assistant import assistant
|
|
13
14
|
from pointblank.column import (
|
|
14
15
|
col,
|
|
@@ -64,4 +65,5 @@ __all__ = [
|
|
|
64
65
|
"get_validation_summary",
|
|
65
66
|
"get_column_count",
|
|
66
67
|
"get_row_count",
|
|
68
|
+
"send_slack_notification",
|
|
67
69
|
]
|
pointblank/_constants.py
CHANGED
|
@@ -76,6 +76,15 @@ COMPARISON_OPERATORS = {
|
|
|
76
76
|
"col_vals_ne": "!=",
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
COMPARISON_OPERATORS_AR = {
|
|
80
|
+
"col_vals_gt": "أكبر من",
|
|
81
|
+
"col_vals_ge": "أكبر من أو يساوي",
|
|
82
|
+
"col_vals_lt": "أصغر من",
|
|
83
|
+
"col_vals_le": "أصغر من أو يساوي",
|
|
84
|
+
"col_vals_eq": "يساوي",
|
|
85
|
+
"col_vals_ne": "لا يساوي",
|
|
86
|
+
}
|
|
87
|
+
|
|
79
88
|
ROW_BASED_VALIDATION_TYPES = [
|
|
80
89
|
"col_vals_gt",
|
|
81
90
|
"col_vals_lt",
|
|
@@ -165,6 +174,7 @@ REPORTING_LANGUAGES = [
|
|
|
165
174
|
"zh-Hant",
|
|
166
175
|
"ja",
|
|
167
176
|
"ko",
|
|
177
|
+
"vi",
|
|
168
178
|
"ru",
|
|
169
179
|
"cs",
|
|
170
180
|
"pl",
|
|
@@ -174,6 +184,13 @@ REPORTING_LANGUAGES = [
|
|
|
174
184
|
"nl",
|
|
175
185
|
"fi",
|
|
176
186
|
"is",
|
|
187
|
+
"ar",
|
|
188
|
+
"hi",
|
|
189
|
+
"el",
|
|
190
|
+
]
|
|
191
|
+
|
|
192
|
+
RTL_LANGUAGES = [
|
|
193
|
+
"ar",
|
|
177
194
|
]
|
|
178
195
|
|
|
179
196
|
SEVERITY_LEVEL_COLORS = {
|