pointblank 0.10.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pointblank
3
- Version: 0.10.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
@@ -46,6 +46,8 @@ Requires-Dist: great_tables>=0.17.0
46
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
@@ -233,6 +235,49 @@ validation.get_step_report(i=3).show("browser") # Get failing records from step
233
235
 
234
236
  <br>
235
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
+
236
281
  ## Features That Set Pointblank Apart
237
282
 
238
283
  - **Complete validation workflow** - From data access to validation to reporting in a single pipeline
@@ -10,6 +10,7 @@ pointblank/_utils_check_args.py,sha256=rFEc1nbCN8ftsQQWVjCNWmQ2QmUDxkfgmoJclrZeT
10
10
  pointblank/_utils_html.py,sha256=uJWvS9JwQVEZgwsGmScA_u_EBRND75rzUvnJPalbRVs,3731
11
11
  pointblank/actions.py,sha256=D6o9B2_ES9PNQg9HZwREacrrt-3A5bhdrBkL1UXz__s,18281
12
12
  pointblank/assistant.py,sha256=uchY9mnB_rdd5JyaMxhX0g48diLvPSWoCsRzQro7I9w,14838
13
+ pointblank/cli.py,sha256=cM0d3WS5ZloYHH_sSJs1L9GBaZGuiaGeCnLkSGSFuIA,116776
13
14
  pointblank/column.py,sha256=_FJjpjv760D1p6YGgqbwmKYktouG7AJ2A9uIMYQBTYA,76560
14
15
  pointblank/compare.py,sha256=aeCMuI5uO2ISO6c0J8duq4xjOhGCBVSEIhkjFX4dtgo,610
15
16
  pointblank/datascan.py,sha256=GI3bEHLJSILaS0ou3rTbGGcU753-y_fXfyXKbNAqXCs,23491
@@ -30,8 +31,9 @@ pointblank/data/nycflights.zip,sha256=yVjbUaKUz2LydSdF9cABuir0VReHBBgV7shiNWSd0m
30
31
  pointblank/data/polars-api-docs.txt,sha256=KGcS-BOtUs9zgpkWfXD-GFdFh4O_zjdkpX7msHjztLg,198045
31
32
  pointblank/data/small_table-duckdb.zip,sha256=BhTaZ2CRS4-9Z1uVhOU6HggvW3XCar7etMznfENIcOc,2028
32
33
  pointblank/data/small_table.zip,sha256=lmFb90Nb-v5X559Ikjg31YLAXuRyMkD9yLRElkXPMzQ,472
33
- pointblank-0.10.0.dist-info/licenses/LICENSE,sha256=apLF-HWPNU7pT5bmf5KmZpD5Cklpy2u-BN_0xBoRMLY,1081
34
- pointblank-0.10.0.dist-info/METADATA,sha256=njyUK87yIu6XZklvwFUrRulqx-IBOq9_fNAK2dpdQYA,15044
35
- pointblank-0.10.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
36
- pointblank-0.10.0.dist-info/top_level.txt,sha256=-wHrS1SvV8-nhvc3w-PPYs1C1WtEc1pK-eGjubbCCKc,11
37
- pointblank-0.10.0.dist-info/RECORD,,
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,,
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ pb = pointblank.cli:cli