pointblank 0.9.6__py3-none-any.whl → 0.11.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.
- pointblank/__init__.py +4 -0
- pointblank/_constants.py +4 -0
- pointblank/_datascan_utils.py +65 -0
- pointblank/_utils.py +126 -0
- pointblank/_utils_html.py +40 -0
- pointblank/assistant.py +1 -3
- pointblank/cli.py +2737 -0
- pointblank/compare.py +27 -0
- pointblank/data/api-docs.txt +518 -125
- pointblank/datascan.py +318 -959
- pointblank/scan_profile.py +321 -0
- pointblank/scan_profile_stats.py +180 -0
- pointblank/schema.py +14 -3
- pointblank/validate.py +1425 -202
- {pointblank-0.9.6.dist-info → pointblank-0.11.0.dist-info}/METADATA +49 -3
- {pointblank-0.9.6.dist-info → pointblank-0.11.0.dist-info}/RECORD +20 -14
- {pointblank-0.9.6.dist-info → pointblank-0.11.0.dist-info}/WHEEL +1 -1
- pointblank-0.11.0.dist-info/entry_points.txt +2 -0
- {pointblank-0.9.6.dist-info → pointblank-0.11.0.dist-info}/licenses/LICENSE +0 -0
- {pointblank-0.9.6.dist-info → pointblank-0.11.0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pointblank
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.11.0
|
|
4
4
|
Summary: Find out if your data is what you think it is.
|
|
5
5
|
Author-email: Richard Iannone <riannone@me.com>
|
|
6
6
|
License: MIT License
|
|
@@ -43,9 +43,11 @@ License-File: LICENSE
|
|
|
43
43
|
Requires-Dist: commonmark>=0.9.1
|
|
44
44
|
Requires-Dist: importlib-metadata
|
|
45
45
|
Requires-Dist: great_tables>=0.17.0
|
|
46
|
-
Requires-Dist: narwhals>=1.
|
|
46
|
+
Requires-Dist: narwhals>=1.41.0
|
|
47
47
|
Requires-Dist: typing_extensions>=3.10.0.0
|
|
48
48
|
Requires-Dist: requests>=2.31.0
|
|
49
|
+
Requires-Dist: click>=8.0.0
|
|
50
|
+
Requires-Dist: rich>=13.0.0
|
|
49
51
|
Provides-Extra: pd
|
|
50
52
|
Requires-Dist: pandas>=2.2.3; extra == "pd"
|
|
51
53
|
Provides-Extra: pl
|
|
@@ -84,7 +86,7 @@ Dynamic: license-file
|
|
|
84
86
|
|
|
85
87
|
<div align="center">
|
|
86
88
|
|
|
87
|
-
<a href="https://posit-dev.github.io/pointblank/"><img src="https://posit-dev.github.io/pointblank/assets/pointblank_logo.svg" width="
|
|
89
|
+
<a href="https://posit-dev.github.io/pointblank/"><img src="https://posit-dev.github.io/pointblank/assets/pointblank_logo.svg" width="85%"/></a>
|
|
88
90
|
|
|
89
91
|
_Data validation made beautiful and powerful_
|
|
90
92
|
|
|
@@ -98,6 +100,7 @@ _Data validation made beautiful and powerful_
|
|
|
98
100
|
[](https://codecov.io/gh/posit-dev/pointblank)
|
|
99
101
|
[](https://www.repostatus.org/#active)
|
|
100
102
|
[](https://posit-dev.github.io/pointblank/)
|
|
103
|
+
[](https://deepwiki.com/posit-dev/pointblank)
|
|
101
104
|
|
|
102
105
|
[](https://github.com/posit-dev/pointblank/graphs/contributors)
|
|
103
106
|
[](https://discord.com/invite/YH7CybCNCQ)
|
|
@@ -232,6 +235,49 @@ validation.get_step_report(i=3).show("browser") # Get failing records from step
|
|
|
232
235
|
|
|
233
236
|
<br>
|
|
234
237
|
|
|
238
|
+
## Command Line Interface (CLI)
|
|
239
|
+
|
|
240
|
+
Pointblank includes a powerful CLI utility called `pb` that lets you run data validation workflows directly from the command line. Perfect for CI/CD pipelines, scheduled data quality checks, or quick validation tasks.
|
|
241
|
+
|
|
242
|
+
<div align="center">
|
|
243
|
+
<img src="https://posit-dev.github.io/pointblank/assets/vhs/cli-complete-workflow.gif" width="800px">
|
|
244
|
+
</div>
|
|
245
|
+
|
|
246
|
+
**Explore Your Data**
|
|
247
|
+
|
|
248
|
+
```bash
|
|
249
|
+
# Get a quick preview of your data
|
|
250
|
+
pb preview small_table
|
|
251
|
+
|
|
252
|
+
# Check for missing values
|
|
253
|
+
pb missing small_table
|
|
254
|
+
|
|
255
|
+
# Generate column summaries
|
|
256
|
+
pb scan small_table
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
**Run Essential Validations**
|
|
260
|
+
|
|
261
|
+
```bash
|
|
262
|
+
# Check for duplicate rows
|
|
263
|
+
pb validate-simple small_table --check rows-distinct
|
|
264
|
+
|
|
265
|
+
# Verify no null values
|
|
266
|
+
pb validate-simple small_table --check col-vals-not-null --column a
|
|
267
|
+
|
|
268
|
+
# Extract failing data for debugging
|
|
269
|
+
pb validate-simple small_table --check col-vals-gt --column a --value 5 --show-extract
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
**Integrate with CI/CD**
|
|
273
|
+
|
|
274
|
+
```bash
|
|
275
|
+
# Use exit codes for automation (0 = pass, 1 = fail)
|
|
276
|
+
pb validate-simple small_table --check rows-distinct && echo "✅ Quality checks passed"
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
Learn more in our [CLI documentation](https://posit-dev.github.io/pointblank/user-guide/cli.html).
|
|
280
|
+
|
|
235
281
|
## Features That Set Pointblank Apart
|
|
236
282
|
|
|
237
283
|
- **Complete validation workflow** - From data access to validation to reporting in a single pipeline
|
|
@@ -1,22 +1,27 @@
|
|
|
1
|
-
pointblank/__init__.py,sha256=
|
|
2
|
-
pointblank/_constants.py,sha256=
|
|
1
|
+
pointblank/__init__.py,sha256=3Ar2blJJ8JFLhTJ3ppYpddLZiVHKoaa47Zc8_t7c9aY,1671
|
|
2
|
+
pointblank/_constants.py,sha256=xJ4hqLeoTsu07PFGnaSRhS6S5UOGyBg1yKF4_x_Gbtk,81527
|
|
3
3
|
pointblank/_constants_docs.py,sha256=JBmtt16zTYQ-zaM4ElLExtKs-dKlnN553Ys2ML1Y1C8,2099
|
|
4
4
|
pointblank/_constants_translations.py,sha256=HXcCYmKoMjoaFv-Ym4UWv3AsIVXik2zDyAy7xvTvv0Y,186710
|
|
5
|
+
pointblank/_datascan_utils.py,sha256=EMfeabXm_ZsCUKPROB7rFhyOpjtRs8jcnZ_9nBtMyws,1750
|
|
5
6
|
pointblank/_interrogation.py,sha256=U4GQ8Ik5rP75BYBkmunBvHKwf3XvLPHcUx18JwiBQZI,89422
|
|
6
7
|
pointblank/_typing.py,sha256=aItbCbzhbzqjK3lCbL27ltRyXoAH1c3-U6xQdRzg-lU,1594
|
|
7
|
-
pointblank/_utils.py,sha256=
|
|
8
|
+
pointblank/_utils.py,sha256=ttgYKKfufsUAiEBFfmWcejLz8hm6ff88DK_rDzk7VtE,28430
|
|
8
9
|
pointblank/_utils_check_args.py,sha256=rFEc1nbCN8ftsQQWVjCNWmQ2QmUDxkfgmoJclrZeTLs,5489
|
|
9
|
-
pointblank/_utils_html.py,sha256=
|
|
10
|
+
pointblank/_utils_html.py,sha256=uJWvS9JwQVEZgwsGmScA_u_EBRND75rzUvnJPalbRVs,3731
|
|
10
11
|
pointblank/actions.py,sha256=D6o9B2_ES9PNQg9HZwREacrrt-3A5bhdrBkL1UXz__s,18281
|
|
11
|
-
pointblank/assistant.py,sha256=
|
|
12
|
+
pointblank/assistant.py,sha256=uchY9mnB_rdd5JyaMxhX0g48diLvPSWoCsRzQro7I9w,14838
|
|
13
|
+
pointblank/cli.py,sha256=cM0d3WS5ZloYHH_sSJs1L9GBaZGuiaGeCnLkSGSFuIA,116776
|
|
12
14
|
pointblank/column.py,sha256=_FJjpjv760D1p6YGgqbwmKYktouG7AJ2A9uIMYQBTYA,76560
|
|
13
|
-
pointblank/
|
|
15
|
+
pointblank/compare.py,sha256=aeCMuI5uO2ISO6c0J8duq4xjOhGCBVSEIhkjFX4dtgo,610
|
|
16
|
+
pointblank/datascan.py,sha256=GI3bEHLJSILaS0ou3rTbGGcU753-y_fXfyXKbNAqXCs,23491
|
|
14
17
|
pointblank/draft.py,sha256=cusr4fBiNncCKIOU8UwvJcvkBeBuUnqH_UfYp9dtNss,15777
|
|
15
|
-
pointblank/
|
|
18
|
+
pointblank/scan_profile.py,sha256=lZU5hlnzznDATNn9W3gNdyuFm05WDP8y1RjDJEcE5zg,10426
|
|
19
|
+
pointblank/scan_profile_stats.py,sha256=qdzoGXB-zi2hmpA4mTz6LLTqMnb-NRG9ndxU9cxS72w,4461
|
|
20
|
+
pointblank/schema.py,sha256=d93omncsV2lVbatM_QUFeCfCFA42WPZcgO_kE-ktjfU,45107
|
|
16
21
|
pointblank/tf.py,sha256=8o_8m4i01teulEe3-YYMotSNf3tImjBMInsvdjSAO5Q,8844
|
|
17
22
|
pointblank/thresholds.py,sha256=mybeLzTVdmN04NLKoV-jiSBXsWknwHO0Gox0ttVN_MU,25766
|
|
18
|
-
pointblank/validate.py,sha256=
|
|
19
|
-
pointblank/data/api-docs.txt,sha256=
|
|
23
|
+
pointblank/validate.py,sha256=V0-G40jNWB1rmbApa_sUiPEO3AWByxfPYHd6iyBCG-s,668539
|
|
24
|
+
pointblank/data/api-docs.txt,sha256=_mKEb3zuI6TR0bPNkpr5Y-GUtbB3Qv5WESR7MFuL06I,506515
|
|
20
25
|
pointblank/data/game_revenue-duckdb.zip,sha256=tKIVx48OGLYGsQPS3h5AjA2Nyq_rfEpLCjBiFUWhagU,35880
|
|
21
26
|
pointblank/data/game_revenue.zip,sha256=7c9EvHLyi93CHUd4p3dM4CZ-GucFCtXKSPxgLojL32U,33749
|
|
22
27
|
pointblank/data/global_sales-duckdb.zip,sha256=2ok_cvJ1ZuSkXnw0R6_OkKYRTWhJ-jJEMq2VYsv5fqY,1336390
|
|
@@ -26,8 +31,9 @@ pointblank/data/nycflights.zip,sha256=yVjbUaKUz2LydSdF9cABuir0VReHBBgV7shiNWSd0m
|
|
|
26
31
|
pointblank/data/polars-api-docs.txt,sha256=KGcS-BOtUs9zgpkWfXD-GFdFh4O_zjdkpX7msHjztLg,198045
|
|
27
32
|
pointblank/data/small_table-duckdb.zip,sha256=BhTaZ2CRS4-9Z1uVhOU6HggvW3XCar7etMznfENIcOc,2028
|
|
28
33
|
pointblank/data/small_table.zip,sha256=lmFb90Nb-v5X559Ikjg31YLAXuRyMkD9yLRElkXPMzQ,472
|
|
29
|
-
pointblank-0.
|
|
30
|
-
pointblank-0.
|
|
31
|
-
pointblank-0.
|
|
32
|
-
pointblank-0.
|
|
33
|
-
pointblank-0.
|
|
34
|
+
pointblank-0.11.0.dist-info/licenses/LICENSE,sha256=apLF-HWPNU7pT5bmf5KmZpD5Cklpy2u-BN_0xBoRMLY,1081
|
|
35
|
+
pointblank-0.11.0.dist-info/METADATA,sha256=SizsE02-MxToha4gOIyE5enX2lzWjwL_-RItQxqmmVc,16300
|
|
36
|
+
pointblank-0.11.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
37
|
+
pointblank-0.11.0.dist-info/entry_points.txt,sha256=GqqqOTOH8uZe22wLcvYjzpizqk_j4MNcUo2YM14ryCw,42
|
|
38
|
+
pointblank-0.11.0.dist-info/top_level.txt,sha256=-wHrS1SvV8-nhvc3w-PPYs1C1WtEc1pK-eGjubbCCKc,11
|
|
39
|
+
pointblank-0.11.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|