Skip to main content

BigQuery Connector for Verity, the Governance-as-Code Data Pipeline Tool

Project description

verity-governance-as-code

The Governance-First Data Transformation Engine.
Built in Rust. Compliance as Code. Zero-Trust Compilation.

Verity addresses the structural flaws of modern data engineering in the age of RAG. In an era where a pipeline error means a PII leak into a Vector Store, "optional documentation" is no longer acceptable.

Verity refuses to compile if governance guidelines are not met.


✨ Key Features

Feature Description
Zero-Trust Compilation Governance violations are hard compile errors — no data is written before policies pass
Auto PII Masking Columns tagged policy: hash/redact/mask_email are automatically wrapped at compile time
Parallel DAG Execution Kahn's topological sort groups independent models for concurrent tokio execution
Auto-Schema Propagation Undocumented columns are detected and added to schema.yml automatically
Source Generation verity generate scans data/ and creates models/sources.yaml with smart merge
Data Quality Tests unique, not_null, row_count_anomaly, z_score_anomaly run post-materialization
Strict vs. Dev Modes strict: true blocks in CI/Prod; strict: false warns but doesn't block in Dev
Data Catalog verity docs generates a JSON-LD (DCAT + PROV-O) catalog from the manifest
Single Binary Pure Rust — cargo install, no Python venv, no cold start

🛠 Quick Start

Prerequisites: Rust stable (2024 edition)

# Install
cargo install --path verity

# Run the full pipeline
verity run

# Run a single model
verity run --select stg_users

# Static Data Lineage Analysis (pre-flight checks for PII leaks)
verity lineage --check

# Strict mode (CI/Prod)
VERITY_STRICT=true verity run

# Scan data/ and generate/merge sources.yaml
verity generate --owner "data_team" --pii

# Generate data catalog
verity docs

# Ad-hoc SQL query
verity query "SELECT * FROM stg_users LIMIT 5"

# Clean build artifacts
verity clean

📂 Examples

Example What it demonstrates
basic_rag_pipeline Multi-domain pipeline (HR, Supply Chain, Compliance) — PII masking into staging/intermediate/marts
ml_pipeline Churn prediction — versioned feature store, prediction drift monitoring, security level downgrade

📚 Documentation

Document Description
PRD Product Requirements — goals, features, success metrics
Implementation Guide Pipeline lifecycle, module map, config reference, extension how-tos
ADRs Architecture Decision Records — why key design choices were made
Sources Generation verity generate smart-merge strategy
Contributing Setup, quality gates, architecture rules, PR process

📝 Contributing

See CONTRIBUTING.md for local setup, git workflow, quality gates (format → security → zero-panic → tests), and the PR process.


VerityBecause compliance shouldn't be optional.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

verity_bigquery-0.2.0-py3-none-win_amd64.whl (2.4 MB view details)

Uploaded Python 3Windows x86-64

verity_bigquery-0.2.0-py3-none-manylinux_2_34_x86_64.whl (2.7 MB view details)

Uploaded Python 3manylinux: glibc 2.34+ x86-64

verity_bigquery-0.2.0-py3-none-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file verity_bigquery-0.2.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for verity_bigquery-0.2.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 1e022ce3ea34682566b48cdd2abb0175136b9f1ec31dfb6c8e374e0d8c0baf1b
MD5 459c469f2fe85b135426653ba6656c4e
BLAKE2b-256 adfcc157e2a5df67577df9cdc74bfb6dbb454cebef99cd4a2e1689e9bce46529

See more details on using hashes here.

File details

Details for the file verity_bigquery-0.2.0-py3-none-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for verity_bigquery-0.2.0-py3-none-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f9d0c1b95276a66707027d12a7bc84e0c13550c2b715ce87b94cc7771603fbc9
MD5 08b94e2b557aa306853ca46b2ce5e8bb
BLAKE2b-256 102f6c0e43eb5d4271e10caccce0b50efadd66b94abbe8691dabdd4a46e93a25

See more details on using hashes here.

File details

Details for the file verity_bigquery-0.2.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for verity_bigquery-0.2.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 803921f2560903dd9871c736b05247862a1da4da84b927e7dc87dd3979e20d9a
MD5 c4990d02ffe0c36fc12dc38d5712d7a3
BLAKE2b-256 c823dd920bc3c99d3a8044f4e8057bcd61cedfb93dee948467e8c257e3151217

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page