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
Modular Architecture Decoupled Core engine and Cloud Connectors (BigQuery, etc.) for minimalist deployments
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
Enterprise Distribution Native Rust binaries distributed via PyPI, Homebrew, and Docker

🛠 Quick Start

1. Enterprise Installation (Recommended)

Verity is distributed as a high-performance Rust binary, but can be seamlessly installed via Python package managers (like uv or pip) to simplify orchestration in Airflow, dbt Cloud, or GitHub Actions.

# Install the core engine and the BigQuery connector in one command
uv add "verity-core[bigquery]"

# Or via standard pip
pip install "verity-core[bigquery]"

Note: Using the [bigquery] extra ensures the Core and Connector versions are perfectly aligned via JSON-RPC.

2. Native Installation (Mac/Linux)

curl -sSL https://raw.githubusercontent.com/axel-mauroy/verity-governance-as-code/main/install.sh | bash

🚀 Usage

Once installed, use the verity CLI to manage your data lifecycle:

# Initialize a new project
verity init my_governed_project

# 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"

📂 Examples

Example What it demonstrates
basic_rag_pipeline Multi-domain pipeline (HR, Supply Chain, Compliance) — PII masking
ml_pipeline Churn prediction — versioned feature store, prediction drift monitoring

📚 Documentation

Document Description
Deployment Patterns Cloud, Airflow, and K8s orchestration guide
PRD Product Requirements — goals, features, success metrics
Implementation Guide Pipeline lifecycle, module map, config reference
ADRs Architecture Decision Records — why key design choices were made
Contributing Setup, quality gates, architecture rules, 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.2-py3-none-win_amd64.whl (2.4 MB view details)

Uploaded Python 3Windows x86-64

verity_bigquery-0.2.2-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.2-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.2-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for verity_bigquery-0.2.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7342d568a3e089194f94913e7fa46d55f240a5e86bea64da5f810b2244e979bf
MD5 59cb5f10618e78e89262f0091fb4a803
BLAKE2b-256 1b0005cef72088d16e1b7c76bf629a9f16e3e1cb1560802c6e85ab3eb0706bc7

See more details on using hashes here.

Provenance

The following attestation bundles were made for verity_bigquery-0.2.2-py3-none-win_amd64.whl:

Publisher: cd.yml on axel-mauroy/verity-governance-as-code

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for verity_bigquery-0.2.2-py3-none-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 8ed0b0feb16e42fd923eae1b9f733b64342c71c3cca076fb57332813b67fe729
MD5 378c428819a94934efa11ab83aaf87ea
BLAKE2b-256 65390ea2f4cf4770b0cd28600926f6d095ff7d60b2a295bd3e2c08a944133bc2

See more details on using hashes here.

Provenance

The following attestation bundles were made for verity_bigquery-0.2.2-py3-none-manylinux_2_34_x86_64.whl:

Publisher: cd.yml on axel-mauroy/verity-governance-as-code

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for verity_bigquery-0.2.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1c165289636bab1bd705cb171131ed7eb94bc941a4191f7e4c8712c111ed1b54
MD5 16dbbca0169464f73bf8430abaae4043
BLAKE2b-256 5026e370c20578fb8749767c4a84fd1ff7a35536a434d4203d62f66dbd2d74f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for verity_bigquery-0.2.2-py3-none-macosx_11_0_arm64.whl:

Publisher: cd.yml on axel-mauroy/verity-governance-as-code

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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