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.
Verity — Because 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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file verity_core-0.2.0-py3-none-win_amd64.whl.
File metadata
- Download URL: verity_core-0.2.0-py3-none-win_amd64.whl
- Upload date:
- Size: 26.5 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d2ed1553dfaa82e6eb241fba51517e82d689a3326a09d42762691c7002c66ac
|
|
| MD5 |
e163ed3395ab2b536128687a877e6bfe
|
|
| BLAKE2b-256 |
7fde943edee9d8d037aa9bdb4a5473d8f03b722fb7b9667e7bc2f4fdf5ffe424
|
File details
Details for the file verity_core-0.2.0-py3-none-manylinux_2_39_x86_64.whl.
File metadata
- Download URL: verity_core-0.2.0-py3-none-manylinux_2_39_x86_64.whl
- Upload date:
- Size: 30.1 MB
- Tags: Python 3, manylinux: glibc 2.39+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
623f0a07185de6609b168d62445f3998f7a047690eee1378160b21fbfec56d4d
|
|
| MD5 |
9854b885a23c55fe101cb1e6edea5f2c
|
|
| BLAKE2b-256 |
3d5a9fa84491372c1b6b64595aea6d63d5d89645da01d6252355eb04d0007bc4
|
File details
Details for the file verity_core-0.2.0-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: verity_core-0.2.0-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 25.0 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07f290c3abf03a221d1dfdb8c5c2eac25e52bbbeab4d602c568a68857f597bf1
|
|
| MD5 |
d13f04e0d7aef8f671ce44b4be790b15
|
|
| BLAKE2b-256 |
5ff59d6a573cf481ff4136ff8433cdb2b5e39a973b143acfdd206fea0ab60c15
|